How giacomoghi/ath-quant-desk works
ATH Quant Desk is a playbook-and-folder protocol for AI agents, not a trading engine. Agents use the shared pipeline of idea cards to move research through design, analysis, build, verification, staged validation and demo incubation; the platform performs trading-system work through MCP. Separate roles handle portfolio and prop-firm work, coordinated by the head of desk. An optional visual desk replays or streams pipeline activity and exposes documents subject to privacy mode. Workflow links follow the README; the visual links are limited to relationships shown in the excerpts.
Main entry points: server.mjs Visual desk server · builder.md Builder · verifier.md Verifier · quant.md Quant
Components 25
Desk protocol
- Desk rules
docs/charter.md - Team design
docs/design.md - Pipeline protocol
docs/pipeline.md - Owner thresholds
settings.example.yaml - Lead template
templates/lead.md - Idea card template
templates/idea-card.md - Shared card pipeline
Idea workflow
Portfolio operations
- Portfolio manager
roles/portfolio-manager.md - Prop strategist
roles/prop-strategist.md - Head of desk
roles/head-of-desk.md
Visual desk
- Visual desk server
viz/server.mjs - CLI configuration
viz/lib/args.mjs - Timeline builder
viz/lib/pipeline.mjs - Document library
viz/lib/library.mjs - Replay board
viz/desk.js - Detail inspector
viz/inspect.js
Other components
- Desk owner
- Coding agent
- AlgoTradingHub
Connections 41
- Desk owner → Coding agent: starts role
README.md - Coding agent → Scout: runs playbook
README.md - Coding agent → Designer: runs playbook
README.md - Coding agent → Analyst: runs playbook
README.md - Coding agent → Builder: runs playbook
README.md - Coding agent → Verifier: runs playbook
README.md - Coding agent → Quant: runs playbook
README.md - Coding agent → Portfolio manager: runs playbook
README.md - Coding agent → Prop strategist: runs playbook
README.md - Coding agent → Head of desk: runs playbook
README.md - Head of desk → Coding agent: dispatches roles
README.md - Scout → Shared card pipeline: creates leads
README.md - Designer → Shared card pipeline: creates ideas
README.md - Analyst → Shared card pipeline: writes cards
README.md - Shared card pipeline → Builder: supplies cards
README.md - Builder → AlgoTradingHub: builds strategy
README.md - Builder → Shared card pipeline: logs smoke run
README.md - Shared card pipeline → Verifier: supplies strategy
README.md - Verifier → AlgoTradingHub: checks trades
README.md - Verifier → Shared card pipeline: logs checks
README.md - Shared card pipeline → Quant: supplies card
README.md - Quant → AlgoTradingHub: runs validation
README.md - Quant → Shared card pipeline: logs results
README.md - Shared card pipeline → Portfolio manager: supplies strategies
README.md - Portfolio manager → AlgoTradingHub: incubates demos
README.md - Shared card pipeline → Prop strategist: supplies warnings
README.md - Portfolio manager → Shared card pipeline: records portfolios
- Prop strategist → Shared card pipeline: records plans
- Desk owner → Owner thresholds: sets thresholds
README.md - Analyst → Idea card template: uses template
README.md - Scout → Lead template: uses template
- Coding agent → AlgoTradingHub: connects via MCP
README.md - Visual desk server → CLI configuration: reads options
viz/server.mjs - Visual desk server → Timeline builder: builds timeline
viz/server.mjs - Visual desk server → Document library: serves documents
viz/server.mjs - Timeline builder → Shared card pipeline: reads events
viz/lib/pipeline.mjs - Document library → Timeline builder: uses snapshot
viz/lib/library.mjs - Document library → Shared card pipeline: reads card files
viz/lib/library.mjs - Visual desk server → Replay board: serves interface
viz/server.mjs - Replay board → Detail inspector: opens details
viz/desk.js - Detail inspector → Visual desk server: requests documents
viz/inspect.js