This manual reflects the current application surface in this repository.
Forven is a local-first workspace for building, validating, supervising, and operating algorithmic trading strategies.
Core pieces:
- A FastAPI backend on
http://127.0.0.1:8003 - A SvelteKit frontend on
http://127.0.0.1:5173 - SQLite state stored under
FORVEN_HOME - ChromaDB-backed memory and workspace context
- CCXT-based exchange adapters under
forven/exchange/
Forven keeps research, approvals, runtime monitoring, and operational controls in one place instead of splitting them across notebooks, bots, and dashboards.
powershell -ExecutionPolicy Bypass -File .\start_all.ps1bash start_all.shpython -m uvicorn --app-dir . forven.api:app --host 127.0.0.1 --port 8003 --reloadcd frontend
npm run devpython -m forven --help
python -m forven configure
python -m forven auth statusThe left sidebar is the fastest map of the product.
| Route | Purpose | Typical use |
|---|---|---|
/ |
Dashboard | Overall health, activity, actions, winners, and live signals |
/?view=quant_factory |
Quant view | Alternate dashboard slice focused on strategy generation |
/?view=beta |
Spec view | Alternate shell/spec dashboard presentation |
/data |
Data workspace | Dataset coverage, ingestion runs, and fetch operations |
/lab |
Strategy lab | Browse and manage strategy research workflows |
/lab/strategy/[id] |
Strategy detail | Inspect one strategy's metrics, state, and lifecycle |
/runs |
Run history | Review backtests, jobs, optimizations, and prior outputs |
/ai-dropzone |
AI idea intake | Submit or refine prompt-driven strategy ideas |
/risk |
Risk oversight | Kill switch state, risk limits, and supervisory controls |
/trades |
Trade review | Open positions, recent trades, and execution summaries |
/agents |
Agent hub | Agent status, routing, tasks, model policy, and agent requests waiting for your decision |
/memory |
Memory workspace | Search and inspect Chroma/workspace memory items |
/tasks |
Task queue | Agent tasks, audits, and pipeline task visibility |
/ops |
Runtime operations | Soak report, notifications, scheduler, logs, and repairs |
/settings |
Global configuration | Credentials, provider auth, API keys, pipeline settings, and resets |
- Start the stack.
- Open
/settingsand review execution mode, provider auth, and API keys. - Open
/datato make sure datasets and ingestion endpoints are healthy. - Open
/labor/ai-dropzoneto create or inspect strategy ideas. - Open
/runsto review backtest and job history. - Open
/riskand/opsbefore moving a strategy beyond paper workflows.
Use /ai-dropzone or /lab to create or refine an idea, then drill into /lab/strategy/[id] once a strategy exists.
Typical sequence:
- Create or import an idea.
- Review parameters and metadata.
- Run a backtest or robustness workflow.
- Inspect results in the strategy detail page and
/runs.
The canonical lifecycle is:
researchingbacktestingpaperdeployedretired
These map to the policy gates managed in forven/policy.py.
When something needs operator attention:
/agentslists agent requests waiting for your decision (Waiting for your decision)/tasksshows queued and historical work/opsshows system health, notifications, scheduler state, logs, and repair actions/riskshows safety controls and drawdown-related state
Use /memory to inspect saved memories, annotations, and source health for the workspace memory layer.
- Keep new environments in
papermode. - Do not enable
mainnetcasually. - Review risk limits before enabling autonomous or exchange-connected behavior.
- If API keys are configured for browser access, pair
FORVEN_API_KEYwithVITE_FORVEN_API_KEY, and pairFORVEN_OPERATOR_KEYwithVITE_FORVEN_OPERATOR_KEY. - The live exchange code lives under
forven/exchange/and should be treated as sensitive.
- Backend health:
http://127.0.0.1:8003/api/health - Legacy compatibility health:
http://127.0.0.1:8003/health - Frontend root:
http://127.0.0.1:5173 - WebSocket endpoints:
/api/ws/live/ws/live
- Launcher logs live under
.tmp/logs/on Unix-like systems and.tmp\logs\on Windows. python -m forvenis the CLI entrypoint, not the backend server.- If the frontend is up but API calls fail, verify
http://127.0.0.1:8003/api/healthfirst. - If auth or workspace state seems missing, check the active
FORVEN_HOMEpath.