Autonomous Quant Lab
A private lab for testing trading ideas, started in July 2026. Each week an agent brings back research papers. We choose what to test, agents build it, and every result stays on record, whether the idea works or not.
Internal research. Not investment advice, and not open to outside capital.
Figures as of 23 November 2026.
The path of an idea
Ideas come from two places: our own questions, and a weekly search in which an agent looks for research papers and reports what it found. We decide which ideas to test and which to discard, and agents implement the ones we approve.
From there every idea takes the same route, and the route is the filter. Ideas that fail stay in the catalogue: nothing is hidden because it looks bad.
- 01Searchan agent finds papers, weekly
- 02Questionchosen by a person
- 03Rulewritten as code
- 04Testmany markets, many variants
- 05Result storedfailures are kept too
- 06Dashboardcompare and combine
Steps three to six are rebuilt from fresh data every night after the market close.
Catalogue
Every idea as a written rule, with its full result.
Studies
Deeper investigations of one question each.
Dashboard
One place to browse all of it.
How the agents work
The part of this project that is autonomous is how it is built. Agents bring back ideas, but they do not decide what is tested, and the system does not trade. We choose the questions, approve the designs and judge the results. AI coding agents write the spec, the plan, the tests and the code, then review each other's work. They work from written documents, not from chat. The repository is engineered so that agents can work in it for hours without supervision and without breaking it.
- Write it down01Design specwhat to build, and why
- 02Planthe steps, in order
- Build it03Tests firstwritten to fail
- 04Codeuntil the tests pass
- Prove it05Agent reviewa second agent checks it
- 06Mutation checkbreak it, watch a test fail
- 07Commitonly if every check passes
Guardrails that are code, not advice
Agents repeat a mistake unless the mistake is made impossible. So each lesson became a machine check:
- Command guards. Every command an agent runs is inspected, and the ones that have caused damage before are blocked.
- Collision check. Several agents work at the same time, and a tool shows which of them are editing the same lines before anyone commits.
- A complexity ratchet. New code must stay under a complexity limit, and the list of old exceptions can only shrink.
Tests that must be able to fail
The most common defect was a test that passes without proving what it claims. So important tests are checked by breaking the code on purpose and confirming that the right test fails.
Rebuilt in Rust, with zero tolerance
The first version of the engine has been rebuilt in Rust, one route at a time, while the system stayed in use.
- The original engine is the authority. Real responses from it are recorded and replayed through the Rust version, which must give exactly the same answer, bit for bit, not "close enough".
- Rust declines what it cannot reproduce. The Rust server sits in front and hands any request it cannot answer identically back to the original.
- Small details mattered. The original used two ways of adding up a list of numbers, one that corrects for rounding error and one that does not. Two additions eight lines apart needed two different Rust ports.
Built with
- Rust
- axum
- SQLite
- React
- Vite
- Tailwind
- WebAssembly
Claude Code is the main coding agent, with a second agent from another vendor as an independent reviewer.