Release: Axle 0.37

The exciting addition to 0.37 is the analyze, a new API that takes a transcript and lets you ask questions about it in code. The most useful place for it is an after continuation, where you can decide what to do based on what the agent just did.

agent.send("Draft a refund email for order #4821.", {
  after: async (result, ctx) => {
    const a = analyze([result.turn]);
    if (!a.tools.some(named("check-compliance"))) {
      await ctx.send("Run check-compliance on the draft before sending it.");
    }
  },
});

Checkpoint at every step

Agent has a new onStep hook. It runs at the end of every step, and agent waits for it to finish before going on. Use it to save state while a turn is still running. Any agent state saved there through agent.session is guaranteed to be resumable, and in order to get there, we cleaned up a few leftover error and interrupt handling from the last release.

Changes to existing APIs.

  • reasoning now mirrors the model’s own setting. on is now removed, use explicit thinking levels instead. The motivation for that was that on used to mean medium, but many models don’t accept medium so it was not useful as a portable control. If you need a binary switch, prefer ModelCatalog.reasoningControl(model, { provider })?.suggested.
  • Instruct schemas are JSON Schemas. After some cleanup of schema parsing, the schema parameter on Instruct now takes a general JSON Schema object instead of a Zod-specific one. Zod schemas are still accepted, so existing code doesn’t change.

Full change log

Posted Nov 24, 2026