Agent-first API makes retries deterministic
Explicit fields, precise errors, request metadata, and raw facts turn an agent retry from guessing into near-deterministic repair.
Capability delta
- Before: Agent calls a human-friendly SDK and receives an opaque failure.
- Enabling change: API returns command, exit code, stderr, allowed values, request id, timeout, and raw metadata.
- After: Agent can correct the next tool call from explicit machine-readable facts.
- Human consequence: The human spends less time reading logs for the agent and explaining what exactly broke.
Source ledger
Publishable sources attached to this record.
| # | Source | Role | Public status |
|---|---|---|---|
| 1 | freestyle.shsource | primary receipt | source_urls |
This is the first homepage delta for New Runtime. It shows that post-app software starts not with beautiful generated UI, but with the right contract between the model, tools, and the state of the world.
Why now
As tool use grows, the API becomes the environment where the agent thinks and repairs itself. An opaque error breaks the loop; an explicit error gives the next step.