The run defines its own stopping point.
- Cost appears after provider calls
- Retries continue without a hard routed cap
- Candidate changes may include the verifier
- Green CI may rely on changed evidence
Public product · open source
The product addresses two different control failures: routed AI calls can spend without a hard ceiling, and AI-generated pull requests can modify the same checks used to approve them.
Failure model
An agent can keep retrying after useful progress stops. A pull request can also alter workflows, tests, or verifiers. Runcap separates spend control from merge evidence and states the scope of each.
Applies only to OpenAI or Anthropic requests routed through the local Runcap gateway. It does not control subscriptions, direct calls, cards, or unrelated tools.
Current documented scope is GitHub Actions and Node/npm repositories. It checks permitted changes and replays base-pinned verification.
One measured OpenAI edited-file reread fell from 1,186 to 737 prompt tokens, 37.9% fewer, while preserving the correct answer. This is one result, not a universal saving.
The repository includes installation, current product status, tests, trust model, consumer setup, and token evidence.
Current product
The product page contains the live demo, installation path, and current limitations.