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

DeFi Guru

DeFi Guru - Manages your money wisely. A DeFi Portfolio Manager to Create, Manage, and Promote Your Crypto Assets

DeFi Guru

Created At

Agentic Ethereum

Winner of

Coinbase

Coinbase Developer Platform - AgentKit Pool Prize

Prize Pool

Project Description

Project Description: This project is a user-centric, AI-powered assistant designed to simplify blockchain operations and social media engagement into a single, intuitive experience. It empowers users—especially those new to blockchain—to effortlessly create, manage, and promote decentralized projects (like tokens, NFTs, or liquidity pools) while seamlessly integrating social media actions to amplify their reach, all without requiring technical expertise.

Core Functionality:

Users can perform complex DeFi tasks in plain language, such as: Creating tokens: Mint custom ERC20 tokens with personalized names, symbols, and supply, eliminating coding or smart contract knowledge. Managing liquidity: Add funds to existing pools, create new trading pairs, or approve token spending for DeFi protocols (e.g., decentralized exchanges like Uniswap). Automating transactions: Execute asset transfers, DeFi deposits/withdrawals, or interact with price oracles for real-time data. The AI handles all technical steps (contract deployment, gas fee calculations, approvals) in the background, guiding users with clear confirmations. Twitter Integration for Instant Visibility:

The AI acts as a personal social media manager for blockchain projects. After creating a token or executing a transaction, users can: Instantly promote their project: Tweet announcements like “I just launched $MYTOKEN!” or share real-time updates (e.g., liquidity pool metrics, NFT drops) directly from the same interface. Engage audiences: Search trending crypto topics, respond to tweets, or delete accidental posts without manually navigating Twitter’s tools. Zero setup friction: Users never handle API keys. The AI generates a one-click authorization link, mimicking familiar OAuth flows (e.g., “Sign in with X”) to securely connect their Twitter account in seconds. Why This Integration Matters: Blockchain projects live or die by community engagement. Traditional workflows force creators to juggle multiple tools: deploy a token on one platform, manage liquidity on another, then manually craft tweets to promote it—a time-consuming and disjointed process.

This project eliminates those barriers: Create + Promote in One Step: A user can launch a token and blast a promotional tweet in seconds, ensuring their project gains immediate traction. No Code, No Complexity: The AI writes the tweet copy (e.g., auto-generating hashtags like #DeFi or #ERC20), handles tagging, and schedules posts based on optimal engagement times. Trust Through Automation: Confirmation safeguards (e.g., “Yes, please post this tweet”) prevent accidental actions, while the AI verifies tasks (e.g., ensuring a liquidity pool exists before adding funds). Example User Journey:

User Request: “Create a liquidity on uniswap and post ‘Join the revolution!’ on Twitter.” AI Execution: Multiple agents talk with each other and create the liquidity. Prepares a tweet draft with the token’s contract address template, and trending hashtags. Requests user confirmation: “Ready to post this tweet?” Result: The liquidity details goes live on-chain, and its promotional tweet reaches the user’s followers instantly, driving early adopters to trade or provide liquidity. Impact: By merging DeFi actions with social media outreach, this tool transforms newcomers into confident blockchain creators. Users focus on their ideas—not APIs, gas fees, or CLI tools—while the AI handles execution and community growth, accelerating innovation in decentralized ecosystems.

Multi-Agent Coordination The platform is built on a multi-agent architecture where specialized agents collaborate seamlessly. The blockchain agent handles on-chain operations, the Twitter agent manages social media interactions, and an assistant agent oversees confirmations and resolves ambiguities. These agents communicate via a supervisor module that dynamically routes tasks based on user commands, ensuring that actions like token deployment and subsequent promotion are perfectly synchronized.

How it's Made

Technical Architecture & Implementation

  1. Blockchain Layer: Coinbase’s CDP Agent Toolkit What It Does: The CDP Agent Toolkit provides pre-built LangChain tools for blockchain interactions, abstracting complex operations like smart contract deployment, token approvals, and liquidity pool management.

Implementation: For ERC20 token creation, the DeployERC20ContractTool handles contract deployment with dynamic parameters such as name, symbol, and supply. Liquidity management is achieved through the AddLiquidityTool and CreatePoolTool, which interact directly with Uniswap V3-style contracts by calculating slippage and approving tokens. Under the hood, the toolkit uses Ethers.js and Viem for signing transactions, automatically fetching gas prices and handling nonce management. For example, when a user instructs the system to “Add 100 USDC to the ETH pool,” the agent employs the getPool tool to query existing pools via The Graph and then constructs the appropriate transaction.

  1. Twitter/X Automation: Arcade AI Integration: Arcade’s X Tools abstract Twitter’s API into LangChain-compatible tools, enabling tweet posting, searching, and profile lookups without requiring complex OAuth token handling.

Hacky Auth Flow: When a user requests a tweet, the agent uses Arcade’s API to generate a one-time login link (e.g., https://arcade.xyz/auth?callback=[agent_callback_url]). The user clicks the link, logs into Twitter, and grants permissions. Arcade securely binds the OAuth token to the user’s session, and the agent stores this token encrypted via AWS KMS (or a similar service) for future actions, such as tweeting token launch updates.

  1. Multi-Agent Orchestration: LangGraph Agent Roles:

Blockchain Agent: Handles all on-chain actions like token mints and transfers. Twitter Agent: Manages tweet creation and deletion. Assistant Agent: Generates confirmations (e.g., “Yes, post this tweet”) and resolves ambiguity. Supervisor Logic: The LangGraph supervisor node employs a structured-output Gemini 1.5 Flash model to route tasks based on keywords. For instance, if a message contains “tweet” or “post,” it routes to the Twitter Agent; if it involves “token,” “pool,” or “approve,” it routes to the Blockchain Agent; ambiguous requests are directed to the Assistant Agent. LangGraph’s stateful MessagesState retains conversation history, ensuring that prior steps (such as confirming a token deployment before tweeting about it) are taken into account.

  1. Data Indexing: The Graph Protocol Currently this integration is in ideation phase only Use Case and Implementation: When querying Uniswap pool details (e.g., “What’s the ETH/USDC liquidity?”), the agent leverages The Graph to fetch indexed data instead of relying on slow, costly on-chain calls. Subgraph queries for Uniswap V3 are embedded into the getPool tool, for example:

php Copy Edit query PoolQuery($token0: String, $token1: String) { pools(where: {token0_: $token0, token1_: $token1}) { liquidity volumeUSD } } The structured responses from these queries (e.g., “The ETH/USDC pool has $5M liquidity”) help the agent guide users in making informed decisions regarding liquidity provisioning.

Key Technical Challenges & Hacks Silent Confirmation Mechanism: To reduce user friction, the Assistant Agent auto-generates confirmations such as “Yes, please proceed” using a strict prompt:

ini Copy Edit prompt = "If confirmation is needed, reply with 'Yes, please [action]'. Otherwise, clarify." This design bypasses the need for explicit user input after the initial request.

Twitter-Agent Guardrails: The Twitter tool enforces a one-minute delay before posting tweets that include contract addresses. It uses a Redis cache to flag potentially risky content—such as detecting honeypot scams—ensuring that automated posts are safe and compliant.

background image mobile

Join the mailing list

Get the latest news and updates