Turbo Flow

Drops a fail-closed cross-model review gate, a written constitution and git-versioned memory into any repo, so AI-written code is reviewed by another model family before a human merges.

Stars
★ 185
Last updated
2d ago
FARS reviewed
Dec 03, 2026
License
MIT
Primary language
Shell

At a glance

How it runs
CLI
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
bashGitHub CLI (gh) for --pr / --sweep / protect.shNode.js for the optional npm/npx install pathLogged-in coding-agent CLIs (Claude Code, Codex, or a GLM Coding Plan launcher) to do the reviewShell / CLINetwork accessLocal filesystem
Typical use
A small team letting Claude Code and Codex write code in parallel wants every PR reviewed by a different model family with an auditable verdict before a human merges.
Not a fit if
  • Teams with only one model subscription and no second family to review
  • Teams that want automated merges — the gate never merges
  • Teams expecting a hosted dashboard or SaaS console
Website
turboflow.online ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02
Source review
67/100 · Some gaps

What does this agent do, and when should you use it?

Turbo Flow v5 is a rules layer for AI-written code, shipped as rig-lite: a portable kit you drop into any repository. Its centrepiece is gate.sh, a cross-model review gate that runs free deterministic checks first, then requires a reviewer from a different model family to return a parseable APPROVED or REVISE — fail-closed, and it never merges. Around it sit a written constitution (constitution.md), a git-versioned memory pattern, per-writer git worktrees (wt.sh), one-command onboarding (init-repo.sh), fleet reporting (digest.sh), encrypted secrets (secret.sh), a token-burn dashboard (tokens.py) and a fail-closed self-test suite. It bundles no agent and no orchestrator, depends only on bash, and names harnesses by role: Claude Code, Codex, GLM, Gemini or Grok can all build, and the gate refuses a reviewer from the builder's own family. Output is concrete: local JSONL verdict logs, PR comments, and a gate-verdict commit status on the exact SHA reviewed, which protect.sh can convert into a required status check on main. Everything runs on the developer's machine and inside the repo; GitHub is only touched on the --pr / --sweep / protect.sh paths. Turbo Flow is MIT-licensed by Adventure Wave Labs (Marcus Patman); the v1–v4 orchestration environment was removed in v5, and the integrated commercial successor, Turbo Rig, is in private beta.

rig-lite/gate.sh is the gate: it runs deterministic checks, then hands the diff to a reviewer from a different model family and demands a parseable APPROVED or REVISE. --builder <cli> declares the builder's family and same-family review is auto-detected and refused; --pr <n> gates a GitHub PR and posts the verdict as a comment; --sweep gates every open PR that has no verdict yet; -C <repo> gates another checkout. Verdicts are pinned to the head they gated (gated-head: in the comment plus a commit status on that exact SHA), so new commits make a PR ungated again. The reviewer may only block for defects the diff introduces (the PRE-EXISTING rule); rounds are capped by GATE_ROUND_CAP (default 3) after which the gate exits 4 and hands the continue/park/restructure fork to a human (GATE_FORCE=1 overrides), and from round 2 the prior findings are passed back as scrubbed data. Companion tools: protect.sh turns gate-verdict into a required branch-protection status check, with gate-check.yml re-checking on every push and flipping the PR check green once APPROVED; wt.sh creates .worktrees/<name> plus a branch per parallel writer; init-repo.sh writes a thin AGENTS.md and the CLAUDE.md → AGENTS.md symlink and installs tf; digest.sh joins merge queue, gate verdicts, dirty/behind working copies, site liveness and repo hygiene into one report; tokens.py reads zcode + claude + codex + gate usage locally and read-only, with --watch and --json, plus Anthropic plan bars on macOS; secret.sh stores secrets encrypted at rest (Keychain → libsecret → age → loudly-warned chmod-600 plaintext); self-test.sh runs 410 fail-closed checks on the kit itself. The tf command wraps it all: tf gate, tf test, tf status, tf wt, tf secrets, tf tokens, tf digest, tf init, tf protect, tf completion.

  1. A small team letting Claude Code and Codex write code in parallel wants every PR reviewed by a different model family with an auditable verdict before a human merges.
  2. A solo developer on a GLM Coding Plan builds with claude-glm and reviews with plain claude, so tf gate --builder glm makes builder ≠ reviewer structural rather than a promise.
  3. A maintainer wants yesterday's APPROVED to stop silently covering today's commits, so verdicts pinned to the head plus --sweep re-gate anything that moved.
  4. A platform team wants main to reject ungated PRs by making gate-verdict a required status check via protect.sh, while keeping merge rights human-controlled.
  5. Someone running many repos and parallel branches uses tf wt for isolated worktrees and tf digest for one-shot fleet health across merge queue, verdicts and site liveness.
  6. A team already on Claude Code or Codex that does not want another orchestration stack can adopt only constitution.md, memory/ and automations/ as rule and routine templates.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run

How do you install or deploy this agent?

The documented one-liner stages ./rig-lite from a pinned, checksum-verified release:

curl -fsSL https://raw.githubusercontent.com/marcuspat/turbo-flow/main/rig-lite/install.sh | bash

The same kit is also published to npm (no clone; pin the version):

To onboard a repository you want to govern — writes AGENTS.md, installs tf, never clobbers existing files:

bash /path/to/turbo-flow/rig-lite/init-repo.sh
export PATH="$HOME/.local/bin:$PATH"
tf test      # prove the kit; README states 410 checks

Requirements are bash plus a logged-in coding-agent CLI for the review (Claude Code via /login, Codex via codex login). PR paths need the GitHub CLI; the README notes gh ≥ 2.48 for --slurp. Opening this repo in a Codespace is optional: postCreate runs the self-test and puts tf on PATH.

How do you use this agent?

Log the reviewer-side CLI in once per machine, then work from any branch a human or agent built:

tf test
tf gate --builder claude    # claude wrote it → a non-Anthropic reviewer checks it
tf gate --builder glm       # claude-glm wrote it → claude reviews (cross-family)

Gate a GitHub PR and post the verdict as a comment:

tf gate --pr 7 --builder codex    # codex wrote it → claude reviews
tf status                         # repo, verdict counts, tree health
tf help

The gate exits 0 (approved) or 1 (revise and re-run); past the round cap it exits 4 and hands the decision to you. It never merges. Daily parallel work and the wide view:

tf wt my-feature                  # isolated worktree + branch
tf digest                         # merge queue × verdicts × site liveness

To make the gate a GitHub rule (gate-verdict as a required status check), look before touching:

tf protect --dry-run
tf protect --status

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • least-privilege scoping

What are this agent's strengths and limitations?

Pros
  • A genuinely fail-closed cross-model gate: the reviewer must come from a different model family, and gate.sh refuses same-family review instead of silently degrading.
  • Verdicts are pinned to the head they gated (gated-head: plus a commit status on that SHA), so new commits re-open the PR and --sweep re-gates rather than trusting a stale approval.
  • The gate earned trust empirically: it was REVISE'd seventeen times by a family that did not write it before APPROVED, each fix became a self-test, and GATE_ROUND_CAP (default 3, exit 4 beyond it) stops runaway auto-rounds.
  • Pure bash with no bundled harness or new dependencies, and it names harnesses by role — Claude Code, Codex, GLM, Gemini, Grok — so you keep your editor and repo.
  • Everything leaves a trace: local JSONL verdict logs, digest.sh joining merge queue with verdicts, and tokens.py reading each CLI's usage read-only.
Limitations
  • Review needs at least two logged-in model families (subscription or API billing); the kit ships no model, so the real cost sits with the providers.
  • The PRE-EXISTING rule limits blocking to defects the diff introduces — existing defects become non-blocking notes, so this is not a full security audit.
  • protect.sh cannot make merging human-only: --require-review demands an approving review (an account permission), and any account with merge rights can still merge an approved PR.
  • The v1–v4 orchestration stack (peak 215+ MCP tools, 60+ agents) was removed in v5, and the fuller integrated successor Turbo Rig remains a private beta, so part of the roadmap is behind a closed product.
  • Quota bars and Keychain reads in tokens.py are macOS-specific (skip with --no-quota), and the README documents no native Windows path.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Turbo Flow This agent 67 · Some gaps CLIFree + model costs ★ 185 2d ago Shell Codex · Claude Code
CoCo Super Intelligence 64 · Some gaps Agent plugin / skillFree + model costs ★ 324 1d ago Python Codex · Claude Code
Compound Engineering 75 · Good Agent plugin / skill ★ 26k today TypeScript Codex · Claude Code
Workflow Plugin: Claude Workflow V2 47 · Major gaps Agent plugin / skillFree + model costs ★ 1.4k 2mo ago Python Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
67/ 100 5-point scale 3.4 / 5
Trust 19/29
Reliability 8/14
Adaptability 14/18
Convention 12/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

Evidence: gate-check.yml sets top-level `permissions: {}`, the verify job holds only `statuses: read` and checks out no PR code, and only the reconcile job gets `actions: write`, gated by an author_association allowlist (OWNER/MEMBER/COLLABORATOR) — least privilege is handled thoroughly, hence 3. User confirmation: the gate never merges, GATE_FORCE=1 is a conscious override, protect.sh offers --dry-run/--status, but no default interactive confirmation for destructive operations is shown, so 2. Data-flow transparency: README states tokens.py reads local CLI data read-only, that on macOS it reads the Claude OAuth token from the Keychain and queries the Anthropic usage endpoint, and that --no-quota skips both — well disclosed, but documentation-level only, 2. Sensitive data: secret.sh claims encryption at rest and names-only listing, yet the backend fallback chain ends in plaintext-with-a-warning, a pointable weakness, so not 3 — 2. Dependency security: pure bash with no new dependencies is a plus, but CI pins actions/checkout@v4, setup-node@v4 and github-script@v7 by tag rather than SHA, deducted, 2. External effects: posts PR comments, writes commit statuses, mutates branch protection, publishes to npm — all documented and dry-runnable, 2. Rollback: init-repo.sh never overwrites existing files and new commits un-gate a PR, but there is no documented uninstall or revert for branch-protection changes, 1. Source attribution: README credits Ruflo to rUv, attributes the 116-task figure to Xiang et al. (arXiv) and explicitly flags its earlier unattributed use — strong; however LICENSE names Brandon A Calderon-Morales while README says Adventure Wave Labs, an attribution inconsistency, so 2.

Reliability8 / 14 · 2.9/5

Evidence: the README badge says 5.4.0, the install snippet says 5.4.1, package.json says 5.4.1; README claims 410 checks while ci.yml cites a 419/419 reference run — in-repo numbers and versions contradict each other, so self_consistency is 1. Dependency availability: bash-only, old gh degrades to a WARN plus re-gate (the safe direction), missing shellcheck/tmux degrade to honest skips, 2. Failure messages: the gate distinguishes exit 0/1/4 (approved / revise / round cap) and CI failures name the next command, 2.

Adaptability14 / 18 · 3.9/5

Evidence: README uses a role table (builder/reviewer/orchestration) to show it works with any harness, plus Codespace and local paths; capability boundaries are stated unusually clearly — no harness bundled, never merges, protect.sh cannot guarantee human-only merges, fork PRs need a manual re-run, GATE_ROUND_CAP ceiling — hence 3. Trigger precision: --builder is mandatory, same-family reviewers are refused, --sweep vs --pr are distinguished, 2. Environment fit: CI deliberately reproduces umask 0002, GNU stat and non-root conditions that historically broke the self-test, showing real macOS/Linux handling, but only for the self-test suite, 2. Audience and scenarios: docs target multi-harness users, though examples cluster around the author's own ZCode/Claude/Codex setup, 2.

Convention12 / 18 · 3.3/5

Evidence: README is well structured and AGENTS.md supplies a repo map, information architecture 2; install notes give a curl one-liner, a pinned npx path and init-repo.sh, but curl|bash executes a remote script directly — a risk worth flagging — 2; tf subcommands and gate.sh names are stable and the v4→v5 breaking restructure is explained, 2; examples are plentiful with a Q&A-style section, 2; known limitations are the strongest area (fork PRs, protect.sh boundaries, gh version, round cap), 3; LICENSE is MIT and matches package.json, but the copyright holder differs from the README, 2; semver and tag history exist but no CHANGELOG ships and 5.4.0/5.4.1 drift, 1; maintenance responsibility: SECURITY.md gives a contact and 48/72-hour commitments, names Adventure Wave Labs and a public beta tracker, but the publisher is unverified and the contact is a personal Gmail address, 2.

Effectiveness9 / 13 · 3.5/5

Evidence: the gate emits parseable APPROVED/REVISE, a PR comment, a commit status and exit codes, so output is directly consumable by CI, 2; marginal value: the cross-model review gate plus written constitution plus git-versioned memory is a differentiated combination, but the value claims (868 verdicts, 79% REVISE) come from self-reported logs, 2; cost/benefit: zero new dependencies, deterministic checks first, a bundled token dashboard — the cost side is well evidenced, the benefit side remains self-asserted, 2.

Verifiability5 / 8 · 3.1/5

Evidence: README points each number at a public dossier and explicitly separates design decisions from measured data, and attributes the external paper result separately — claim_traceability 2, since the referenced external evidence is not in the packet and cannot be checked in place; README, AGENTS.md, package.json and the two workflows corroborate each other on gate behaviour, permission model and versions, but versions and check counts conflict, cross_source_corroboration 2; fact/inference separation is handled well (design choices and external results are labelled), though marketing framing still sits alongside factual statements, 2.

Risks and how to mitigate them
  • The primary install path is curl | bash, executing a remote script directly; prefer downloading and verifying the checksum first.
  • protect.sh cannot guarantee that only humans merge — it requires an approving review, not proof of who pressed merge; real merge control must be set at the GitHub account-permission level.
  • secret.sh's backend fallback chain ends in plaintext storage (with a warning), so on hosts without Keychain/libsecret/age secrets may land on disk unencrypted.
  • On macOS tokens.py reads the Claude OAuth token from the Keychain and queries the Anthropic usage endpoint by default; use --no-quota on shared machines.
  • The LICENSE copyright holder (Brandon A Calderon-Morales) does not match the Adventure Wave Labs entity named in the README, and the publisher is unverified — confirm the licensing entity before commercial use.
  • Version and self-test counts drift (badge 5.4.0 vs package 5.4.1; 410 vs 419 checks), so quote numbers from the actual repository files rather than the README.
Evidence confidence: Low Reviewed Dec 03, 2026 Reviewed revision 1e1a1c357dc3
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/turbo-flow.svg)](https://followagents.com/en/agents/turbo-flow)
<a href="https://followagents.com/en/agents/turbo-flow"><img src="https://followagents.com/badge/turbo-flow.svg" alt="FARS review"></a>
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts