Repository navigation
v0.1.0
v0.1.0 — first public cut
Agent loop detector: find where an AI agent looped and burned tokens, before it runs again. Zero-dependency CLI.
Run it
python gate.py check examples/trajectory.jsonl --window 6 --repeat-threshold 3The bundled examples/ are designed to fail — that is the demo, not a bug.
What is verified (not claimed)
- Zero dependencies: one file, standard library only, Python 3.9+
- Every output quoted in the README is real stdout from this repo, not a mock-up
- CI runs this gate on every push — the badge at the top is live, click it and read the log
- Exit code is meaningful:
0clean, non-zero when it finds something
What it does not do
- It does not intercept live calls — it reads what already happened.
License
Code: Apache-2.0 · Spec & docs: CC BY 4.0