100% local — no data leaves your machine

Your Gemini CLI Cursor Windsurf Claude Code VS Code Gemini CLI Zed
sessions, understood. analyzed. unified. tracked. compared. visualized. understood.

One command to turn scattered AI conversations from 16 editors into a unified analytics dashboard. Sessions, costs, models, tools — finally in one place.

$ npx agentlytics click to copy
View on GitHub
Free & open source No accounts No cloud
Terminal
$ npx agentlytics
(● ●) [● ●] Agentlytics
{● ●} <● ●> Unified analytics for your AI coding agents
Looking for AI coding agents...
Cursor498 sessions
Windsurf20 sessions
Windsurf Next56 sessions
Antigravity4 sessions
Claude Code6 sessions
VS Code23 sessions
VS Code Insiders66 sessions
Zed1 session
OpenCode2 sessions
Codex3 sessions
Gemini CLI2 sessions
Copilot CLI1 session
Cursor Agent7 sessions
Command Code2 sessions
Goose6 sessions
Kiro3 sessions
(● ●) [● ●] {● ●} <● ●> 691 analyzed, 360 cached (27.1s)
✓ Dashboard ready at http://localhost:4637
The problem

You use multiple AI coding agents but have zero visibility

You switch between Cursor, Windsurf, Claude Code, VS Code Copilot, and more — each with its own siloed conversation history.

  • You use multiple editors on the same project but sessions are scattered across each one
  • No idea how many sessions you've had across editors
  • No clue how much you're spending on AI tokens
  • Can't compare which editor is more effective
  • Can't search across all your AI conversations
  • No way to share session context with your team
  • No unified view of your plans, credits, and rate limits
The solution

One command. Full picture. All local.

Agentlytics reads local chat history from every major AI coding agent and presents a unified analytics dashboard. Nothing leaves your machine.

  • Unified dashboard — KPIs, heatmaps, streaks, breakdowns
  • Cost estimates — by model, editor, project, month
  • Session browser — search & read any conversation
  • Editor comparison — side-by-side efficiency ratios
  • Subscriptions — live plan, credits & rate-limit overview
  • Team relay — share sessions via MCP across your team
Agentlytics dashboard

Everything in one place

Seven dedicated pages to understand your AI coding workflows — from high-level stats to individual tool calls.

Dashboard

KPIs, activity heatmap, editor breakdown, coding streaks, token economy, peak hours, top models & tools.

Sessions

Search, filter, and read full conversations with syntax highlighting. Open any chat in a slide-over sidebar.

Costs

Estimate your AI spend broken down by model, editor, project, and month. Spot your most expensive sessions.

Projects

Per-project analytics: sessions, messages, tokens, models, editor breakdown, and drill-down detail views.

Deep Analysis

Tool frequency heatmaps, model distribution, token breakdown, and filterable drill-down analytics.

Compare

Side-by-side editor comparison with efficiency ratios, token usage, and session patterns.

Subscriptions

Live view of your editor plans, usage quotas, remaining credits, and rate limits across Cursor, Windsurf, Claude Code, Copilot, and more.

16 editors and counting

If it has an AI coding agent, we probably support it. All data is read from local files and APIs.

Editor Messages Tools Models Tokens
Cursor
Windsurf
Windsurf Next
Antigravity
Claude Code
VS Code
VS Code Insiders
Zed
OpenCode
Codex
Gemini CLI
Copilot CLI
Cursor Agent
Goose
Kiro
Command Code

Windsurf, Windsurf Next, and Antigravity must be running during scan.

Get started in seconds

One command. No config. No signup.

Run the dashboard
$ npx agentlytics

Opens at http://localhost:4637. Requires Node.js ≥ 20.19 or ≥ 22.12.

Collect only (no server)
$ npx agentlytics --collect

Build the SQLite cache without starting the web server.

Team feature

Relay

Share AI session context across your team. One person starts a relay server, others join. An MCP server is exposed so AI clients can query across everyone's coding history.

Start a relay

$ npx agentlytics --relay

Optionally protect with a password:

$ RELAY_PASSWORD=secret npx agentlytics --relay

Join a relay

$ npx agentlytics --join <host:port> --username <name>

Username auto-detected from git config user.email.

MCP Tools

Connect your AI client to http://<host>:4638/mcp

list_users

List all connected users and their shared projects

search_sessions

Full-text search across all users' chat messages

get_user_activity

Get recent sessions for a specific user

get_session_detail

Get full conversation messages for a session

Try it now

One command. Takes ~30 seconds to scan and analyze all your sessions.

$ npx agentlytics click to copy
npm editors license