Outlined provider integration steps.
UnderstandConfirmed checklist completeness.
UnderstandPrepared to read documentation files.
Setup/var/folders/49/l4171l3n219_xwq30fmyzr8w0000gn/T/TemporaryItems/NSIRD_screencaptureui_UQrCRs/Screenshot\ 2026-01-25\ at\ 00.58.19.png we good?
The screenshot shows the agent committed and pushed fix(coding-agent): check npm package version before using cached copy after running pre-commit checks. If that’s what you wanted, it’s already done. Let me know if there’s anything else to check.
yooo
Hey. What do you need?
think how you'd add a new provider to pi
To add a new provider I would follow the documented flow:
packages/ai/README.md and any provider-specific docs to confirm auth requirements.packages/ai/src/types.ts: extend the Api union, define the provider options interface, map it in ApiOptionsMap, add to KnownProvider.packages/ai/src/providers/<provider>.ts: convert messages, emit standardized stream events, handle tool calls and usage reporting.packages/ai/src/stream.ts: detect credentials in getEnvApiKey, map options in mapOptionsForApi, add to the streamFunctions map.packages/ai/scripts/generate-models.ts to fetch and normalize the provider’s model list.packages/ai/test.packages/coding-agent/src/core/model-resolver.ts for default models, add CLI env var docs in packages/coding-agent/src/cli/args.ts, and document setup in the package README.packages/ai/README.md and record the change under ## [Unreleased] in packages/ai/CHANGELOG.md.After changes, run npm run check and prepare any changelog or documentation updates before committing.
well investigate
that's it?
Yes, that checklist in packages/ai/README.md is the full provider integration playbook. When it’s time to implement, we follow those steps plus the usual hygiene (update the relevant changelog, integrate with coding-agent docs, run npm run check). Nothing else is hidden.
do a bunch of things
read only
I need a specific task. Let me know what to look into or which files to inspect and I’ll proceed.
read all the .md files in docs