Agent BABA represents a breakthrough in autonomous trading by combining cutting-edge AI technologies:
- 🧠 RAG-Enhanced Decision Making: Learns from historical trades through vector embeddings
- 🤝 Autonomous Asset Management: Self-adjusting strategies based on market conditions
- 📈 Real-time Market Analysis: Intelligent price impact and liquidity monitoring
- 🛡️ Vector-Based Risk Management: Pattern recognition for trade optimization
View Demo Video | View Pitch Deck
- Vector embeddings of historical trades using pgAI
- Semantic search with Ollama (all-minilm model)
- Self-adjusting trading parameters
- Continuous learning from outcomes
- Real-time performance monitoring
- Advanced charting with TradingView integration
- Trade execution interface
- Risk management dashboard
- Vector-based trade pattern analysis
- Semantic similarity search for strategy optimization
- AI-driven market insights
- Real-time performance metrics
- Frontend: Next.js 13, Shadcn UI, React Query
- Backend: TypeScript, Bun, HONO
- Blockchain: Solana, Meteora DEX
- AI & ML: Claude AI (Anthropic), pgAI Vectorizer
- Data: TimescaleDB, pgVector
- Monitoring: BirdEye API
flowchart TB
subgraph On-Chain
MP[Meteora Pool] <--> SA[Solana Agent Kit]
SA <--> JE[Jupiter Exchange]
BE[BirdEye API] --> PS[Price Service]
PS --> AB
end
subgraph Agent BABA Core
AB[Agent BABA] --> SA
AB --> DB[(PGAI Vector DB)]
AB --> CA[Claude AI]
DB --> RAG[RAG Engine]
RAG --> CA
VW[Vectorizer Worker] --> DB
end
subgraph Analysis Flow
DB --> VA[Vector Analysis]
VA --> TS[Trade Signals]
TS --> AB
VW --> |Embeddings| VA
end
style Agent BABA Core fill:#f9f,stroke:#333,stroke-width:2px
style On-Chain fill:#bbf,stroke:#333,stroke-width:2px
style Analysis Flow fill:#bfb,stroke:#333,stroke-width:2px
-
Clone & Install
git clone https://github.com/yourusername/agent-baba.git cd agent-baba bun install
-
Configure Environment
cp .env.example .env # Add your API keys and configuration
-
Start Services
docker-compose up -d # Start database & vector store bun run dev # Start development servers
-
Open Dashboard
- Core Service: http://localhost:3000
- Dashboard: http://localhost:3001
agent-baba/
├── packages/
│ ├── core/ # Trading engine & services
│ ├── dashboard/ # Next.js frontend
│ └── types/ # Shared TypeScript types
├── package.json # Monorepo configuration
└── turbo.json # Turborepo config
Agent BABA is designed to evolve into a comprehensive trading platform:
- Multi-DEX support
- Advanced portfolio management
- Social trading features
- Custom strategy development
- Machine learning model integration
- Real-time risk monitoring
- Slippage protection
- Position size management
- Automated circuit breakers
- Vector-based anomaly detection
Built with 💜 by Team BABABILL for the Solana AI Agent Hackathon
Role | Member |
---|---|
🎨 Frontend | Fodé Diop |
🔧 Backend | Fodé Diop |
🧠 AI/ML | Fodé Diop |
🔗 Blockchain | Fodé Diop |
We welcome contributions! See CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details