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
You switch between Cursor, Windsurf, Claude Code, VS Code Copilot, and more — each with its own siloed conversation history.
Agentlytics reads local chat history from every major AI coding agent and presents a unified analytics dashboard. Nothing leaves your machine.
Seven dedicated pages to understand your AI coding workflows — from high-level stats to individual tool calls.
KPIs, activity heatmap, editor breakdown, coding streaks, token economy, peak hours, top models & tools.
Search, filter, and read full conversations with syntax highlighting. Open any chat in a slide-over sidebar.
Estimate your AI spend broken down by model, editor, project, and month. Spot your most expensive sessions.
Per-project analytics: sessions, messages, tokens, models, editor breakdown, and drill-down detail views.
Tool frequency heatmaps, model distribution, token breakdown, and filterable drill-down analytics.
Side-by-side editor comparison with efficiency ratios, token usage, and session patterns.
Live view of your editor plans, usage quotas, remaining credits, and rate limits across Cursor, Windsurf, Claude Code, Copilot, and more.
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.
One command. No config. No signup.
$ npx agentlytics
Opens at http://localhost:4637. Requires Node.js ≥ 20.19 or ≥ 22.12.
$ npx agentlytics --collect
Build the SQLite cache without starting the web server.
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.
$ npx agentlytics --relay
Optionally protect with a password:
$ RELAY_PASSWORD=secret npx agentlytics --relay
$ npx agentlytics --join <host:port> --username <name>
Username auto-detected from git config user.email.
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