Agent LensUnderstand what your AI coding agents are actually doing. Agent Lens gives you visibility into your GitHub Copilot, Claude Code, and OpenAI Codex CLI sessions — which agents ran, what models they used, how many tokens they consumed, and how your agent workflows connect.
Why Agent Lens?AI coding agents are powerful but opaque. When you use custom agents in GitHub Copilot or sub-agents in Claude Code, it's hard to know:
Agent Lens answers these questions by parsing your local session data and presenting it visually — right inside VS Code. FeaturesMetrics DashboardSee token usage, model distribution, agent activity, tool calls, and skill usage at a glance. Filter by provider (Copilot, Claude, Codex, or all). Spot unused agents and skills that might need attention. Agent & Skill ExplorerBrowse your agents and skills in the sidebar. See their tools, models, and handoff chains. Click to open the source file. Agent GraphInteractive DAG visualization of your agents, skills, and handoff connections. Zoom, pan, and hover for details. Session ExplorerReplay individual sessions as a timeline. See each request's agent, model, tokens, tool calls, and timing. Spot agent switches and model changes. Cache Token MetricsFor Claude Code sessions: see cache read tokens, cache creation tokens, cache hit ratio, and an input token breakdown showing cached vs non-cached input. Supported AI Tools
Session data stays local — Agent Lens only reads files already on your machine. Getting Started
Agent Lens automatically discovers sessions for your current workspace. No configuration needed in most cases. Devcontainers & Remote SSHIf your sessions live on a mounted host path, configure the directory manually:
Use the Agent Lens: Container Setup Guide command for step-by-step instructions. ContributingFound a bug or have an idea? Open an issue or submit a pull request. License |
