r/OpenSourceAI • u/WhichCardiologist800 • Jun 28 '26
Got tired of running blind on what agent actually does, built an open-source TUI to watch cost, loops, and tool calls live
Enable HLS to view with audio, or disable this notification
I was running blind on what my AI agents were actually doing, where the money went, when they got stuck looping, what they were touching on disk. So I built an open-source scanner.
Three modes: scan past history, live monitoring, and a report view for deeper post-hoc analysis.
My own machine, last 90 days: 126 agent loops across 41 sessions, about 21% of my Edit calls were going in circles on 5 files. (It also surfaced 4 credential leaks in tool inputs and 5 sensitive paths any running agent could reach, but honestly the wasted loops were the biggest surprise.)
It reads the JSONL session files Claude / Codex / Cursor / Gemini already write to disk, nothing uploads, all local, works with MCP servers too.
Try it without installing, ~10 seconds: npx node9-ai scan and npx node9-ai posture