tool
Vibe-Trading
Vibe-Trading
Open-source multi-agent finance workspace by HKUDS. We use it as a third-party tool, not a kulify project.
What It Is
Natural-language → trading strategy / research / backtest pipeline. 74 finance skills, 29 multi-agent swarm presets, 7 backtest engines, 6 data sources with auto-fallback.
Local Setup (kulify)
- Path:
~/Desktop/Projects/kulify/projects/Vibe-Trading/ - Mode: Docker (
docker compose up) - URL: http://127.0.0.1:8899 (web UI + API)
- Provider: DeepSeek-direct, model
deepseek-chat - Key source: Vault global key
DEEPSEEK_VIBETRADE_API_KEY→DEEPSEEK_API_KEYinagent/.envvia sed substitution (see Vault#Wiring vault into a project's `.env`).
Remote Deployment
Also deployed to the kulify Coolify VPS at https://vt.kulify.me (single-user, bearer auth). Full operational details — UUIDs, env vars, volume layout, threat model for shell tools = on, ops runbook — live at vibe-trading/overview.
Provider Notes
The repo’s recommended sweet-spot tier is deepseek-v3.2, grok-4.20, glm-5.1, kimi-k2.5, qwen3-max-thinking — pick from these for daily use. Avoid nano/flash-lite/coder-next variants — they break tool-calling. See vibe-trading-2026 for full reasoning.
CLI Entry Points
| Command | Use |
|---|---|
vibe-trading | Interactive TUI with slash commands |
vibe-trading run -p "..." | One-shot prompt (great for smoke tests) |
vibe-trading serve | Launch FastAPI web UI/API |
vibe-trading-mcp | Start MCP server (for Claude Desktop/Code/Cursor) |
vibe-trading init | Bootstrap .env interactively |
In Docker, exec the same commands inside the container: docker exec vibe-trading-vibe-trading-1 vibe-trading run -p "...".
Architecture Quick-Reference
- Backend: FastAPI, OpenAPI schema at
/openapi.json - Frontend: React 19 (built into the container, served from
/) - Persistence: Docker volumes
vibe-runs(/app/agent/runs) andvibe-sessions(/app/agent/sessions) - Settings store:
/settings/llmAPI echoes a saved-settings store, not the active env. The agent itself uses env vars at runtime — verify provider viadocker exec ... env | grep LANGCHAIN_PROVIDER. - Auth: loopback-only by default. Set
API_AUTH_KEYif exposing beyond 127.0.0.1.
Data Sources It Wires
- AKShare — A-shares + HK/US/futures/forex (free, no key)
- yfinance — HK/US equities (free, no key)
- CCXT — 100+ crypto exchanges
- Tushare — A-share Pro data (paid, optional — AKShare covers as fallback)
- OKX — public crypto API
- Futu OpenAPI — HK/A-share via local FutuOpenD daemon
Patterns Demonstrated
- LangGraph Skills Pattern at production scale (74 skills as data files)
- LangGraph Multi-Agent Patterns — DAG swarm presets with live streaming
- Multi-Agent Finance Workflows — investment committee, research desk, risk committee preset shapes
- Backtest Engines — composable cross-market simulation
- Model Context Protocol — exposes tools as MCP server for agent integration
Related
- vibe-trading-2026 — full README breakdown and patterns we’d reuse
- Multi-Agent Finance Workflows — concept page on the swarm-preset shape
- AI Agent Architectures — where this fits in the architecture spectrum