A Telegram/X bot + web dashboard that lets users collaboratively manage DeFi portfolios via natural language, powered by autonomous AI agents.
This project is a collaborative DeFi management platform that merges automated AI agents with human strategy in a natural-language interface. It combines a Telegram and X bot with a web dashboard, allowing users to deposit, withdraw, and trade tokens across their favorite exchanges seamlessly. At its core, the system leverages a state channels hub for rapid, secure, and cost-efficient on-chain transactions. Autonomous AI agents—built using the @ai16z/eliza framework—interpret user commands, manage conversation context, and guide investment decisions. The platform not only logs conversational history and strategic inputs but also enables community voting on investment strategies, ensuring a transparent and dynamic approach to portfolio management.
The project is built using a mix of modern web, messaging, and blockchain technologies:
Bots & Messaging: The Telegram and X bots are developed with Node.js using the grammy framework. They communicate with users via natural language commands and are integrated with webhooks (tunneled securely via Ngrok) for real-time interactions.
AI & Conversation Management: We use the @ai16z/eliza framework to power autonomous AI agents. These agents maintain conversational context through a custom memory system that stores user interactions as embeddings in an SQLite database. Dynamic templates—sourced from a character.json configuration—ensure that responses reflect the project’s personality.
Web Dashboard: The browser-based dashboard (built with modern frontend technologies like React) provides an intuitive interface for viewing portfolio data, managing tokens, and participating in collaborative strategy sessions.