Edwin - The DeFAI Layer
Last updated
Last updated
The world of finance is experiencing two parallel revolutions. AI frameworks like LangChain, Eliza, and G.A.M.E have transformed software development, creating autonomous agents that reason and execute complex tasks. Simultaneously, DeFi protocols like Aave, Uniswap, and Morpho have built an open, programmable financial system managing billions in assets. Yet a critical gap exists - AI frameworks excel at decision-making but lack native DeFi capabilities, while DeFi protocols remain isolated from AI systems. Each protocol speaks its own language, uses unique interfaces, and requires specialized knowledge to integrate, creating a barrier between these two revolutionary technologies.
Edwin enables AI agents built on top of AI frameworks to interact with DeFi protocols seamlessly. By providing a universal interface and handling blockchain operations securely, Edwin serves as the infrastructure layer that bridges the gap between AI and DeFi, unlocking the potential of autonomous financial agents - DeFAI.
Edwin consists of several core components that work together to enable DeFAI agents:
Protocol Abstraction Layer: Unified interface for DeFi operations
Framework Adapters: Integration with AI frameworks
Security Layer: Transaction verification and execution
AI Frameworks:
Eliza
LangChain
Blockchains:
Solana
EVM
DeFi Protocols:
Lending: Aave
DEX: Meteora, Uniswap
DEX Aggregator: Jupiter
Data Providers:
Cookie
eOracle
Lending and borrowing
Liquidity provision
Perpetual trading
Staking and restaking
Yield farming
CDP management
Portfolio management
Transaction simulation
Position monitoring
Risk assessment
Edwin enables the creation of sophisticated DeFAI agents. Here are just a few examples of what you can build:
Yield Optimization: Automate staking and lending strategies across protocols
Liquidity Management: Deploy and manage pool positions
Portfolio Management: Handle cross-protocol positions
Arbitrage: Execute cross-protocol opportunities
Risk Analysis: Monitor protocol health and assess investment risks
Market Sentiment: Analyze on-chain data for market trends
Dynamic Rebalancing: Maintain optimal portfolio allocations based on market conditions
The possibilities are endless - as DeFAI evolves, new use cases emerge daily.
Edwin is an open-source project welcoming contributions from the community:
Bug reports
Feature requests
Protocol integrations
Framework adapters
Documentation improvements
Follow the Quickstart Guide
Explore our Documentation
Join our Discord
Start Building