Skip to content

For Developers

You already know your agent is doing real work. OpenALR shows what each turn of it cost, what it was for, and whether it was accepted, without changing how you work and without sending your work anywhere.

What You Get

  • The cost of every turn, written as it happens: the model, the tokens (input, output, cache read, and cache write), and the cost: the harness's own figure, a share of it, or an estimate from the price book, each labeled. Ask for it in the session with /alr-turns, or in a terminal with alr turns last.
  • Cost by task and project, from tags you set once and switch as the work changes: /alr-tag add task:login-page. Every later turn carries the tag.
  • A fix for the wrong tag. Booked turns 3 to 7 to the wrong task? Move them: /alr-tag move task:a task:b turn 3-7 wrong task. The record keeps both lines, so the change is visible, not hidden. See Tag Your Work.
  • Your own grade of the work: /alr-grade 4 clean fix grades the last turn from 1 to 5, beside what it cost.
  • A plan to measure against: /alr-plan interviews you and writes a project's budget and schedule, so you can see whether the work is on track. See Plan a Project.
  • A dashboard of HTML files you can open or share, with no server to run: alr dashboard --out ~/alr-dashboard --open (on Windows, alr dashboard --out $HOME\alr-dashboard --open).

How It Fits Your Work

  • One install, then nothing to remember. alr install claude-code --yes (or grok or hermes) wires the harness, and every turn is recorded from then on. Leave off --yes to see the changes first. The Anthropic SDK takes one call in your own code instead; see Anthropic SDK.
  • The in-session commands answer without calling the model. /alr-ctl, /alr-turns, /alr-tag, /alr-grade, /alr-help, and /alr are answered by OpenALR itself, so they cost nothing and never reach the model.
  • It runs where you do: Claude Code, Grok Build, Hermes, and the Anthropic SDK, on Windows, macOS, and Linux, with Python 3.10 or later.
  • No runtime dependencies. OpenALR is one package with nothing else to install, audit, or keep up to date. uv installs it; nothing beyond Python is needed to run it.

What Stays Private

  • A record never holds a prompt or a reply: only what the turn was (model, tokens, cost, tags, and timing).
  • Records stay on your machine, in one file (~/.alr-emit/records.jsonl, or %USERPROFILE%\.alr-emit\records.jsonl on Windows), unless you send them to a destination you choose, such as your organization's syslog server (alr syslog send).
  • You can read every line. The record format is an open standard, plain JSON lines, so you can check what is kept with any tool you like. See Record Format.

Why an Open Standard

OpenALR is a format for recording agent work, and alr-emit is one emitter for it. Because the format is open, the records you keep today can be read by any tool tomorrow, and the figures your manager or your finance team sees can be traced back to the same lines you can read yourself.

Start Here

Report a problem with this page