Full-cycle autonomous AI factory on Claude Code

Groom features like a human. Ship them like a factory.

Shipping software has never been this easy. You say what you want, in plain words, to an AI that asks the right questions.

Rational Trains, a full-cycle autonomous AI factory on Claude Code, does the rest: agents build, other models review, the cloud tests, standardized metrics decide what merges. You step in only for what is security: keys, access, database changes.

StepsIdea → release
  1. 01IdeaYouA sentence, written from anywhere. A phone is fine.
  2. 02GroomingYou + AIA short talk about what you want, in the Claude app, your IDE or a terminal. The AI asks; you answer. It writes the tasks.
  3. 03BuildFactoryAn agent builds each task in its own copy of the code.
  4. 04Cross-reviewFactorySeveral different AI models review every change.
  5. 05TestsFactoryThe full suite runs on every change. Red means nothing ships.
  6. 06PreviewFactoryEvery pull request gets its own link.
  7. 07ReleaseFactoryOne train, one version, out to everyone.
  8. 08Security stepsYouKeys, access, database changes. The factory never asks for them: it lists them and waits for your hands.
Emergency brake. A risky feature ships behind a flag. Switch it off and it is gone for everyone within minutes. No redeploy.

Numbers, not adjectives

The factory measures itself on every car and every train. These figures are read from its own journal, not written by hand, and they move as the trains run.

Read the most recent report

LiveUpdatedLast updated 6 Dec 2026 · 06:31 UTC

Last 30 days

  • 839

    Throughput

    28 a day

    pull requests verified and merged

    One founder with the factory. Each one reviewed, tested and checked before it merged.

  • 31 min

    Review time

    Elite1

    from pull request to merge

    Median. Review and the full test suite included, not skipped.

  • 738

    Defects caught

    25 a day

    real defects stopped before merge

    Multi-agent cross-checking. Every finding is verified against the code: 94% held up.

  • $2.43

    Cost of quality

    92% lower2

    per confirmed defect

    AI review at list prices. Human review of the same code: $32–64.

  • 50.85 %

    Test share

    Tested as written

    of new lines are tests

    117,000 lines of tests written alongside 113,000 lines of code.

  • Elite

    Delivery

    Top tier3

    on 3 of 4 DORA metrics

    From the most recent report. Time to restore: High.

  • 0.44 %

    Duplication

    6× under limit4

    duplicated code

    Down from 0.56% 30 days ago. SonarQube allows 3%.

  • 93.93 %

    Coverage

    Exemplary5

    test coverage

    Of lines, across 8,268 tests. Google calls 90% exemplary.

  • 0

    Drift

    None

    releases that let quality slip

    Every release passes a ratchet: no quality figure may end worse than it started.

Bottom row: code quality · coverage measured daily

How quality is measured

Source

The factory's own journal in BigQuery, refreshed every three hours. DORA comes from the weekly report. The numbered benchmarks are what the figures are read against.

  1. Engineering Benchmarks 2026 (opens in a new tab)LinearB, 8.1 million pull requests
  2. Best Practices for Code Review (opens in a new tab)SmartBear, review rates
  3. Accelerate State of DevOps Report 2024 (opens in a new tab)DORA
  4. Understanding quality gates (opens in a new tab)SonarQube Server documentation, Sonar way, the default gate
  5. Code Coverage Best Practices (opens in a new tab)Google Testing Blog

From the weekly report, week to 8 November 2026

repositories, one factory
3
An app, the factory itself and this site, built and released by the same factory; the live figures above count all three.
Maintainability Index, mean
27.3
Of the app’s 1,087 files; 65% are in the green band. Microsoft calls 20 and above green, scoring a method; the factory scores a whole file, a stricter reading.
decision points per function, P90
3
Cyclomatic complexity over 24,561 functions of the app: a median function has 1.7, nine in ten have 3 or fewer. The common ceiling is 10 (McCabe).

If your AI knows it, the factory builds with it.

Any language, framework, database or cloud that your IDE or your model understands is fair game. No plugin to wait for, no list to be on. The rail below is simply what we run every day.

  • Claude Code

    Builds and reviews

  • GitHub

    Progress, Backlog

  • git worktrees

    Parallel cars

  • Cloud Build

    Isolated test runs

  • BigQuery

    Every metric

  • Cloud Run

    Services

  • Cloud Storage

    Locks and artifacts

  • Vertex AI

    AI platform

  • ESLint + SonarJS

    Lint

  • TypeScript

    Type checks

  • Semgrep

    Static analysis

  • jscpd

    Duplication

  • knip

    Unused code

  • OSV + Dependabot

    Dependencies

  • dependency-cruiser

    Import rules

  • Playwright

    End-to-end tests

  • ntfy

    Notifications

  • …and others

    You might want to connect

An autonomous factory for software

It runs with the lights off. Methodology and metrics, not buttons and polish.

What is an AI software factory?
Harness
A full-cycle harness around Claude Code: rules, gates, reviewers, cloud runs and a journal. The model writes the code; the harness decides what may ship.
Full cycle
From a grooming talk to a verified release: build, review, tests, fixes, merges, release notes and the report of every car.
Lights out
Trains run on their own, at night too, with nobody watching a screen. The morning shows what happened.
Lights on
Only for what is yours: the go, a decision, and the security steps. The factory stops at that line and waits.

How it works

You pick the destination and the route. The train runs on schedule.

How a feature ships
Train
A release. It leaves with its cars and arrives as a new version.
Cars
One task each, built in its own copy of the code, so work never collides.
Stations
The stages every car and every train stops at: build, review, checks, release.
Schedule
No ship button to babysit. The train runs its stations and reports to your phone.

No sprawl, no drift

AI coding tools tend to let a codebase sprawl and drift: every change looks fine, and the whole slowly gets worse. Rational Trains is built to hold the line.

How quality holds
Gate
Standardized metrics decide whether a change merges, not another AI's opinion.
Ratchet
Code quality can hold or improve, never slip. A change that makes a metric worse does not merge.
BigQuery
Every metric is written to BigQuery: functional progress, code quality and component reuse, over time.
Learning
Every train ends with a retrospective, and what it finds goes into how the next train runs.

Why you can trust it

Correctness is checked by runs, not by words.

Cross-review
Code written by one agent is reviewed by others before it ships. Different models miss different things.
Critical bugs
A critical bug found while a feature is being built is fixed before the train leaves, not filed for later.
Previews
You judge the result on a preview link, the way your users will see it, not by reading diffs.
Flags
A risky feature, or one that needs a database change, ships behind a feature flag. Switch the flag off and the feature is gone for everyone within minutes, with no redeploy.
Your keys
The factory never asks for a token, a key or a password, and never grants itself access. Claude Code's safety classifier blocks it. Those few steps are yours, by hand, and the train lists them when it arrives.

Integrations

The factory works in tools a solo founder already has.

All integrations
GitHub
Backlog in Issues, live progress by train in Projects.
Google Cloud
Cloud runs for agents and checks, and BigQuery for every metric.
ntfy
Pushes to your phone when a train starts, pauses or is released.
Your toolchain
Your own tests and linters, plus free static analysers in a ratchet.

Run it where your code lives

A Claude Code plugin. Today setup is a short list of things to ask Claude, each with a check you can see. A setup wizard is planned.

Your computer
Claude Code runs the trains next to your editor. No server, no dashboard, nothing to host.
Google Cloud
Tests, reviewers and the journal run in your own project, so the record survives your laptop.
Your phone
Ideas, the grooming talk and the pushes, from anywhere: the Claude app, GitHub or ntfy.

Questions

What founders ask before they let a factory near their code.

Can a vibe-coded app go to production?

Yes, once it passes what any production code passes: review, tests, security checks and a controlled release. Rational Trains runs all of them on every change and keeps the record, so the answer is measured, not hoped.

What is an autonomous AI factory?

A factory that runs on its own, with no one on the floor while it works. Rational Trains builds, reviews, tests and releases by itself, and stops only for your decisions and the security steps.

What is a full-cycle AI harness?

Everything around the model that turns generated code into shipped software: the rules it works by, the gates a change must pass, independent reviewers, cloud test runs, and a journal of every step. Rational Trains is that harness for Claude Code.

Do I need to be a programmer?

No. You need to be technically literate: follow a command, link a GitHub repository. You say what you want in a conversation with the AI; the factory writes, reviews, tests and ships the code.

Is it for solo founders or for small teams?

Both. It was built and is run by one founder, and it works the same for a small team: several people file ideas and talk through tasks, and the factory builds them side by side in parallel lanes.

How do I know the code is good?

By numbers, not by our word. Every change is reviewed by several AI models, tested and statically analysed, and a ratchet stops any release that makes a quality figure worse. The figures from our own factory are public on the Quality and Report pages.

What does it cost to run?

Your Claude subscription and a Google Cloud project of your own: there is no server of ours in between. The factory reports what every car cost, in tokens and dollars.

What will the factory never do on its own?

Create or ask for a key, token or password, grant itself access, or apply a database change. Those steps stay yours, and the train lists them when it arrives.

Get on the waitlist

Rational Trains opens to a small group first. Leave your email and we will write when your place comes up.

We keep your email only to tell you about Rational Trains: no newsletter, no sharing. Reply to any email from us and we will delete it.