Repository navigation
Amber is on PyPI. No code changes since 0.1.1: this release makes the PyPI page match the README.
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.2Plugin: /plugin install amber --marketplace enestanerr/Amber · Try it offline, no Claude calls: cd examples/weekly-report && make demo-offline
Changed
- Install from PyPI; the README carries a PyPI badge, and
git+httpsstays for followingmain. - FlashScript (arXiv 2610.33876) is credited under the tagline, and Related work adds TraceCompiler and SKILL-DISCO.
- The plugin's
/amber:compileskill installs the CLI from PyPI.
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.
Full changes: CHANGELOG.md.