
CrossMind
AI-Powered Investing Across Blockchains
Demo
About
The problem it solves .# 🌉 CrossMind – AI-Powered Cross-Chain DeFi Investing CrossMind is an **AI-powered, cross-chain, non-custodial DeFi investment platform** that simplifies crypto investing for everyday users. It combines the intelligence of **Zoya**, an autonomous agent built on **ElizaOS + AWS Bedrock**, with secure, scalable onchain execution using **Chainlink CCIP**. --- ## 🎯 Problem DeFi today is: - Complex and fragmented across multiple chains and protocols - High-risk, with poor UX and technical onboarding barriers - Idle capital sits untouched due to fear and friction --- ## 💡 Solution CrossMind solves this with: - **Zoya**: An AI investment agent that chats with users in natural language, understands their goals, and generates personalized strategies - **Smart contracts**: Non-custodial, audited vaults and execution modules - **Chainlink CCIP**: To enable secure cross-chain investment and rebalancing - **AWS Bedrock (via ElizaOS)**: For AI inference, risk reasoning, and strategy simulation --- ## 🛠️ How It Works 1. User connects wallet and chats with Zoya (built with ElizaOS + AWS Bedrock) 2. Zoya analyzes: - User risk profile - Market conditions - Real-time yield sources 3. Zoya generates an optimal DeFi strategy (e.g., 40% Aave lending, 60% QuickSwap LP) 4. Smart contracts execute the strategy across chains using **Chainlink CCIP** 5. The user receives a transparent, trackable, yield-optimized portfolio --- ## 🧠 AI Agent Architecture (Zoya + ElizaOS + AWS Bedrock) Zoya is built using: - **ElizaOS**: Agent framework that enables tools, memory, and context persistence - **AWS Bedrock**: Provides foundation models like **Claude**, **Titan** for reasoning - **Retrieval-Augmented Generation (RAG)** and real-time APIs for onchain data lookup ### Zoya Capabilities - Understand user intents like: “invest $500 conservatively” - Explain strategy options, tradeoffs, and risks - Auto-adapt portfolios based on live yield/risk shifts --- ## 🧱 Onchain Smart Contract Stack Deployed on **Avalanche Fuji** and **Ethereum Sepolia**, featuring: - `CrossMindVault`: Strategy-based asset vault - `StrategyManager`: Maps user profiles to yield protocols - `CrossChainExecutor`: Executes instructions across chains using CCIP - `AdapterRegistry`: Manages protocol-specific adapters (e.g., Aave, QuickSwap) --- ## 🔗 Technologies Used | Stack | Details | |----------------|----------------------------------------------------------------------| | **AI & Agents**| AWS Bedrock + ElizaOS (LLM + memory + tools) | | **Blockchain** | Solidity, Chainlink CCIP, Avalanche Fuji, Ethereum Sepolia | | **Frontend** | Next.js, Socket.io (real-time Zoya chat), RainbowKit Wallet Connect | | **Backend APIs**| Strategy generator, NLP pipeline, protocol adapters | --- ## 🧩 Track Submissions ### ✅ **Cross-Chain Interoperability (Chainlink CCIP)** - Real CCIP-powered execution of strategies across Avalanche & Ethereum ### ✅ **Onchain Finance** - AI-generated DeFi strategies with execution on Aave, QuickSwap, and vault logic ### ✅ **Best AI Agent with ElizaOS** - Full ElizaOS + AWS Bedrock integration with memory, tools, and CCIP coordination ### ✅ **Build Web3 x AI with AWS Bedrock** - Zoya uses Bedrock as inference engine for financial reasoning and personalized investment guidance ### ✅ **Avalanche (Single EVM Chain + Cross-Chain)** - Deployed smart contracts on Avalanche Fuji - Can simulate cross-chain via Fuji’s Echo/Dispatch for intra-Avalanche messaging --- ## 🌍 Why CrossMind Matters CrossMind bridges **AI and DeFi**, helping onboard the next billion users with: - Simplicity: Chat-based investing - Security: Fully non-custodial - Intelligence: Real-time strategy adaptation - Interoperability: Native cross-chain execution -- ## 💬 Sample Prompt > "Zoya, I want to invest $1000 in low-risk stablecoin strategies across chains." Zoya responds with a structured strategy, reasons it, and enables one-click execution via CCIP. --- ## 🏆 Why It Deserves to Win - ✅ End-to-end integration of AI + Web3 - ✅ Real use of Chainlink CCIP, AWS Bedrock, and ElizaOS - ✅ Deployed multi-chain contracts and live frontend - ✅ Solves a real problem in onboarding users to DeFi with smart automation --- > CrossMind is not just a project—it's the blueprint for AI-powered investing in a cross-chain world.
How it's made
Challenges we ran into ## 🐞 Challenges I Ran Into ### 🤖 ElizaOS + AWS Bedrock Integration Issue While building the Zoya AI agent, we ran into a critical issue integrating **ElizaOS with AWS Bedrock**. The Bedrock inference was not properly resolving through the ElizaOS agent orchestration layer, causing broken message flows and timeouts during prompt execution. ### 🛠️ How We Solved It We identified the issue was related to Bedrock invocation compatibility within ElizaOS's hosted tooling. We raised a detailed issue on the official **ElizaOS GitHub repository**, and thanks to their quick support and collaborative debugging, the issue was resolved within the hackathon window. ### ✅ Outcome Once resolved, Zoya was able to: - Successfully route user input through ElizaOS - Generate prompt completions via AWS Bedrock models like Claude - Return real-time strategy suggestions seamlessly This enabled us to deliver a fully functional **AI + Web3 integration** and deploy a working version of CrossMind end-to-end.