Workflow

Research with a team of AI agents

The project is built and run with AI coding agents. 13 role agents each own one kind of work, each on the cheapest model tier that does it well, with a separate reviewer whose only job is to find what is wrong.

13role agents
3model tiers: 8 reasoning · 3 balanced · 2 fast
10steps to test a paper
01

How the team works

I set the goal and watch; the orchestrator designs and decides; specialist agents do one job each on the cheapest model that does it well. A gate in front of every call and a log behind it keep the whole thing visible.

How the AI agents work togetherMe, the orchestrator, the tier gate, the agents by tier, the log and the monitor, and how work and reports move between them.goalstepsbriefloggedfeedsI watchshort report, numbers copied from filesMegoal and verdictWorkflow skillstest-paper, finish-changeOrchestratormain sessionmodels.yamltier → modelTier gatepre-call hookDelegation logevery callLive monitorwhat really ranQuantDBthe codebasecode-reviewerdata-architectdata-validatoridentity-stewardingest-engineersignal-engineerstrategy-auditorstrategy-researcherdocs-curatorpipeline-operatortest-engineerbacktest-runnerpaper-reader
02

Why build it this way

One general-purpose AI session doing everything is fast to start and hard to trust. Splitting the work changes what can go wrong.

Better code

Narrow jobs, independent review

  • Each agent owns one area and has a short list of things it must never do: the backtest runner cannot edit a file, the paper reader cannot judge a strategy.
  • A reviewer that did not write the code reads every change against the project’s own rules before it counts as done.
  • Clean context. Helpers start fresh with a complete brief and return a short report, so the main session’s attention stays on design, not on logs.
Better research

Reading, judging and checking kept apart

  • Extract before judging. A paper is turned into a one-page specification first, so the design follows what the paper says, not how persuasively it says it.
  • Numbers copied, not remembered. Every figure in a report comes verbatim from an output file, with the file named.
  • An adversarial auditor hunts for look-ahead, survivorship, uncounted trials and missing costs. The most it can call a winner is “a candidate for paper trading”.
Oversight and cost

The right model, and proof of it

  • Cheap models for chores, strong ones for judgment. Most tokens go to the cheapest tier that can do the job reliably.
  • No silent downgrades. The gate refuses any call below an agent’s minimum; data-semantics work stays on the reasoning tier on purpose.
  • Everything is logged and visible, and agents name a tier, never a model, so switching models or vendors is a one-file change.
03

In detail

Testing a paper

Testing a papertest-paper workflow

  1. Specification sheet from the PDFpaper-reader (fast) → spec sheet, ≤ 80 lines
  2. Data feasibility: what the store has for this universe, period, inputsyou, with targeted queries → a short plan
  3. Design: main specification, universes, deviations from the paperyou → config.py + README "what the paper does / what this does" table
  4. Implement data.py, signals.py, run.py on paperkityou, or a balanced agent from a precise spec → code
  5. Sanity checks (signal predicts its own target; plain version tracks a reference; extreme contributors are real)you → short notes
  6. Run and collect numbersbacktest-runner (fast) → ≤ 40-line report
  7. Interpret, iterate (every variant counted as a trial)you → decisions
  8. Closed-form tests tests/test_<study>.py, wired into selftesttest-engineer (balanced) → tests passing
  9. Adversarial reviewstrategy-auditor (reasoning) → findings
  10. Report (paperkit.report), README, STATUS.md, publishyou (prose), docs-curator (balanced) for STATUS drift → report.html, docs
Read from the workflow file the agents follow.

Who does what

The main session orchestrates: it owns the design, the judgment calls and the conclusion.

Mechanical work, such as turning a PDF into a specification sheet or running a backtest and copying its numbers, goes to a fast model. Code written to a clear spec goes to a balanced one. Design, data semantics and review stay on the reasoning tier.