Envio Pilot: AI-powered Set & Forget" DeFi. Automate DCA/trades via MetaMask Advanced Permissions and Envio indexing. The future of autonomous, conversational Web3 trading.
The AI-Powered "Set & Forget" On-Chain Co-Pilot
Live Application: https://envio-pilot-9gv6rrmvh-smartdevs17s-projects.vercel.app
Envio Pilot is an AI-powered DeFi automation layer that simplifies on-chain trading into a "Set & Forget" experience. By combining natural language processing with MetaMask’s Advanced Permissions (ERC-7715) and Envio’s real-time indexing, it removes the UX friction of constant transaction signing and manual data tracking.
DeFi today is burdened by "confirmation fatigue." Every swap, grant, or adjustment requires a manual wallet signature, and tracking transaction history across indices is often slow. This creates a high barrier for non-technical users and a tedious experience for power users.
Envio Pilot introduces an autonomous AI Agent that acts as your personal on-chain navigator.
Users grant a one-time "Pilot License" (periodic allowance) to a secure session account. This allows the AI to execute trades (like weekly DCA) automatically within your set limits, without you ever clicking "Confirm" again.
Requesting Permissions (Code): Using erc7715ProviderActions to request periodic native token allowances.
Redeeming Permissions (Code): Using erc7710BundlerActions and sendUserOperationWithDelegation to execute trades using granted permissions.
The platform uses Envio’s hyper-fast indexing to give the AI Agent real-time "sight." The AI instantly knows your active permissions, recent trade history, and DCA status, providing a conversational interface for blockchain data.
Indexer Configuration (Code): Real-time event indexing for PermissionGranted, TradeExecuted, and
DCAOrderCreated.
AI Envio Query Service (Code): Seamless integration between the AI Agent and cached Envio data.
🤖 Natural Language Queries: Ask "What are my active permissions?" or "How much did I trade last week?" in plain English.
💸 Automated DCA: Set up complex, time-based investment strategies through simple chat commands.
🔐 Set & Forget Security: Maintain full control over your funds while delegating execution to a permission-restricted session account.
📊 Real-Time Visibility: Instant UI updates and AI feedback powered by real-time event indexing.
During the hackathon, we evolved a basic scaffold into a fully functional AI-powered DeFi automation agent. We built an AI-driven natural language layer that translates user intent into blockchain queries and smart contract executions, enabling seamless interaction with DeFi protocols. We integrated MetaMask’s Advanced Permissions using ERC-7715 to support unattended trading through session accounts, which powers our “Set & Forget” dollar-cost averaging (DCA) feature. To support real-time visibility and automation, we developed a custom Envio indexing layer from scratch to track key on-chain events such as permission grants, trade executions, and DCA order creation. In parallel, we implemented a DCA automation engine capable of scheduling and executing periodic trades based on AI-generated commands. On the frontend, we carried out a complete UX rebrand, delivering a premium, responsive interface with high-impact statistics and live status indicators. Finally, we validated the entire system by deploying the frontend to Vercel and the indexer to a development endpoint, successfully verifying the full end-to-end flow from natural language input to on-chain execution and indexed events.
None Available