{"id":44659977,"url":"https://github.com/23min/agent-lens","last_synced_at":"2026-04-02T00:55:23.496Z","repository":{"id":338181505,"uuid":"1156589953","full_name":"23min/agent-lens","owner":"23min","description":"VS Code extension that visualizes your AI coding agents (GitHub Copilot, Claude Code) as an interactive graph. Parses chat sessions to surface usage metrics.","archived":false,"fork":false,"pushed_at":"2026-02-14T23:52:54.000Z","size":972,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-15T04:35:16.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/23min.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-12T20:27:50.000Z","updated_at":"2026-02-14T23:52:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/23min/agent-lens","commit_stats":null,"previous_names":["23min/copilot-lens","23min/agent-lens"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/23min/agent-lens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23min%2Fagent-lens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23min%2Fagent-lens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23min%2Fagent-lens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23min%2Fagent-lens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/23min","download_url":"https://codeload.github.com/23min/agent-lens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23min%2Fagent-lens/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29600347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T00:59:38.239Z","status":"ssl_error","status_checked_at":"2026-02-19T00:59:36.936Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-14T23:08:20.409Z","updated_at":"2026-04-02T00:55:23.482Z","avatar_url":"https://github.com/23min.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agent Lens\n\n[![CI](https://github.com/23min/agent-lens/actions/workflows/ci.yml/badge.svg)](https://github.com/23min/agent-lens/actions/workflows/ci.yml)\n[![VS Code Marketplace](https://img.shields.io/visual-studio-marketplace/v/Proliminal.agent-lens)](https://marketplace.visualstudio.com/items?itemName=Proliminal.agent-lens)\n\n**Understand what your AI coding agents are actually doing.**\n\nAgent 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.\n\n![Metrics Dashboard](assets/screenshots/donuts.png)\n\n![Session Timeline](assets/screenshots/session-timeline.png)\n\n## Why Agent Lens?\n\nAI 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:\n\n- Which agents are doing the most work?\n- How are tokens distributed across models?\n- Are your custom agents and skills actually being used?\n- How do your agents hand off work to each other?\n\nAgent Lens answers these questions by parsing your local session data and presenting it visually — right inside VS Code.\n\n## Features\n\n### Metrics Dashboard\n\nSee token usage, model distribution, agent activity, tool calls, and skill usage at a glance. Filter by provider (Copilot, Claude, Codex, or all), narrow by time scope (All time, Today, Last hour), scope to a project (All projects, Current project, or a named project), or drill into a single session with the session picker. Spot unused agents and skills that might need attention.\n\n### Agent \u0026 Skill Explorer\n\nBrowse your agents and skills in the sidebar. See their tools, models, and handoff chains. Click to open the source file.\n\n### Agent Graph\n\nInteractive DAG visualization of your agents, skills, and handoff connections. Zoom, pan, and hover for details.\n\n### Session Explorer\n\nReplay individual sessions as a timeline. See each request's agent, model, tokens, tool calls, and timing. Spot agent switches and model changes. Sessions that used a custom agent or Copilot skills show compact badges at a glance. Browse sessions across all your projects or filter to just the current workspace.\n\n### Cache Token Metrics\n\nFor Claude Code sessions: see cache read tokens, cache creation tokens, cache hit ratio, and an input token breakdown showing cached vs non-cached input.\n\n## Supported AI Tools\n\n| Tool | What Agent Lens reads |\n|------|----------------------|\n| **GitHub Copilot** | Chat session JSONL files from VS Code workspace storage. Detects custom agents (from `.github/agents/`) and skills (from `.github/skills/`). |\n| **Claude Code** | Session JSONL files from `~/.claude/projects/`. Detects custom agents and skills, parses sub-agent sessions and prompt caching metrics. |\n| **OpenAI Codex CLI** | Rollout JSONL files from `~/.codex/sessions/`. Parses turn-level token usage with cumulative delta computation, tool calls, and model tracking. |\n\nSession data stays local — Agent Lens only reads files already on your machine.\n\n## Getting Started\n\n1. Install Agent Lens from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Proliminal.agent-lens)\n2. Open a project where you've used GitHub Copilot or Claude Code\n3. Look for the **Agent Lens** icon in the activity bar\n4. Click **Show Metrics Dashboard** or **Session Explorer** to explore your sessions\n\nAgent Lens automatically discovers sessions across **all your projects** by default. No configuration needed in most cases.\n\n### Devcontainers \u0026 Remote SSH\n\nIf your sessions live on a mounted host path, configure the directory manually:\n\n| Setting | Description |\n|---------|-------------|\n| `agentLens.sessionDir` | Path to Copilot chat session files (or a `workspaceStorage` root) |\n| `agentLens.claudeDir` | Path to Claude Code project files (e.g., a mounted `~/.claude/projects`) |\n| `agentLens.codexDir` | Path to Codex CLI sessions directory (e.g., a mounted `~/.codex/sessions`) |\n| `agentLens.discoverAllProjects` | Discover sessions from all projects (default: `true`). Disable to show only current workspace sessions. |\n\nUse the **Agent Lens: Container Setup Guide** command for step-by-step instructions.\n\nFor a detailed breakdown of what Agent Lens can and cannot see in each environment — including how agent and skill detection works, common pitfalls, and data freshness — see the [session discovery guide](docs/session-discovery.md).\n\n## Contributing\n\nFound a bug or have an idea? Open an [issue](https://github.com/23min/agent-lens/issues) or submit a pull request.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F23min%2Fagent-lens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F23min%2Fagent-lens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F23min%2Fagent-lens/lists"}