Instrument your agent
This guide merged into the quickstart.
Through protocol v0.6, instrumenting your own agent meant mapping your framework's hooks to observation altitudes, constructing GuardEvents field by field, and wiring an SDK. Since v0.8 none of that exists: there is one endpoint and one recipe, and instrumenting your own agent is the minimal integration —
- mint a
step_idper model call; POST /v1/evaluatethe raw request body (step/request) before calling the model;POST /v1/evaluatethe raw response body (step/response) after the model answers and before acting on it;- enforce the verdict:
blockstops the step,modifications.spansare applied in place, no answer means your configured fail mode (default: open).
The quickstart has the complete runnable example — the identity four-tuple, fail-open, streaming with a held-back tail, and the heartbeat.