Dashboard Architecture
The dashboard combines a FastAPI backend, React frontend, financial services, and the agent chat API.
Backend Layers
| Layer | Path |
|---|---|
| App factory | dojoagents/dashboard/server.py |
| Dependencies | dojoagents/dashboard/deps.py |
| Routers | dojoagents/dashboard/routers/ |
| Schemas | dojoagents/dashboard/schemas/ |
| Services | dojoagents/dashboard/services/ |
| Static/Web | dojoagents/dashboard/static/, dojoagents/dashboard/web/ |
Communication
POST /api/chatis OpenAI-compatible.- Streaming uses SSE.
dojo.v2events are carried indojo_event.