agent-test-loop
Your agent says "done". This makes it prove it.
agent-test-loop is a deterministic critic: it runs the checks you declare (tests, build, lint,
a health endpoint, a secrets scan), captures the real output as evidence, and prints a score from
0 to 100. Below the threshold, delivery is blocked. No model calls, no network, no telemetry —
stdlib only.
Install
pip install agent-test-loop
Use
agent-test-loop --config loop.json
loop.json:
{
"name": "my-project",
"threshold": 85,
"max_rounds": 8,
"checks": [
{"name": "unit tests", "cmd": "pytest -q", "weight": 40, "timeout_s": 900},
{"name": "build", "cmd": "npm run build", "weight": 25, "timeout_s": 600},
{"name": "lint", "cmd": "ruff check .", "weight": 10},
{"name": "no secrets", "cmd": "gitleaks detect --no-banner", "weight": 15,
"fail_if_output_matches": "leaks found: [1-9]"},
{"name": "api responds", "cmd": "curl -sS localhost:8000/health", "weight": 10,
"must_match": "\"status\"\\s*:\\s*\"ok\""}
]
}
Output:
SCORE=100
GAPS=[]
EVIDENCE=.loop/round-1.json
Useful flags: --dry-run (validate the config without running), --quiet (only the three lines
above), --json (full report), --show-state (last round from .loop/).
What it does not do
It does not judge code quality, style, or intent — it measures whether the commands you declared actually pass. That is the point: the agent that wrote the code is not allowed to grade itself.
Need the full gate?
Visual diff that does not produce false positives, MCP handshake preflight, GPU training guard and the delivery-proof ebook:
- Full pack — https://skills.seu.pet/en/p/pack-completo?utm_source=pypi&utm_medium=readme&utm_campaign=agent-test-loop
- Guided setup, first cycle run together — https://skills.seu.pet/en/service?utm_source=pypi&utm_medium=readme&utm_campaign=agent-test-loop
MIT licensed.
Metadata
Release files for agent-test-loop 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agent_test_loop-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / agent_test_loop-1.0.0-py3-none-any.whl
| Download URL | agent_test_loop-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf205d67a6e02fa988bb96a52d1cd312d0337813674375983e9455e2889cf240
|
|
BLAKE2b-256 checksum How to use checksums |
5f05cf5525df2394154e84f00f3e513e546eb7e3a8e531846696677ad41214dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for agent-test-loop 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.