Skip to main content
AI Tool Radar
OSI-openCoding agents and context efficiency

coding.sh

jackulau

Local-first observability and evals for coding agents: records prompts, tool calls, file changes and cost, and turns failed sessions into evals.

318 stars(as of 2026-12-02)View on GitHubHomepage

What is coding.sh?

A Node CLI with a local viewer that records sessions from Claude Code, Codex CLI, OpenCode, GitHub Copilot CLI, Goose, Aider and others through hooks and transcripts, or from any app via OpenTelemetry. Sessions go into a SQLite index on your machine with latency, tokens and estimated cost; you can query them from the CLI or over MCP, replay a failure as an eval, and compare prompts or models with paired statistics. Postgres or ClickHouse backends and a TypeScript and Python SDK are available for a shared server.

coding.sh at a glance
FactValue
Maintainerjackulau
GitHub stars318 (as of 2026-12-02)
Forks22
LicenseMIT
License typeOSI-open
CategoryCoding agents and context efficiency
StatusRising
Edition2026-12
Last verified2026-12-02

coding.sh in depth

Coding agents such as Claude Code, Codex or Copilot CLI do a lot of work in a session, and afterwards it is hard to say what they did, what it cost, and why one run failed. coding.sh, built by Jack Lau (jackulau), is a local observability layer for exactly that: it records prompts, model calls, tool calls, file changes and tests for each session, and lets you read them in a viewer on your own machine.

It is a Node 22 CLI with no runtime dependencies. Running npx coding.sh finds the agents on your machine, shows one plan and, after you confirm, installs hooks and an MCP server with backups of the config files it edits, then imports your past sessions. Everything goes into a SQLite index, with Postgres and ClickHouse available for a shared server. On top of that sit evals built from failed sessions, experiments with code graders or LLM judges, paired-statistics comparisons of prompts and models, and a daily benchmark mode.

The natural audience is developers who use several coding agents and want a private ledger of usage and cost, or teams who want to compare a prompt or harness change on real sessions instead of on gut feeling. The support table is unusually honest, separating agents verified on real sessions or installs from those, namely Cursor CLI, Amp and Devin CLI, that have not been run live. With no sink configured, nothing leaves the machine except a daily update check that can be disabled.

The caveats are about maturity and validation. It is pre-1.0 at v0.1.8 and says to expect rough edges. One person has written almost all of the roughly 2,800 commits and the 329 pull requests, and nobody has filed an issue yet, so there is little outside evidence of use beyond the npm package, which had about 950 downloads in November. The POSIX hook writes payloads to a local spool before redaction, which the docs explain, and the update check is on by default.

The verdict: coding.sh is a real, CI-tested tool with a thoughtful privacy design and an MIT license, not a thin README. Try it if you already juggle several coding agents and want local measurements. Wait before relying on it for a team or for one of the unverified agents, because a single maintainer and the absence of outside issues mean the track record is still short.

Pros & Cons

Pros

  • Local by default: SQLite index, no account, and no session data leaves the machine unless you add a remote sink; secrets are redacted at ingest
  • Honest per-agent support table (verified on real sessions, verified on a real install, not run live) instead of a flat compatibility claim
  • MIT, no runtime dependencies, published on npm and PyPI, with CI on Linux and Windows

Cons

  • Pre-1.0 (v0.1.8) and the README itself warns to expect rough edges
  • One person drives the project (about 2,800 commits and 329 pull requests, one listed contributor, no issues filed by anyone yet), so there is little outside validation
  • Cursor CLI, Amp and Devin CLI adapters are marked 'not run live'
  • The shell hook writes payloads to a local spool before ingest redaction, and a daily update check is on by default (switch it off with CODING_SH_NO_UPDATE_CHECK=1)

License

MIT (OSI-open)

When it is interesting

Developers who use several coding agents and want a private record of what each did, what it cost, and a way to turn failures into evals.

When it is too early

If you need a team-grade, supported observability platform today, or rely on one of the not-yet-verified agents.

Commercial alternative & related

  • Commercial counterpart: LangSmith

This repo featured in the 2026-12 edition of the Open-Source AI Radar.