About Coding.sh
Coding.sh is an MCP server published by jackulau in the Agents category: open-source, local-first observability and evals for AI agents: see what Claude Code, Codex, Cursor and others did and what it cost. Conduid read 27 tools from its source: benchmarks, eval_candidates, eval_from_session, eval_init, exp_session_note, exp_session_summary and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 315 stars and 21 forks, is licensed MIT, and its last commit was on 29 Nov 2026. The latest release is v0.1.8 (28 Nov 2026): This release adds formal-verification proof review, telemetry, and proof-step dataset mining, alongside live telemetry steering with human direction-pivot tamper awarene… It follows v0.1.7 (16 Nov 2026), and the 5 most recent releases go back to v0.1.4 (8 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-evals, agent-observability, coding-agents, devtools, evals and llm-evals.
Install
git clone https://github.com/jackulau/coding.shTools (27)
benchmarksDynamic benchmarks (coding.sh bench). No name: list them. Name: one run (latest counted by default) with leaderboard, paired verdicts, cost sources and worst failures. Name + metric: that metric per contender across counted runs, oldest firsteval_candidatesRank this repo's recent sessions as repo-replay eval tasks: failure flags, pushback and a guessable verifier score up; subagents, eval runs and sessions with no git start, prompt or edits are rejected.eval_from_sessionDraft an eval task from a session: its first prompt becomes the instruction, its start snapshot the starting repo, its end state the reference fix. Writes to the local coding.sh store, so ask the user first and pass confirm: true.eval_initWrite an eval suite to evals/<name>/: tasks from failed sessions, a skill's trigger prompts, or cases you write. Ask the user first, then pass confirm: true. Returns the run command.exp_session_noteNote in the experiment session: the hypothesis before each run, the reading after it. Secrets are redacted.exp_session_summaryExperiment session timeline, oldest first: notes, commands, and runs with their delta vs the previous run (pass rates, CI, McNemar p, fixed/broke). Read it after a context reset.experiment_comparePaired comparison of two experiments on the same cases: pass-rate difference with a bootstrap CI, McNemar p-value, verdict (better/worse/inconclusive), regressed and improved cases, cases gained and lost (passed in any trial), per-grader deltas, power warnings and a ship/hold/dont-ship gate.experiments_listList dataset experiments, newest first, with dataset, trials, pass rate with its interval, and weights (a run's checkpoint SHA-256). Compare two with experiment_compare.failuresRaw failure data: sessions with failure flags or failing tests, the most frequent tool errors (with a sample message), and prompts where the user pushed back. For what to fix first, call improve. Default 7d.harness_auditAudit the setup to trim it: each memory file, AGENTS.md, CLAUDE.md, rule and skill with the sessions that loaded and read it and its load tokens; unused first. After trimming, check: true finds deleted safety lines. Default 30d.harness_changesDid a committed AGENTS.md, CLAUDE.md, rule or skill change help? Per change: lines added, flagged sessions before vs after (and which after, with flags), how often the agent follows each new line, and a verdict. No model calls.harness_compareHarness A/B results (`coding.sh compare`). No experiment: list them, newest first. With one: pass rates, ship gate (per tag group with by), one-item gate, failed runs split by the agent's own tests, tampered passes split disclosed/stealth.http_requestSend an HTTP request to the API at ${base}. `path` is relative to the base URL and must start with "/".| Parameter | Type | Description |
|---|---|---|
| body | any | |
| headers | object | |
| method * | string | |
| path * | string | |
| query | object |
improveStart here to improve the agent setup: what goes wrong most in this repo's sessions, each with an example session, the AGENTS.md/CLAUDE.md line that fixes it and next commands, plus whether recent changes helped.latencyLatency over a window: model-call p50/p95 and time to first token, overall and per model, plus the slowest tools (p50/p95/max) and slowest calls. Tools that wait on the user or a subagent (AskUserQuestion, Agent, wait_agent) go in waitingTools. Default 7d.read_docRead a documentation file. Allowed paths match: ${docs.join(", ") || "(none)"}.| Parameter | Type | Description |
|---|---|---|
| path * | string |
searchFull-text search over captured prompts, replies and tool input/output. Returns matching events with session ids and snippets; open one with session_get.session_currentThe calling agent's session: by session id env var, else one in this directory or repo (subagents and worktrees too), active in the last 30 min first, else newest. Its summary and latest timeline.session_getA session digest: summary (with waste: repeated reads and prompt-cache breaks), skills used, per-turn index, and a timeline of prompts, replies, tool calls (with failures and durations), model calls, file changes, tests and weight edits. Pass turn to zoom in; page with cursor (with tail, backward).session_replayA session as numbered steps, with the files the agent touched rebuilt from its tool calls as of any step. No step: the step list. Paged by files; cut text says truncated.session_treeA whole multi-agent run as one tree: from any session, its top-level agent and every subagent; or with run:true a fan-out sharing a run id. Each node has model, cost, tokens, duration and flags. Paged; totals, the worst flag and worst (the node to fix first) cover the whole tree.sessions_listList captured agent sessions, newest first, with turns, tool calls/errors, tokens, cost, failure flags and derails (where and when a run went off the rails). For text inside sessions use search.shellRun a shell command in the sandbox working directory with sh -c. Returns stdout, stderr and the exit code (output truncated at ${Math.round(maxBytes / 1024)} KB).| Parameter | Type | Description |
|---|---|---|
| command * | string | The command line to run |
statusHealth of coding.sh: version, update, home, 24h sessions, last capture, spool, error, index age, quota. Use when data looks missing/stale. work: top 5 items (7d); the work tool has the rest.subagentsThe subagents a session spawned, as a tree: type, task description, duration, ok, tool calls and errors, and child session ids to open with session_get. Pages the top-level subagents with limit/cursor; count is the whole tree.usageTokens and cost over a window by day (local), agent, model, agent-model, repo: totals (subagents count), user turns, tokensPerTurn (top-level, no cache reads), cacheReadShare, top sessions. costUsd: reported, else tokens × list price (estimatedCostUsd); omitted if unknown, not $0. Default 7d by day.workWork queue across agents: reason, next, phases, PRs. Paged; id reads one.Security checks
Static checks derived from the repository 19 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 691 source files and found 8 calls to eval or shell execution, in packages/coding.sh/src/alerts/notify.ts:133, packages/coding.sh/src/cli/commands/compare-parity.ts:191 and packages/coding.sh/src/cli/commands/toolevals.ts:644 among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdiopackages/coding.sh/src/mcp/server.ts:193
- Starts other programs
- 29 callspackages/coding.sh/src/adapters/more/_util.ts:711, packages/coding.sh/src/adapters/more/_util.ts:776, packages/coding.sh/src/adapters/more/amp.ts:101
- Outbound network calls
- 23 callspackages/coding.sh/src/cli/commands/compare-parity.ts:155, packages/coding.sh/src/core/pushback.ts:117, packages/coding.sh/src/experiments/replay.ts:244
- Writes or deletes files
- 15 callspackages/coding.sh/src/core/lock.ts:171, packages/coding.sh/src/core/lock.ts:190, packages/coding.sh/src/core/lock.ts:219
- Lockfile
- package-lock.json
Pattern matches on the source text of 691 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.6K words, fetched 19 hours ago. The original in the repository is authoritative.
Read full README