{"repo":"luoyuctl/agenttrace","free":true,"listed":false,"github":"https://github.com/luoyuctl/agenttrace","clone":"git clone https://github.com/luoyuctl/agenttrace.git","description":"Local-first Rust TUI/CLI for auditing AI coding-agent sessions: cost, tokens, latency, failures, and health｜本地优先 Rust TUI/CLI，审计 AI 编程 Agent 会话的成本、Token、延迟、失败与健康度","language":"Rust","stars":120,"topics":["ai-agents","tui","claude-code","codex-cli","gemini-cli","cursor","token-usage","ai-cost-tracking","ai-agent-observability","opencode"],"license":"MIT","category":"cli-tools","readme_excerpt":"AgentTrace Local-first TUI and reports for AI coding-agent session history, cost, tokens, time, and slow-run diagnosis. English 简体中文 --- agenttrace is a local-first terminal TUI and report generator for AI coding-agent session history. It reads Claude Code, Codex CLI, Gemini CLI, Qwen Code, Cline, Aider, Cursor exports, Hermes Agent, OpenCode, OpenClaw, Pi, Oh My Pi, Kimi CLI, Copilot-style logs, and generic JSON/JSONL traces, then helps with two daily jobs: see what multiple agents spent across cost, tokens, and time; and diagnose why a task ran slowly. One agenttrace binary provides both interfaces: run it without a report action to open the TUI, or pass flags such as --sessions and --overview for CLI output. Why agenttrace? AI coding agents now behave like small build systems: they call tools, retry, stall, and spend tokens while you only see the final answer. agenttrace reads the logs your agents already write and puts cost-heavy or slow sessions first. It helps you answer: - What did my agents spend? Compare historical sessions by agent source, model, input/output/cache tokens, estimated cost, and wall-clock time. - Why was this task slow? Catch long gaps, hanging sessions, retry loops, slow tool calls, large parameters, and context pressure. - Did a run regress? Compare against a local baseline when supplied, then inspect incident timelines and conservative tool authority categories in reports. - What should I inspect first? Rank sessions by cost, duration, turns, healt","default_branch":null,"files":null,"tree":[],"storefront":"/r/luoyuctl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/luoyuctl/agenttrace/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}