naimjeem

naimjeem / agent-lens

Public

Local dashboard for visualizing usage across seven AI coding agents - sessions, token costs, cache performance, tool calls, and daily breakdowns

10
5
100% credibility
Found May 08, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

Agent Lens is a local web dashboard that reads usage logs from various AI coding assistants to display statistics on sessions, token costs, cache performance, tool calls, and daily breakdowns.

How It Works

1
πŸ” Discover Agent Lens

You come across a helpful tool that tracks how you use your AI coding buddies on your computer.

2
πŸš€ Launch the dashboard

Start the tool with a quick command, and it begins working right away without any hassle.

3
πŸ•΅οΈ It finds your AI helpers

The dashboard automatically detects the AI coding apps you already have installed and their usage data.

4
🌐 Open in your browser

Head to a simple web address on your computer to see the colorful dashboard load up.

5
πŸ“Š Explore your stats

Check out easy charts showing sessions, costs, savings from smart caching, tool uses, and daily totals.

6
πŸ” Filter by helper

Switch views to focus on one AI buddy or see everything combined, and adjust cost estimates if needed.

πŸŽ‰ Control your AI usage

You now clearly see how much each AI costs you and how effectively you're using them every day.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is agent-lens?

Agent-lens is a local Node.js dashboard that pulls usage data from eight AI coding agents like Claude Code, Cursor, GitHub Copilot, and Gemini CLI, showing sessions, token costs, cache hit rates, tool calls, and daily breakdowns in one view. It auto-detects data paths across macOS, Linux, and Windows, letting you filter by agent or aggregate everything. Fire it up with `npx github:naimjeem/agent-lens` and hit localhost:3456β€”no install required.

Why is it gaining traction?

Unlike single-agent tools like claude-lens, agent-lens handles multiple agents at once, with per-agent pricing tweaks via .env and cache savings estimates based on real rates. You get today vs. all-time stats, tool usage breakdowns, and project-level insights without cloud logins or manual exports. The agent selector and quick npx launch make it dead simple for devs switching tools.

Who should use this?

AI coding enthusiasts running local agents like Cursor in their IDE, Claude Code CLI for terminal workflows, or Copilot chats in VS Code. Perfect for token-budget trackers optimizing cache on OpenCode or Gemini, or teams auditing tool calls across projects. Skip if you're locked into one agent or cloud-only services.

Verdict

Grab it if you juggle agentsβ€”solid docs and cross-platform paths make it usable out of the gate, despite 10 stars and 1.0% credibility signaling early maturity. Test locally before relying on it for production spend tracking.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.