SuperAPI AI Directory

rung

Deterministic, AI-free CI gate that checks whether an AI coding agent ran the checks it claims: reads an evidence bundle from the real run and passes or blocks the build. Ships as a GitHub Action, CLI, and agent-agnostic skill.

Open website

About this tool

The core problem rung solves: when an AI coding agent says "verified, works fine," you cannot know what it actually did—maybe it ran the real program and observed the result, maybe it just read the code and thought it should work, maybe it ran a test that does not touch the real surface at all. All three cases return the same word "verified," so a change that no one actually ran can go live under the name "verified." This word is the agent's self-report, with no record to check.

rung records two things, then turns them into a judgment that a plain program can re-check:

One, how real the check was. Did the agent drive the real surface (the actual CLI, server, or API) and capture what it did? Or did it only reason about the code, or run tests in an isolated environment? Only running the real thing counts as observed.

Two, who checked. The agent that made the change itself, or an independent reviewer?

Three, the deterministic gate. An ordinary program reads the recorded evidence and passes or blocks: no AI calls, no judgment, no network. "You claim you verified this, but nothing shows you ran it" → block.

Every judgment permanently produces the gate logic (gate_sha256) and policy (policy_sha256) that produced it, so decisions are reproducible and traceable to a specific gate and policy.

rung's levels (rung, meaning ladder) are determined by two questions: did anyone run the real thing? rung 0 = no (reasoning or isolated tests) · rung 1 = yes (drove the real surface). Who checked: the author themselves, or an independent party? The goal is the upper right: real execution, confirmed by someone other than the author. The default policy is "shipped means observed": reasoning alone cannot go live, and the higher the cost of a change going wrong, the more independence is required.

How to use it: rung does not come with its own agent; users bring their own existing agent. Install the tool (Python 3.9+, no dependencies; rung run starts and terminates real processes via process groups, so it requires a POSIX platform, while gate and attest can run in any Python environment). Load the skill into the agent: the skill is a pure markdown prompt included in the package, placed after installation where the agent looks for it, turning "verification" into "drive the real surface and record it." Run rung skill --print to see what it tells the agent. Have the agent verify during work: it runs in its own loopThe real thing, rung captures what happened and checks it. rung run mytool --check runs the command, captures the output, records it, and checks it against the default policy; exit code 0 means the claim holds, non-zero means it does not, so the same command is both the agent's verification step and the CI gate.

The agent must explicitly set the run dimensions: --rung (0 or 1, whether a real surface was observed), --surface (cli, server, library, gui, agent, ci), --method (single, or differential for before-and-after comparison with --expect-delta and --diff-channel). There is no independence flag: running it yourself is always the author context, and independent cross-model review is attached separately to the record via rung attest. The exit code is the contract: treat both 30 and 2 as no-ship. An existing record can be checked on its own: rung gate bundle.json. To attach independent review: a second model or lab re-examines the recorded artifact and records its verdict, promoting the claim to an independent context and re-gating it, which is the only way to reach independent.

rung's full surface is just three commands: run produces a checked record, attest attaches independent review, gate checks a record.

Who it is for: agent builders who want agents to self-verify in a way that has teeth; teams who want "verified" in a PR to mean a real run happened and is on record, enforced at merge time rather than accepted on trust.

Difference from tests, linters, and AI reviewers: tests/CI tell you that some check passed, rung tells you that a real run happened and is recorded—green CI for a suite that never touches a real surface is still rung 0. Linters/type checkers reason about code, rung focuses on whether the thing that ran was observed. AI reviewers read changes and give opinions, rung runs it and records what happened, giving reviewers something real to inspect rather than self-reporting.

Difference from other tools: build provenance (SLSA, in-toto) records how artifacts were built and by whom, and signs it; rung records how changes were verified and how real the verification was; build provenance and run realness are two different things. Policy engines are also deterministic and offline, but general-purpose policy engines do not have the vocabulary for "whether a real run happened, whether it was captured byte-for-byte,"rung provides these terms. The test reporter has no axis for whether a real surface was driven, and no concept of who checked. Evaluation frameworks use models or graders to score output quality; rung does not make quality judgments, does not run models, and does not touch the network. It records portable proof that a "real run happened" for each change and gates it offline. What rung fills is the intersection: run realness (rung 0 vs 1) × who checks × portable per-change records × offline, no-encryption, natively agent-loop-adapted gating. rung holds no keys and verifies no signatures; signatures, key custody, trust roots, and transparency logs are left to the existing ecosystem. What the gate checks is structure: an independent reviewer is in the record, their model or lab differs from the producer's, and their verdict is bound to the captured bytes that the gate itself re-hashed. Existence, not truthfulness.

What rung does not claim: it checks that work was shown, that is, that a real run happened and was recorded so anyone can re-check it; it does not judge whether the check was clever or complete, nor does it prove that an independent reviewer is truly independent. It makes claims accountable so that hollow "verified" can be caught. Quality remains the reviewer's judgment.

FAQ: No AI agent or subscription is needed—rung is free and standalone, pip install rung-ai, no account, no API key, no network, and it can also be run entirely manually. It does not call models and does not send code anywhere—the gate is an ordinary program that reads files, hashes, and decides. It is not just running tests—tests check behavior, rung checks that a check happened and was recorded. What if the agent lies in the record? rung re-derives as much as possible from the captured bytes, and humans re-check the rest, making claims accountable rather than unforgeable. Does it slow down the agent? No, the gate is fast, local, and deterministic; the only cost is the run itself.

Other ways to install and run: pipx/uv (pipx install rung-ai, uv tool install rung-ai, uvx --from rung-ai rung gate bundle.json); Homebrew (brew tap rung-dev/tap, brew install rung); container (docker run --rm -v "$PWD:/w" -w /w ghcr.io/rung-dev/rung:0.7.1 gate bundle.json, the exit code is the gate verdict); GitHub Actions (uses: rung-dev/rung@v0.7.1, a non-zero exit means the build fails); run from a source checkout (PYTHONPATH=src python3 -m rung.cli gate bundle.json). Apache 2.0 license.