Skip to content

Add loopguard — session transcript watchdog (loop/oscillation/stall alerts) - #298

Open
ruslanlap wants to merge 1 commit into
RoggeOhta:mainfrom
ruslanlap:add-loopguard
Open

ruslanlap wants to merge 1 commit into
RoggeOhta:mainfrom
ruslanlap:add-loopguard

Conversation

@ruslanlap

Copy link
Copy Markdown

Adds loopguard to Cross-Agent Tools.

What it does: a zero-dependency Python CLI that tails AI agent session transcripts (Codex CLI function_call JSONL schema supported natively) and alerts — console + optional Telegram — when the agent repeats the same tool call, oscillates A→B→A→B, or stalls with no new events. Exit codes make it usable in CI/cron.

Why here: directly useful to Codex CLI users who leave long sessions running; parses Codex's native session format. Stdlib-only, MIT, 41 tests, CI matrix (linux/macOS/windows × Python 3.10/3.13).

Follows the CONTRIBUTING format (description + star badge). Happy to move to another section if Cross-Agent Tools isn't the right fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant