{"id":51217609,"url":"https://github.com/lylemi/agentmeter","last_synced_at":"2026-06-28T05:01:07.729Z","repository":{"id":367558043,"uuid":"1281302551","full_name":"LyleMi/AgentMeter","owner":"LyleMi","description":"Local-first observability dashboard for coding agent sessions, tracking tokens, costs, timing, and tool usage.","archived":false,"fork":false,"pushed_at":"2026-06-26T14:11:12.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-26T14:21:04.392Z","etag":null,"topics":["agent","codex-cli","usage-tracking"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LyleMi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"docs/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-06-26T12:21:04.000Z","updated_at":"2026-06-26T14:11:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/LyleMi/AgentMeter","commit_stats":null,"previous_names":["lylemi/agentmeter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LyleMi/AgentMeter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyleMi%2FAgentMeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyleMi%2FAgentMeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyleMi%2FAgentMeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyleMi%2FAgentMeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LyleMi","download_url":"https://codeload.github.com/LyleMi/AgentMeter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyleMi%2FAgentMeter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34877471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["agent","codex-cli","usage-tracking"],"created_at":"2026-06-28T05:01:07.019Z","updated_at":"2026-06-28T05:01:07.720Z","avatar_url":"https://github.com/LyleMi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AgentMeter\n\n[中文](README.zh-CN.md) | [English](README.md)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"frontend/src/assets/agentmeter-logo.png\" alt=\"AgentMeter logo\" width=\"180\"\u003e\n\u003c/p\u003e\n\n![Status: MVP](https://img.shields.io/badge/status-MVP-f2c94c)\n![Local first](https://img.shields.io/badge/local--first-yes-2f855a)\n![Platform: Cross-platform](https://img.shields.io/badge/platform-cross--platform-0078d4)\n![Backend: Go](https://img.shields.io/badge/backend-Go-00ADD8)\n![Frontend: Vue 3](https://img.shields.io/badge/frontend-Vue%203-42b883)\n![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)\n\nAgentMeter is a local-first dashboard for understanding coding-agent session\nusage: tokens, estimated cost, timing, session history, and tool-call behavior.\nIt reads local agent JSONL session files, indexes them into SQLite, and shows\nthe data in private local Web and terminal interfaces.\n\nNo proxy, no cloud service, no telemetry.\n\n## Why AgentMeter\n\nCoding agents leave useful local session data behind, but raw JSONL is hard to\ninspect directly. AgentMeter turns that data into answers you can use:\n\n- How many sessions did I run?\n- How many tokens did they consume?\n- What did those tokens roughly cost?\n- Which models, days, projects, or sessions used the most?\n- Which tools were called most often?\n- How long did sessions and tool calls take?\n\n## Features\n\n- Local Web dashboard for sessions, tokens, estimated cost, daily usage, model\n  usage, and tool-call analytics.\n- Offline audit view for command-risk and privacy/secret findings derived from\n  indexed local session data.\n- Terminal UI mode over the same database, indexing pipeline, pricing rules, and\n  query behavior.\n- Codex, Claude Code, CodeBuddy, WorkBuddy, and generic JSONL source detection.\n- Multiple source roots for developers running several local coding agents.\n- Incremental SQLite indexing with source path traceability and parse status.\n- Built-in pricing registry with unknown models clearly marked as `unpriced`.\n\n## Quick Start\n\nRequirements:\n\n- Go matching the version in `go.mod`\n- Node.js and npm\n\nRecommended local start:\n\n```sh\ngo run . -start\n```\n\nOpen:\n\n```text\nhttp://127.0.0.1:34115\n```\n\nOn first launch, click **Update Index** in the app. AgentMeter defaults to detected\nlocal agent homes such as `~/.codex` and `~/.claude`; you can add more source\nroots in **Settings**. **Update Index** scans only new or changed JSONL files;\n**Rebuild Index** clears indexed files for enabled sources and parses them all\nagain.\n\nFor manual startup, frontend HMR, TUI mode, data locations, and development\nchecks, see [Getting Started](docs/getting-started.md).\n\n## Privacy Model\n\nAgentMeter is designed to stay local:\n\n- Reads local session files only.\n- Does not proxy model traffic.\n- Does not upload session data.\n- Does not require a cloud account.\n- Stores normalized data in a local SQLite database.\n- Audit findings may store raw local evidence so command and privacy issues can\n  be inspected without leaving the machine.\n\n## Current Status\n\nAgentMeter is an MVP for local coding-agent JSONL usage. The Web UI is the\ndefault interface; the TUI is available as a terminal MVP over the same\napplication core.\n\nSee [Roadmap](docs/roadmap.md) for planned work.\n\n## Documentation\n\n- [Getting Started](docs/getting-started.md)\n- [Project Brief](docs/project-brief.md)\n- [Architecture](docs/architecture.md)\n- [UI Modes](docs/ui-modes.md)\n- [Data Model](docs/data-model.md)\n- [Session Formats](docs/session-formats.md)\n- [Pricing Sources](docs/pricing-sources.md)\n- [Validation](docs/validation.md)\n- [Roadmap](docs/roadmap.md)\n\n## Contributing\n\nIssues and pull requests are welcome, especially for parser edge cases, pricing\nupdates, packaging, and adapters for other coding agents.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flylemi%2Fagentmeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flylemi%2Fagentmeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flylemi%2Fagentmeter/lists"}