User repository on GitHub
Detect semantic stagnation in AI agent loops
- Forks
- 1
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
An npm package that supervises a running agent: one Jev systemOne call per check returns six semantic signals about recent steps, and a deterministic policy in your own code turns them into CONTINUE, WARN, REPLAN or HALT.
User repository on GitHub
Detect semantic stagnation in AI agent loops
Repo stats from the GitHub API, cached Oct 2026.
ProgressGate watches recent agent steps and looks for semantic stagnation: different actions that are still pursuing the same contradicted assumption. It's a small deterministic policy sitting on top of TypeSafe Jev semantic judgments — Jev reads the trajectory, code decides what to do about it.
Quoted from the project's README. Read the full README.
Watch out
The package is at v0.1, validated against 53 hand-labeled trajectories, a 50-trajectory adversarial set aimed at busywork-versus-exploration confusion, and a live Claude tool-calling agent test gated in real time, with no production deployments yet. The materialProgress signal can lag: one recorded case scored it 0.42 on a step whose result literally read that the deploy succeeded and /health returned 200, so do not read it alone as a success signal. It is used only as a veto on a stagnation call. The thresholds in src/sdk/policy.ts are a starting point to evaluate against your own trajectories before enabling automatic halt unattended. There is no done signal: it does not decide task completion, does not replace permission systems or retry and token budgets, guarantees nothing, and never executes or blocks a tool call. debugExplanation is development-only output and should not be parsed. Copy reviewed against the repository README on 2026-10-04, not from running it.
Posts from builders shipping with Jev right now.