Provider Presets¶
The widget agent offers presets for hosted providers, for Ollama and LM Studio and for any OpenAI-compatible server, each with its own key in the system's credential store.
| Field | Value |
|---|---|
| ID | AGT-15 |
| Status | Shipped |
| Scope | Supporting |
| Pillar | Agents and Automation |
| Sprint | None |
| Depends On | Widget Agent (AGT-05) |
| Unblocks | Model Check (AGT-16) |
| Docs | Widget Agent Startup, Presets |
| Branches | None |
| Design | None |
Coverage Ledger¶
- design/byok-agent.md, under The key's whole life. The person's own Claude key goes from the settings field to the Keychain, into the sidecar's environment at spawn, never in argv, scrubbed from every output.
- design/byok-agent.md, under The key store. KeyStore with set, has and remove and no getter, the macOS Keychain implementation, one item per provider, and a stub on Windows with the Credential Manager store planned.
- design/byok-agent.md, under Providers. The provider layer is Pydantic AI: Claude natively and every other model through the OpenAI-compatible route.
- design/widget-agent.md, under Providers. The widget agent is model-agnostic: Claude on its native API and every other model through an OpenAI-compatible API on Pydantic AI.
- design/widget-agent.md, under Presets. The presets as data: anthropic, openai, gemini, openrouter, ollama, lmstudio and custom, with fixed hosted base URLs and a remote-host warning.
- design/widget-agent.md, under Presets. One key per provider in the operating system's credential store, placed only in the sidecar's environment, with scrubbing of known key shapes.
- design/widget-agent.md, under Presets. Any OpenAI-compatible service or server is reached by the Custom preset, such as Mistral, DeepSeek, Groq, llama.cpp, vLLM and mlx_lm.server.