← Back to Leaderboard
SKIvanow

KIvanow/sessionly

Local-first ledger for coding-agent spend and the lines that survive PR review

Engineering Health (Methodology)
A · 80/100
Maintenance Activity
● Updated today
Latest Release
v0.10.2
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption5/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedCLI
Total Stars
★ 189
24h Growth
+0
7d Growth
+1
Forks
6

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

KIvanow/sessionly Star History (2026-11-15 - 2026-12-04) DAILY STAR HISTORY (20-DAY D1 TELEMETRY) +188 in 19d · avg +10/day 199 100 0 2026-11-15: ★ 12026-11-17: ★ 12026-11-19: ★ 12026-11-21: ★ 12026-11-23: ★ 1232026-11-25: ★ 1882026-11-27: ★ 1882026-11-29: ★ 1892026-12-01: ★ 1892026-12-03: ★ 1892026-12-04: ★ 189 ★ 189 11-15 11-24 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Sessionly separates local collection from optional team reporting. The Rust binary in crates/sessionly reads Claude Code and Codex hook events, Cursor and Grok session files, and the OpenCode database. It also reads agent transcripts and session files for model, token, and cost data, then normalizes observations into a derived SQLite ledger at ~/.sessionly/ledger.db. The hook takes 2–4 ms to append an event and is observational: it cannot block or change an agent session.

sessionly install --repo configures repository-carried capture for supported cloud workflows. On sync, the CLI checks which lines added by a session still exist in current files. If connected, it applies the chosen content level and makes paths relative before upload. For PR attribution, the GitHub Action in action/ and the session uploader send line hashes rather than source code; the server does the matching without writing commit notes or trailers. The TypeScript workspace declares Node.js ≥22.18, and the optional Compose server pairs the dashboard application with PostgreSQL. Hooks and native session stores, not an MCP protocol endpoint, are the integration surfaces.

Key Capabilities & Differentiators

The CLI makes five agents—Claude Code, Codex, Cursor, Grok, and OpenCode—queryable through one session model. sessionly list supports filtering and text search; sessionly summary groups totals by user, repository, model, tool, or day; sessionly show <session> drills into cost, prompts, files, tools, and subagents. The two retention views answer different questions: local sync checks whether added lines are still present in the working files, while PR reporting links session contributions and models to what remains in the pull request after review.

A 25 November 2026 snapshot illustrates both the output and the gaps: 39 sessions, 66 h 2 min of active time, 928 files changed, $1,260.80 in total cost, and 63% of lines still present. Nine costs were estimates and three sessions had no cost figure. That is useful for auditing one developer's work in one repository, not ranking agent quality. Team owners can export records as JSONL or delete the organization.

Trade-offs & Limitations

Sessionly is a better fit than separate agent transcript viewers when the question spans multiple agents and ends at PR review. Compared with provider billing or generic PR analytics, it connects session spend to surviving lines rather than treating those as separate datasets. The trade-off is measurement fidelity: a common schema does not make every adapter equally complete, estimated token costs are not invoices, and line-hash matches measure textual retention rather than semantic equivalence, correctness, or developer productivity.

Local-first does not mean content-free on disk: the local record can contain prompts and other session details even though default uploads omit prompt, command, and file text. The larger deployment constraint is identity. In the community Compose setup, anyone who can reach the dashboard is its admin; machine tokens do not provide human sign-in. Hosted Google or GitHub sign-in and per-user session visibility should not be assumed to exist in that setup. The CLI, server, and dashboard outside ee/ are Apache-2.0 and require no key; Business and Enterprise code in ee/ has separate terms.

Hardware & Deployment Guide

For local evaluation, use a Linux or macOS release binary on PATH, or run cargo install sessionly with Rust 1.89 or later. Run sessionly install to configure capture, sessionly status to check it, and sessionly import to ingest earlier sessions. Local use needs neither a Sessionly server nor a GPU. For supported cloud workflows, sessionly install --repo sets up repository capture for Claude Code cloud sessions, Cursor cloud agents, and Codex cloud tasks; those configuration changes must travel with the repository.

For team reporting, docker compose up -d builds the application and starts it with PostgreSQL. Open the dashboard on port 8080 by default, create a token on Connect, and use sessionly connect <url> --token <token> followed by sessionly upload. The default port mapping is not loopback-only, so bind it explicitly to loopback for a local trial or enforce a trusted network boundary. Add the GitHub Action for PR attribution. The v0.10 release series introduced outcome linking, and v0.10.2 describes cost and surviving agent lines at PR granularity. Size the server around ingest, retained history, and dashboard traffic rather than model compute.

Capture: Claude Code and Codex hooks, Cursor and Grok files, and the OpenCode database feed one session schema.
Local storage: The Rust CLI writes a derived SQLite ledger at ~/.sessionly/ledger.db, rebuildable with sessionly sync --force from available inputs.
CLI inspection: list filters and searches sessions, summary groups totals, and show exposes tools, prompts, files, and subagents.
Outcome attribution: Sync rechecks added lines against current files; the GitHub Action and server use line hashes to link sessions to PRs.
Upload controls: Capture and redaction run on-device; opt-in uploads make paths relative and omit prompt, command, and file text by default.
Self-hosting: docker-compose.yml runs the dashboard server and PostgreSQL; machine uploads use tokens, while dashboard access relies on network isolation.
Best For

Developers and teams using multiple coding agents who need local session inspection and, optionally, PR-level attribution of spend and surviving lines without sending source code.

Skip If

You need invoice-grade cost reconciliation, a semantic measure of code quality, or a community self-hosted dashboard with built-in multi-user authentication.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedCLI
cargo install sessionly

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
sessionly ★189+1TypeScriptApache-2.0Local-first ledger for coding-agent spend and the lines that survive PR review
herdr54.1k+871RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
cc-switch159.1k+1.7kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
claude-code-router38.5k+101TypeScriptMITLocal model gateway for routing coding agents across providers

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/KIvanow/sessionly.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

KIvanow/sessionly Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about sessionly

How does Sessionly connect agents and pull requests without MCP or commit metadata?

The local Rust CLI ingests hooks, transcripts, session files, or an agent database, depending on the integration, and writes a normalized SQLite record. Supported cloud capture uses repository-carried hooks. For PR attribution, a GitHub Action reports line hashes to the Sessionly server, which matches them against session data. That workflow does not require commit notes or trailers, and none of these paths requires an MCP server.

Does Sessionly need a GPU, and how should I size it?

No GPU or VRAM requirement is indicated by the architecture: Sessionly parses session data and compares lines rather than running models. The documented 2–4 ms figure covers only the hook append, not import, sync, upload, or dashboard latency. Budget local storage and CPU around transcript history and sync workload. For a team server, size PostgreSQL and the application around retained data, upload volume, and dashboard concurrency; no fixed resource baseline is available.

Can a company self-host it, and where are the licensing and access-control boundaries?

The CLI, server, and dashboard outside ee/ are Apache-2.0 and require no license key. Review LICENSE-EE separately if you need Business or Enterprise functionality, including the components used for hosted multi-organization signup and sign-in. The community Compose deployment is not an identity boundary: anyone who can reach the dashboard can act as admin, so restrict reachability or put it behind an appropriate access boundary.

When is it worth adding Sessionly instead of relying on native logs, billing, or PR analytics?

Native transcripts are the more direct source for investigating a single agent session. Provider billing is the appropriate reference for actual charges, and standard PR analytics are better suited to merge and review throughput. Choose Sessionly when the missing piece is a common record across agents that links reported or estimated spend to the lines that remain in reviewed PRs.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining KIvanow/sessionly? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature KIvanow/sessionly on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare