Agentic, cross-chain DeFi portfolio manager using natural language to abstract Web3 complexity.
Our project is an AI-powered abstraction layer for Web3, designed specifically to onboard the next 100 million users into decentralized finance (DeFi). Recognizing that the majority of future Web3 adopters won't be blockchain natives, we've built a familiar, intuitive experience that relies entirely on natural language. Users simply type everyday commands like, "Invest $500 in the highest yielding stablecoin," or "Rebalance my holdings to 60% ETH and 40% BTC," and our AI handles the rest—automatically translating these conversational requests into complex multi-chain blockchain operations. there are also loads of web2 crossover functionality like twitter integrations, personality module and more!
Under the hood, the system intelligently orchestrates transactions using Curvegrid MultiBaas, providing effortless cross-chain functionality without exposing complexity to users. Additionally, by integrating Nodit's advanced blockchain and market analytics, we deliver real-time insights into balances, historical transactions, token performance, and yield opportunities across Base, Polygon, and BNB Chain. This rich data allows our AI to make informed, optimal decisions and provides users with transparent visibility into their portfolios.
The result is a uniquely accessible yet sophisticated DeFi platform, perfectly balancing ease of use for newcomers with powerful capabilities desired by seasoned Web3 veterans.
I built the DeFi Portfolio Pilot by combining several powerful modern technologies into a cohesive, full-stack application:
Frontend: React and Tailwind CSS power an intuitive and responsive user interface.
Shadcn UI components (built on Radix UI) enhance the UX with smooth, accessible interactions.
wagmi for seamless wallet integration and blockchain connectivity across Base, Polygon, and BNB chains.
Backend: A robust API server built with Fastify (Node.js), backed by a PostgreSQL database using Drizzle ORM for simplified migrations and schema management.
Curvegrid MultiBaas for interacting with smart contracts, performing transactions, token swaps, bridging, and yield-farming operations without managing low-level blockchain complexity.
Nodit API provides essential data—user balances, transaction history, and live market information—feeding the analytics displayed to users and enabling smarter, data-driven decisions.
AI Integration: OpenAI's GPT-4 API is used to interpret users' natural language commands. The system is designed to understand complex investment intentions and translate them into structured blockchain transactions.
We created a custom agent orchestrator ("text-to-tool" pattern), allowing the AI to intelligently choose the correct blockchain operation based on context provided by user instructions and Nodit’s real-time blockchain data.
Partner Technologies: Curvegrid MultiBaas allowed us to integrate multiple chains (Base, Polygon, BNB) with minimal setup, greatly simplifying on-chain operations and reducing development complexity.
Nodit provided comprehensive blockchain analytics, significantly enhancing the capabilities of our AI decision-making and enabling real-time and historical portfolio insights.
Hacky & Notable Solutions: A key "hack" is the seamless integration of GPT-4 with MultiBaas and Nodit. We crafted a modular AI-wrapper that dynamically routes natural language commands into precise on-chain transactions and data queries, effectively building a "DeFi co-pilot" that feels intuitive yet powerful.
Our orchestration logic allows the AI to chain together multiple API calls dynamically (e.g., checking balance via Nodit, then swapping tokens and bridging via MultiBaas), offering a sophisticated, automated DeFi investment experience.
Overall, the tight integration of AI-powered language processing, multi-chain blockchain operations, and robust data analytics results in a unique, powerful DeFi portfolio manager that stands apart from typical decentralized finance applications.