agentlens

A local tool for inspecting what coding agents did in their sessions, including logs and tool calls. It supports agents such as Codex, Claude, Cursor and Gemini.

Share on XNo license declared

Overview

AgentLens is a local observability tool for coding agent sessions. It gathers scattered logs, tool calls and session state from Codex, Claude, Cursor, Gemini, Pi and OpenCode into one place, so you can inspect traces live, compare sessions and move from a summary down to event-level detail. It runs from the command line or in a browser.

Key features

  • Inspects sessions from Codex, Claude, Cursor, Gemini, Pi and OpenCode
  • Browser view plus CLI commands for summaries and session lists
  • Compare sessions and drill into events
  • Helper script to view a remote host's sessions locally

Best for

Developers debugging failed agent workflows who want logs and tool calls in one local view. Run it with npx or install it with npm.

Upstream
RobertTLange/agentlens
Fork on GitHub
Guo-astro/agentlens
Upstream stars
36
Category
AI agents and LLM tools
Language
TypeScript
License
No license declaredWithout a license, the author keeps all rights. Ask the upstream owner before reusing the code.
Forked
2026-03-08
Sync status
In syncLast synced 2026-09-29