Repository navigation
Amber 0.1.1: Claude Code plugin, demo, usage guide
Amber compiles recordings of an AI agent doing a recurring task into a readable Python program: code for the mechanical steps, one small schema-validated llm() call where judgment is needed, replay tests from the recordings, and guards on every live call. When the world drifts, the doctor explains what changed, the agent resumes from the failed step and Amber recompiles.
Install
uv tool install amber-compiler # or: pipx install amber-compiler
amber --version # amber 0.1.1Plugin: /plugin install amber --marketplace enestanerr/Amber · Try it offline, no Claude calls: cd examples/weekly-report && make demo-offline
Measured
From bench/results.md: 2026-11-02, medians of 3 live runs on a claude.ai subscription, synthetic workflows against mock MCP servers.
| example | agent tokens / run | compiled tokens / run | fewer tokens | agent turns |
|---|---|---|---|---|
| issue-triage | 153,944 | 11,892 | 12.9× | 0 |
| price-watch | 165,225 | 14,862 | 11.1× | 0 |
| weekly-report | 174,076 | 29,472 | 5.9× | 0 |
Caveats are in the results file: n=3, most agent tokens are cache reads, and part of the cost gap is Haiku running the judgment vs Sonnet running the agent.
New in 0.1.1
- Claude Code plugin. This repository is a plugin marketplace.
/amber:compiletakes a workflow Claude keeps repeating from task prompt to a recorded, compiled, verified and scheduled program, asking before anything costs tokens or writes./amber:healruns the doctor and picks the right repair: recompile, agent fallback or re-record. - README: rewritten as a guide: install, a two-minute offline demo, five ways to use Amber with Claude (headless
claude -pruns, interactive transcripts, the Agent SDK, Claude Desktop through the proxy, the plugin), a step-by-step walkthrough, configuration, safety model, commands and troubleshooting. - Demo: an animated SVG of a real weekly-report session: compile, a live run on a new week, a drift, the guard stop, the doctor, the agent fallback, the recompile and a healthy doctor.
- Defaults:
max_llm_tokensdefaults to 40000, measured on a live judgment. - Output: CLI messages print project-relative paths, and
FORCE_COLORnow colours piped output on Windows.
Based on FlashScript (arXiv 2610.33876). Full changes: CHANGELOG.md.