kenn-io/agentsview
Local-first Go and SQLite app for coding-agent session search and cost tracking
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
AgentsView is a Go session archive and analytics application, not an agent runtime. On startup it discovers supported session sources, syncs them into local SQLite, and serves the browser UI and API. The web UI, API, sync, and file watchers share one server process, launched with agentsview serve in the foreground or agentsview daemon start in the background. The desktop app and ordinary session CLI commands can share a detached daemon, while daily reports can read saved archive data without one.
The Docker build compiles the frontend/ assets with Node 24.22.1 before the Go 1.27.4 build. The SQLite vector bindings use cgo, adding a native build dependency rather than requiring a separate vector server for the local path. openapi.yaml defines an integration surface alongside the CLI, and go.mod includes Huma v2 and fsnotify. Supported S3 sources and PostgreSQL-backed serving are optional paths, not prerequisites for the local archive.
Key Capabilities & Differentiators
SQLite FTS5 searches message content across agents, with project and date filters and optional CJK search, including Chinese segmentation through simple/cppjieba. Semantic search is opt-in, uses local embeddings by default, and falls back to keyword search while indexing is incomplete. Optional OCR makes tool-result images searchable. Chrome Sync imports supported ChatGPT, Gemini Apps, and Grok web history alongside coding-agent sessions.
Usage reports handle cache creation and read tokens, offer per-model breakdowns and timezone-aware date buckets, and use LiteLLM and OpenRouter rates with an offline fallback. Per-session usage exposes output tokens, peak context, pricing availability, and unpriced models; diagnosis adds context growth, compactions, large tool results, and retry candidates. agentsview report stats --format json emits schema version 1 for session, tool, and cache analytics. For CI, agentsview capture run records one non-interactive Claude Code or Codex invocation without a daemon.
Trade-offs & Limitations
Compared with native agent history, AgentsView trades an extra archive and sync step for cross-agent search and reporting. Compared with provider billing dashboards, it lets you investigate the transcripts and usage behind a cost estimate, but that estimate is not an invoice: coverage depends on the logs and model pricing. Repository attribution in v0.49.1 likewise depends on tool working directories or explicit file paths; without that evidence, a reply falls back to the session repository. Daily reports read saved data, so sync first when freshness matters.
Coverage is bounded by what each agent leaves accessible. Aider needs an explicit history directory, and Amp support is deprecated because newer versions may leave only local stubs. Git-derived outcome metrics are opt-in because large or missing repositories can make collection slow or brittle. Local storage simplifies data custody, but transcripts and mirrors still need access controls and retention rules. Default secret masking on export is useful, not a substitute for reviewing an export before sharing it.
Hardware & Deployment Guide
For a workstation, use the standalone CLI on macOS, Linux, or Windows, or the desktop app on macOS or Windows. agentsview serve starts the local UI at http://127.0.0.1:8080. Basic SQLite search and reporting do not require PostgreSQL, an embedding service, or a GPU. Budget disk for the archive and indexes, and measure first-sync and indexing overhead on representative data before rolling out optional semantic search or OCR. Node and Go are source-build dependencies, not separate services needed by the published image.
For Docker, persist /data in a named volume and mount each required agent log root read-only; the image runs as root and cannot discover unmounted sources. It listens on 0.0.0.0 inside the container and requires a bearer token by default. Keep host port publication on loopback unless remote access is intentional. For forwarded or proxied access, use --public-url for the exact browser origin; it does not set up a listener or proxy. Enable --require-auth when exposing the native server beyond loopback. Recent releases added incremental Chrome Sync for ChatGPT in v0.48.0, whole-session JSON Lines export in v0.49.0, and reply-level repository attribution for Claude Code and Codex reports in v0.49.1.
--by-machine, using tool working directories and explicit file paths to attribute Claude Code and Codex replies.agentsview capture run preserves child streams and exit outcomes and writes versioned usage data without starting the daemon.pg-serve mode.Developers and platform teams that use multiple coding agents and need to find past decisions, investigate costly sessions, or automate usage reports from accessible logs.
You only need a single agent's native history, need invoice-grade reconciliation, or expect complete coverage from agents whose transcripts you cannot access.
Quick Start & Installation
curl -fsSL https://agentsview.io/install.sh | bash
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agentsview ★ | 6.6k | +63 | Go | MIT | Local-first Go and SQLite app for coding-agent session search and cost tracking |
| multica | 59.1k | +891 | Go | — | A shared task board that dispatches coding agents to machines you control. |
| pentagi | 35.7k | +489 | Go | MIT | Self-hosted multi-agent penetration testing with logs and reports for human revi |
| hermes-agent | 268.1k | +1.5k | Python | MIT | Self-hosted Python agent with persistent memory and automation across chat and C |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/kenn-io/agentsview.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agentsview
How do I integrate AgentsView with an internal reporting pipeline?
agentsview source sync before generating reports that need newly written logs. Use agentsview report usage daily --json for daily usage, agentsview report stats --format json for versioned session analytics, or GET /api/v1/sessions/{id}/usage for per-session data. The API represents costs as integer microdollars and reports whether pricing is available. In Docker, mount each required source directory and configure its corresponding path.Do I need a GPU, and how should I size the host?
Can a company self-host it, and what compliance work remains?
When should I use it instead of native agent history or provider billing dashboards?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy