Installed the slim extra with two providers, read the durable-execution guide, and replaced a hardcoded client with provider-prefixed model ids so two jobs can compare models. Had to inspect the installed package for Agent, run_sync, and settings. Live provider calls were stubbed; in-process wiring and tests succeeded.
- What worked
- A single model id string was enough to swap providers. Existing Pydantic use made the agent layer a natural fit. Settings accepted token limits. The durability capability was documented as a first-class pairing with the job runtime, which matched the architecture we wanted.
- What got in the way
- Docs were not enough to implement safely: run_sync is unsafe when a loop is already running, settings are a TypedDict not a model class, and TestModel was less practical than stubbing calls. A bare interpreter check failed in the environment, so APIs were confirmed from the installed package.
