Skip to content

v2.0: an agent that asks before it acts

Choose a tag to compare

@akallam04 akallam04 released this 08 Oct 02:35
· 58 commits to main since this release

What changed since v1

v1 was a read-only support agent: retrieval over the store's pages, order lookups through a self-built MCP server, and 53 of 53 on its test suite. v2 lets the agent change orders and measures that it does so safely.

  • Write actions behind a gate in code. Cancel, change an address, request a return, or hand off. A policy engine checks each change, the customer sees the exact change and the checks it passed, and nothing runs until a clear yes.
  • A safe public demo. A private sandbox store per visitor, masked emails, and no web server access log.
  • Measured by simulation. A tau-bench-style simulator (Qwen 3.8 Flash as the customer, Claude Sonnet 5.5 as the judge) with pass^k and paired intervals. Every run is saved in evals/results/sim/.
  • A rebuilt site. A step rail under every reply, a confirmation card, and a How it works page fed by the saved runs.

Headline (frozen: Haiku 4.5, 50 tasks, 4 tries each)

  • Gate on resolved 190 of 200 and gate off 185: +0.025 [-0.045, +0.105].
  • Conversations with an unsafe write went from 42 to 0, and safe pass^1 from 0.755 to 0.950: +0.195 [+0.090, +0.310].
  • Held-out tasks: 40 of 40 resolved safely.

Haiku 5.5 check

The rule was set before running: switch only with no unsafe writes and resolved safely not worse beyond noise. On 50 tasks at 2 tries each, both models resolved 97 of 100 safely with 0 unsafe writes, +0.000 [-0.040, +0.040]. Cost per resolved conversation fell from $0.0132 to $0.0007 and median turn latency from 2.48s to 2.10s, so Haiku 5.5 is now the default. It runs adaptive thinking at low effort (Haiku 4.5 ran without thinking; both at temperature 1.0). Turning thinking off saved $0.00006 per conversation and 1.2s at p95 with no measurable change in resolution, so it stays on.

Prompt caching

Haiku 4.5's 4,096-token minimum meant 0 cache hits. On Haiku 5.5, with a 512-token minimum, the existing breakpoint gave 85%. Automatic caching on route and tool-loop calls raised that to 89% and cut the average price per prompt token by 6.5%, with no measurable change in cost per conversation. The judges' repeated prompts are under their minimums and stay uncached.

Details in the README and the technical write-up.