System Architecture
Components
User Interfaces
| Component | Description |
|---|---|
| Condor | Telegram bot for mobile/desktop control of trading operations |
| MCP / AI Agents | Connect Claude, Gemini, GPT, or other LLMs to trading infrastructure |
Server Layer
| Component | Description |
|---|---|
| Hummingbot API | FastAPI server providing REST endpoints for trading, data, and bot management |
| PostgreSQL | Stores orders, accounts, positions, and performance metrics |
| EMQX | Message broker enabling real-time communication with bot instances |
Core Components
| Component | Description |
|---|---|
| Hummingbot Client | Core Python library with CEX connectors and trading strategies |
| Gateway | DEX middleware for Uniswap, Jupiter, Raydium, and 30+ DEXs |
How It Works
- User Interfaces (Condor, AI agents) send requests to the Hummingbot API
- Hummingbot API processes requests and routes them to the appropriate component
- Hummingbot Client handles CEX trading via exchange APIs
- Gateway handles DEX trading via blockchain RPCs
Deployment Options
Development (Local)
Run everything on your local machine:Production (Server)
Deploy on a cloud server with Docker:- API server runs as a systemd service or Docker container
- Bots run as isolated Docker containers
- Gateway runs as a separate service for DEX access
Data Flow
Learn More
Hummingbot
The core trading framework
Gateway
DEX middleware for decentralized trading

