
BROtonomous
BROtonomous is an on-chain autonomous agent built on top of the CDP Agentkit, but converted from Python to TypeScript with Vercel AI SDK.
Demo
About
- Migrated the Python-based CDP Agentkit to TypeScript, ensuring full compatibility with the Vercel AI SDK for seamless integration. - Developed an autonomous AI agent capable of receiving an initial goal and iteratively working towards its achievement indefinitely, adapting and improving as it progresses. - Implemented dual interfaces via Telegram and HTTP API, enabling users to monitor and manage the agent's task progress in real-time.
How it's made
We built BROtonomous as an autonomous agent capable of performing on-chain operations like transfers, trading, and balance checks using the Coinbase Developer Platform. It also integrates with social media (Twitter) and a Telegram bot for real-time monitoring and control. The backend architecture leverages GPT-4 for autonomous decision-making and task planning, combined with the Elysia server for web-based progress tracking. The project requires a Bun runtime environment, a Coinbase wallet, OpenAI API, Telegram bot credentials, and Twitter API keys. It features a custom state management system and provides user interaction via both a web interface and Telegram commands for task creation and progress updates. The development stack includes TypeScript for codebase consistency, and dependencies are managed with Bun, ensuring a lightweight runtime environment. By combining these technologies, I created a versatile system that merges autonomous operations, blockchain technology, and user-friendly monitoring tools.