project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Interact

Automated real-world actions that let you turn crypto into real-world things, through AI agents.

Interact

Created At

ETHGlobal Prague

Winner of

Flare Network

Flare Network - BONUS TRACK: external data source or cross chain application

Project Description

Our project is an automated real world actions platform that lets you seamlessly convert your crypto into real world purchases and services through AI powered agents ๐Ÿค–. Using blockchain based escrows and smart contracts, we ensure trustless, verifiable payment flows directly on chain ๐Ÿ”—, while offloading the final real world execution to AI agents that act as human proxies ๐Ÿ› ๏ธ.

Hereโ€™s how it works:

๐Ÿ’ธ Fiat Off-Ramp Automation: Users fund a secure escrow contract on a blockchain (Hedera, Flare, Flow) ๐ŸŒ. The system uses a dual attestation workflow:

โœ… Users create tasks and deposit funds in native tokens (HBAR, FLR, FLOW). โœ… Agents complete the task (e.g., ordering food, booking flights, shopping Amazon) in the real world using virtual credit cards (VCCs) or payment APIs ๐Ÿ’ณ. โœ… Users verify the completed task or let a time based fallback pay the agent if they donโ€™t verify in time โณ.

๐Ÿค– AI Powered Agents: Our browser based AI agents interpret user tasks, interact with e-commerce sites ๐Ÿ›’, and execute purchases like any human would automating the friction in using crypto for real-world actions ๐ŸŒ. For example, you can have the agent:

๐Ÿ• Order your favorite pizza via Wolt. โœˆ๏ธ Book flights directly from online travel platforms. ๐Ÿ›๏ธ Shop for household goods on Amazon.

๐Ÿ” Security and Escrow Contracts: We leverage multi chain smart contracts that hold funds in escrow until the agent finishes the task ๐Ÿ›ก๏ธ. The agent (or user) can claim payment under clear on-chain rules:

โณ If no agent completes the task within 7 days, the user can cancel for a full refund ๐Ÿ’ฐ. ๐Ÿ•’ If the agent finishes but the user doesnโ€™t verify within 3 days, the agent can claim the funds directly. ๐Ÿ’ธ Direct payouts (no intermediaries) send funds straight to user or agent wallets ๐Ÿ’ผ.

๐Ÿš€ Onboarding and Flow: โœ… Deposit Funds: Users connect wallets, deposit the required amount in the appropriate blockchainโ€™s token, and lock it in escrow ๐Ÿ”’. โœ… Start AI Agent: Once funds are secured, an AI agent is assigned ๐Ÿค. โœ… Agent Completes Task: Via a websocket based real time log view, users can watch their agent executing the task ๐Ÿ“บ. โœ… Verify and Pay: After completion, users verify the job on-chain and release the escrowed payment to the agent ๐Ÿ’ธ.

๐ŸŒ Multi-Chain & Decentralized: The system currently supports Hedera (testnet), Flare, and Flow mainnets each with deployed TaskEscrow contracts ๐Ÿ”—. Users can choose which chain to transact on, opening up flexibility and tapping into different ecosystems ๐ŸŒ€.

๐Ÿ“ฆ Example Use Cases: ๐Ÿ” Order food delivery to your home and pay with crypto. ๐Ÿ›ซ Book and pay for your next flight entirely with your crypto wallet. ๐Ÿ“ฆ Purchase anything from Amazon using your tokens, automatically fulfilled by the AI agent.

๐Ÿ’ก Key Differentiator: We take your crypto from the blockchain to real world goods and services automatically ๐Ÿ’ฅ โ€œautomated real world actions that let you turn crypto into real world things.โ€ Unlike traditional fiat off-ramps, our AI agent + escrow system removes the friction of onboarding, compliance hurdles, or third party fiat providers delivering a new paradigm for using crypto ๐ŸŒ.

How it's Made

This project combines blockchain, AI, and browser automation to create a seamless fiat off-ramp for crypto payments. Hereโ€™s the full breakdown:

๐Ÿ”— Multi-Chain Smart Contracts & Escrow

โœ… We wrote a TaskEscrow contract in Solidity that lives on Hedera Testnet, Flare Mainnet, and Flow Mainnet (EVM side).

๐Ÿ’ฐ Users deposit tokens into this contract to create a task.

๐Ÿ“ฆ The contract stores task details (like user, agent, amount, status, timestamps) and securely holds funds in escrow.

๐Ÿ› ๏ธ We leveraged Hardhat for contract deployment, testing, and cross chain verification.

๐Ÿ”’ The dual attestation model (user + agent) ensures payment safety and fairness, with built in timeouts for fallback scenarios.

๐Ÿง  AI Agent and Browser Automation

๐Ÿ’ป The agent backend is built with FastAPI, using WebSockets (/ws/agent) to provide a live, bidirectional channel for real time updates to the frontend.

๐Ÿงฉ We use LangChainโ€™s ChatOpenAI (langchain_openai.ChatOpenAI) to inject LLM reasoning and dynamic adaptability into each task. The LLM helps interpret, plan, and execute the userโ€™s request, working alongside human like automation flows.

๐Ÿ–ฅ๏ธ Browser automation (via the browser_use library) is orchestrated by the Agent and Controller classes. The agent autonomously fills out forms, clicks buttons, and navigates purchase flows, while sending logs (via an on_step_start hook) back to the user in real-time.

๐Ÿ“ Jinja2 based templates (foodTemplate, flightTemplate) generate context aware task prompts for the LLM, tailored for each type of real world action (ordering food vs. booking flights).

โšก The entire agent process is asynchronous (using asyncio), ensuring fast, non-blocking updates and scalable concurrency.

๐Ÿ”ง dotenv loads configuration and environment variables, while uvicorn serves the FastAPI app as a lightweight ASGI server.

๐Ÿš€ The result: an LLM-powered AI agent that turns user prompts into automated real world actions, seamlessly bridging crypto on-chain payments with real world services.

๐Ÿช„ Frontend Real-Time Logs & Agent Control

๐ŸŒ Built with Next.js and React for a responsive, multi page flow (wallet connection, deposit, agent logs, order complete).

๐Ÿ”Œ The WebSocket connection streams real time logs from the backend agent to the frontend so users can watch their task progress.

๐Ÿ“Š Agent status indicators (running, completed, error) dynamically update the UI.

๐ŸŽจ We used shadcn/ui for clean, modern UI components, and dynamic theming to match the blockchain selected (e.g., Hedera vs. Flare colors).

๐Ÿ’ก Hacky but Effective

๐Ÿ’ณ To bypass traditional fiat off-ramp restrictions, we let the agent itself hold and spend fiat funds (via VCCs) on behalf of the user, sidestepping direct crypto to fiat conversions. This system reduces a long pain and cause of friction in the ecosystem with utilizing crypto to purchase real world things.

๐Ÿ—ƒ๏ธ The agent is stateless โ€” task data is stored in localStorage on the frontend, and agents pull it live via WebSocket. This avoids writing a persistent backend database, keeping the system lightweight.

๐ŸŽฏ What Partner Tech Helped

๐Ÿ“ˆ Flareโ€™s built in FTSO price feeds let us calculate real time token to USD conversion, making it easy to show fiat values for crypto deposits.

๐ŸŒ Hedera & Flow gave us a cheap and fast environment to iterate rapidly on EVM compliant smart contract design.

โœจ This project is a true full stack blend of blockchain, real time browser automation, and AI driven actions automating the conversion of crypto to real world services.

background image mobile

Join the mailing list

Get the latest news and updates