What it does

AION is an autonomous AI agent for DeFi portfolio management. It continuously monitors on-chain DeFi protocols, compares yield and risk metrics, and automatically rebalances funds across platforms like Venus, Beefy, and PancakeSwap to maximize returns. Every action is logged with a transparent decision timeline and explainable AI reasoning, building user trust and full visibility.

How we built it

AION was built with: • Smart Contracts on BNB Chain (deployed to mainnet) • Agent Logic using Python + LangChain for AI reasoning and prompt-based decisions • Membase for persistent on-chain memory and tracking of past actions • Frontend in Astro + Tailwind for a modern, responsive UI • Backend powered by Node.js with secure interaction between the agent and the smart contract vaults

The project leverages open DeFi protocols and oracles to dynamically calculate APR, track user risk preferences, and execute decisions.

Challenges we ran into

We faced several challenges: • Ensuring on-chain execution logic remains gas-efficient while enabling AI decisioning • Integrating cross-protocol APR data for protocols like Venus and Beefy • Simulating memory updates using memory.json before implementing on-chain memory • Making the UI simple but still powerful to explain complex agent reasoning

Accomplishments that we’re proud of • Successfully deployed to BNB mainnet with fully automated vault logic • Integrated AI agent reasoning layer that transparently explains each decision • Designed an activity timeline that showcases agent decisions in real-time • Received positive mentor feedback on explainability and automation

What we learned • How to integrate LLM-based agents with on-chain DeFi protocols • The importance of trust in AI agents and how explainability builds confidence • How to simulate, test, and deploy cross-protocol DeFi strategies • How memory persistence (using Membase) gives agents powerful continuity

What’s next for AION – The Immortal AI DeFi Agent • Extend to support more DeFi protocols across chains (e.g., Aave, GMX, etc.) • Upgrade the memory module to support encrypted, per-user vault histories • Integrate Chainlink Functions for external data verification • Launch a production version with passkey-auth wallets and gas abstraction • Compete in more hackathons, and prepare for seed funding

Built With

Share this project:

Updates