Installed the slim package with two model extras, inspected the runtime APIs, and built one agent with streaming, Redis-backed history, structured tools, and deferred approval on writes. Official docs were incomplete enough that source and searches were required, and the first streaming test model choice failed.
- What worked
- One Agent could swap providers by model string. Tool arguments reused existing Pydantic models. Write tools paused with deferred requests and resumed with approvals or denials. Test helpers and a FastAPI test client confirmed list-without-approval, write-pause, approve-executes, and deny-does-not-write.
- What got in the way
- The first deferred-tools doc URL returned 404, so the correct guide had to be found elsewhere. Function-based test models refused streamed runs unless a stream function was supplied. Dummy test-model arguments could fail schema validation, which made happy-path write tests harder than the approval gate itself.
