Give AI agents a metric.
Keep only the wins that hold up.

Thermite is open-source autoresearch that runs on your own machines. Point AI agents at a number to push (tokens a second, accuracy, latency, memory, cost, a benchmark score), goals to meet, or a question to answer. They run experiments for hours or days, and a judge they can't touch measures every attempt and keeps only confirmed wins.

Or ask your AI agent to set it up:

Set up Thermite on this computer for me: follow https://usethermite.com/llm-setup.txt

Open source · Apache-2.0 · Linux or macOS · Docker or Podman · v0.2.4

Decode speed of every attempt, in tokens a secondQwen3.8-27B-PN3 on one Tesla P100, 24–29 October 2026
A replay of Thermite's decode hill climb on Qwen3.8-27B-PN3, on one Tesla P100: 131 changes judged in five days. 28 were confirmed wins, 48 were slower, 39 made no real difference, 12 broke a guard and 4 were inconclusive. The champion's decode speed rose from 7.7 to 30.1 tokens a second, past Q3Floor's 26.3.

What you're looking at · every spark is a real attempt

  • A spark is one change an agent submitted. It rises to the speed the judge measured: 131 in five days, from two lanes.
  • Gold: 28 wins the judge confirmed on fresh runs and a hidden prompt.
  • Ember: 48 changes slower than the champion. They sink as they cool.
  • Grey: 39 with no real difference, and 4 inconclusive.
  • Red: 12 that broke a guard, such as changed outputs. Thrown out, however fast.
  • The line is the champion, the best confirmed version: Qwen3.8-27B-PN3 decode on one Tesla P100, 7.7 to 30.1 tokens a second.

How a campaign runs

Much of engineering is a loop: change something, measure it, keep it if it is better, try the next idea. Thermite runs that loop continuously, on many ideas at once, and keeps the grading for itself.

  1. You set the goal. What to improve, what must not get worse, which files the agents may change, and a kit that builds and measures your project.
  2. Agents try ideas side by side. Each works in its own lane, on its own copy. A planner hands each lane a different experiment, so the search stays wide.
  3. The judge decides. It times each change against the best so far, on the same hardware, in alternating blocks. A win must hold up again before it counts.
  4. Wins become the starting point. The best confirmed version is the champion. Losses are kept too, with the judge's reasons.
  5. You watch, steer and take the result. Follow every agent live, message them, pause the run, and download the champion as a patch.
The dashboard's page for one run: its champion's value, its cost and tokens, the champion's gains over time, and what each lane works on now
One run on the dashboard: what it has cost, how far the champion has come, and what each agent works on now.

Agents never grade their own work

An agent asked to push a number up will sometimes only make it look higher: it skips the slow case, moves the timer, or just reports a win. So in Thermite, agents only propose. Code they can't read or change measures and decides.

  • The judge holds the clock. It times every change from outside, against the champion, on the same device.
  • It knows its own noise. Once a day it times the champion against itself, and decides with statistics.
  • A win gets a second look. Fresh runs, test cases the agents never saw and, on a rig with an auditor, a review of a surprisingly large gain.
  • You decide what waits. Ask to approve every new champion yourself, or let confirmed wins through.
The judge's smoke check

Thirteen changes whose right verdicts are known. Run it on your own computer in twenty minutes.

  • i-k-j loop order makes the inner loop contiguouswin confirmedfaster, and again on fresh runs
  • rename the accumulatorneutralno real difference
  • skip half of the reductioninvalidits answers were wrong
  • call the reference implementationinvalidthe judge saw the reference run
  • use a large scratch buffercrashstopped at the memory limit
  • time the kernel from insiderejecteda timer call: against the rules
  • make the reference trivialrejectednot the agents' file to change
See all thirteen in the first tutorial

Thermite tensorless

A 27B model, 3.9× faster on a $100 GPU.

With tensorless, four Thermite campaigns tuned an inference engine for Qwen3.8-27B on one Tesla P100, a 2016 card that sells used for about $100. Two goal campaigns made it work and gated its quality; two hill climbs made it fast. Every step held the model's answers where they started. The result ships in one command.

3.89×decode speed7.74 → 30.06 tok/s
1.14×a standard 3-bit filesame card, same runs
131changes judgedin five days
Decode speed of the champion, from the judge's ledgerQwen3.8-27B-PN3 on one Tesla P100. Each champion's speed is the start's, multiplied by every gain the judge confirmed.
Time (UTC)VersionGainTokens a second
24 Oct, 02:50Starting point7.7
24 Oct, 22:28Champion 2+48.97%11.5
26 Oct, 08:25Champion 11+8.94%20.8
27 Oct, 07:17Champion 20+2.73%26.4
29 Oct, 02:36Champion 28+1.21%30.1

Champion 20 was the first to pass Q3Floor, the best standard 3-bit file, at 26.3 tokens a second.

Use cases across nine fields

Thermite applies wherever code can judge the work: code and models, simulations and genomes, crops, buildings, fleets and portfolios, and the questions behind them. See every use case.

Local AI enthusiasts

Tune models and inference engines on your own GPUs, with agents on a local model at no cost per request.

Read the guide

Solo builders

Run research on a single computer, with a free or local model, and review measured results.

Read the guide

Startups

Run experiments on rented or owned GPUs within a set budget, with every result verified before it ships.

Read the guide

Enterprises

Run research on your own infrastructure, with an auditable record of every attempt and verdict.

Read the guide

Your machines, your models

There is no hosted service and no account. Control, one small service, shows and steers every campaign. Rigs do the research, each on a computer, a cluster node or a cloud GPU, and each dials out to control. Nothing stops a campaign by default: set a budget or a stop time when you want one.

RigsYour computer; machines over SSH; a Kubernetes cluster; a RunPod GPU by the hour
DevicesCPUs, or NVIDIA GPUs: one shared in turns, or several split between the judge and the agents
ModelsA free model; your own server, such as Ollama or vLLM; an API key; a Claude or ChatGPT plan
Agents run inPi, OpenCode, Claude Code or Codex, each in its own terminal you can watch
Steer fromThe dashboard, a REST API, MCP for your own AI assistant, or the thermite command line
RecordsEvery attempt and verdict, signed, and a knowledge base that later runs read

Get started

About twenty minutes on Linux or macOS, with Docker or Podman. Podman users swap docker for podman.

Get Thermite

Download the latest release's compose file into a folder of its own.

curl -fsSLO https://github.com/iammrduncan/thermite/releases/latest/download/compose.yaml

Make your tokens

Long random passwords, so that only you can steer it.

docker compose run --rm init

Start it

Control, its dashboard and one rig, on this computer.

docker compose up -d

Watch the judge work

Sign in, open your rig, and run the smoke check. Then give agents a free model and run your first campaign.

Join the Hackers in the Loop community

Ask questions, share what your agents found, and see what is being built next.