The Observability Layer for Agents.

Record, measure, compare and benchmark every agent run.

Paste it into your coding agent. Needs Node.js 22.16 or newer. On Windows: npx -p coding.sh codingsh init On Windows, run it in Git Bash. It does not work in PowerShell or cmd.

Get started

Free and open source. What's new in coding.sh v0.1.7

Works with

  • Claude Code
  • Codex
  • Cursor
  • OpenCode
  • Antigravity CLI
  • GitHub Copilot
  • Amp
  • Goose
  • Pi
  • Factory Droid
  • Aider
  • Devin CLI
  • T3 Code

Every agent, one record

Your agents on one side. Sessions, cost and evals on the other.

  1. 01

    Install

    Run the command above. It finds the agents you use and asks before it changes their settings.

  2. 02

    Keep working

    Use your agents the way you do now. Each session is saved on your machine as it runs.

  3. 03

    Open the viewer

    Run coding.sh ui to see every session and where it broke.

What you can do with it

Read a session, add up what it cost, test a change, and track the AI calls your own app makes.

Find the step that broke

Open any session to see each prompt, command and file edit in order. When a command fails, the lines that say why are marked red.

A Claude Code session in the coding.sh viewer: its title, agent, duration and estimated cost, then its steps in order. The npm test run is red because one test failed. A few steps later the agent edits src/store/sqlite.ts to fix it.

See what each agent costs

$ coding.sh usage --since 7d
AGENT        SESSIONS  TOKENS  COST
claude-code  29        9.8M    ~$6.92
codex        14        4.0M    ~$2.08
opencode     5         1.1M    ~$0.7937
Track cost per session

Track the AI calls in your app

import { observe } from "@codingdotsh/sdk";
const openai = observe(new OpenAI());

Each request shows up with its model, tokens, cost and time.

Read the SDK guide

Questions

Short answers here. The long ones are in the docs.

Read the docs FAQ
Does anything leave my machine?

No session data. The only default request is a daily update check (off with CODING_SH_NO_UPDATE_CHECK=1). Sessions are saved in ~/.coding.sh and nothing else is sent unless you set up an export yourself.

Will it slow my agent down?

No. The hook adds one line to a file and exits. The rest of the work happens after the session.

Does it change my agent's settings?

Only after you say yes. It backs up each file first, and coding.sh uninstall takes its hooks out again.

What does it cost?

Nothing. Your model spend stays what your agents already cost.

Try it on your next session

Paste it into your coding agent. Needs Node.js 22.16 or newer. On Windows: npx -p coding.sh codingsh init On Windows, run it in Git Bash. It does not work in PowerShell or cmd.

Get started