VibeTrading is an AI-powered trading research platform that combines LLM agents with quantitative backtesting, factor research, and multi-broker connectivity. Research ideas, discover alpha, and deploy strategies β all through natural language or a real-time web dashboard.
π§ AI Research Agent
Chat-driven market analysis, strategy development, and backtesting. Just ask "what factors drive MSFT returns?" or "backtest a mean-reversion strategy on SPY".
π Alpha Zoo β 460+ Factors
Pre-built library of academic alpha factors with benchmarks, correlation matrices, and performance attribution β ready to screen, combine, and deploy.
π Multi-Broker Trading
Paper trade across Robinhood, Interactive Brokers, Alpaca, Binance, OKX, Tiger Brokers, and more β all from a unified interface.
βοΈ Backtesting Engine
PIT-safe fundamental data, multi-asset support, Monte Carlo simulation, and factor attribution. Walk-forward validation built in.
π Swarm Intelligence
Deploy multi-agent investment committees, quant desks, and risk committees that debate, vote, and manage portfolios collaboratively.
π Data Layer
18+ free market data sources with automatic failover, intelligent caching, and global coverage β stocks, crypto, FX, futures, and options.
π Web Dashboard
Real-time chat, run details, correlation matrices, strategy comparison, and portfolio tracking β built with React 19 and ECharts.
π¬ IM Channels
Deploy agents to Telegram, Discord, Slack, WeChat, and 12+ other messaging platforms.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β IM Channels (Telegram, Discord, etc.) β
βββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββ
β Web Dashboard (React 19) β
βββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β SSE / REST
βββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββ
β API Server (FastAPI + LangChain) β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββββ β
β β Research β β Strategy β β Risk β β Portfolio β β
β β Agent β β Agent β β Agent β β Agent β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββββ β
βββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββ
β Data & Execution Layer β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββββ β
β β 18+ β β Alpha β βBacktest β β Brokers β β
β β Sources β β Zoo β β Engine β β (8+) β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
pip install vibe-trading-ai
vibe-trading init
vibe-tradingOpen http://localhost:8000 and start researching.
docker compose upgit clone https://github.com/DesusLove/VibeTrading.git
cd VibeTrading
pip install -e .
vibe-trading init
vibe-tradingFor live reload during development:
vibe-trading dev # Backend + frontend with hot reload
vibe-trading setup # Rebuild frontend assets
vibe-trading serve # Production build server| Layer | Technology |
|---|---|
| Backend | Python 3.11+, FastAPI, LangChain, LangGraph |
| Frontend | React 19, TypeScript, Vite, Tailwind CSS, ECharts |
| Data | pandas, NumPy, scikit-learn, DuckDB |
| Infrastructure | Docker, SSE streaming, MCP protocol |
agent/ Python backend β API server, MCP tools, CLI, skills, tools
βββ src/ Core source code (agents, tools, skills, data layer)
βββ cli/ Command-line interface (interactive chat, commands)
βββ backtest/ Backtesting engine and utilities
βββ skills/ Agent skills (research, strategy, risk, portfolio agents)
βββ tests/ Unit and integration tests
βββ runs/ Strategy run artifacts and logs
frontend/ React 19 dashboard β chat UI, real-time charts, strategy viewer
βββ src/ React components and state management
βββ public/ Static assets
βββ dist/ Production build (generated by setup)
scripts/ Utility scripts for data ingestion, maintenance, deployment
tools/ Dev tooling β linting, formatting, CI helpers, code generation
wiki/ Documentation site (Markdown-based, GitHub Pages compatible)
VibeTrading follows a modular architecture with clear separation of concerns:
- Agent Layer (
agent/src/agent/*): Specialized AI agents (Research, Strategy, Risk, Portfolio) - Tool Layer (
agent/src/tools/*): 100+ tools for data, analysis, execution, and research - Skill Layer (
agent/src/skills/*): Domain-specific capabilities (technical analysis, crypto, fundamentals) - Data Layer (
agent/src/providers/*): 18+ market data sources with intelligent fallback - Execution Layer (
agent/src/live/*): Multi-broker connectivity (Robinhood, IBKR, Alpaca, crypto exchanges) - API Layer (
agent/src/api/*): FastAPI endpoints serving the frontend and CLI - Frontend (
frontend/src/*): React 19 dashboard with real-time updates via Server-Sent Events
# Start backend API server with auto-reload
vibe-trading dev --backend-only
# Run tests
pytest agent/tests/
# Lint and format
ruff check agent/
ruff format agent/# Start frontend dev server (Vite)
cd frontend && npm run dev
# Build for production
cd frontend && npm run build# Development with hot reload
docker compose -f docker-compose.dev.yml up
# Production build
docker compose up --buildDistributed under the MIT License. See LICENSE for more information.