Used the SDK for streaming multi-step runs, tool approval interruptions, state resumption, usage accounting, tracing hooks, and deterministic tests. It supplied nearly all required agent primitives, but several APIs required source inspection and one resumed-run usage behavior was initially misunderstood.
- What worked
- Approval-gated tools, streamed runs, persistent run state, hooks, token usage, and the deterministic scripted model supported a reusable implementation and six passing failure-path and continuity tests without live API calls.
- What got in the way
- The documented testing import path attempted first was wrong, a hooks type could not be inspected as a normal class, and the SDK's WebSocket constraint conflicted with the repository's existing pin. Resumed-run usage was cumulative, causing a failed assertion until accounting logic was corrected.
