Configure provider modules
Install and activate the matching provider package, then use its focused guide for credentials, models and verification. These common steps apply to the current eight provider families; their account and capability requirements differ.
Install the matching module
- Identify the target Buffaly installation, release, platform and required capability. The examined shared core-installer profile selects all eight provider packages for Windows, Linux and macOS. Verify what your release actually includes; profile membership does not establish native runtime qualification or local account access.
- Use that release's package/provisioning workflow to include the required
Buffaly.Provider.*package and compatible shared contracts. Do not replace a package-managed installation with arbitrary local DLLs. - Resolve the authoritative
Runtime Feature.InstallRootPath. Check<InstallRootPath>/lib/provider-modules/ProviderModules.json, each entry's relativeAssemblyPathand enabled component type names. The loader does not search web-bin/worker-bin folders as fallbacks. - Inspect
DynamicProviderModuleLoader.GetInventorySnapshotdiagnostics. The catalog and executor must load in every consuming host/worker process. Authentication, embedding and speech components must load separately when used. An optional entry can be skipped with a diagnostic while other providers remain available.
OpenAI chat discovery is built into core; Buffaly.Provider.OpenAi supplies additional embedding and speech capabilities. Antigravity's source manifest defaults to disabled, while the examined shared package entry is enabled; either way its native installation must be qualified. For exact layout/component contracts, see module installation details.
Apply settings through their owner
- Open Settings and provider administration on the intended installation. Load the existing complete provider settings, modify the allowed fields and save through that owner, preserving unrelated settings and credentials.
- Use the provider's credential control or supported native login owner. Most API providers use named database-backed feature rows; managed accounts use their profile stores. Antigravity instead uses a deployment-owned non-secret file. Do not put actual keys/tokens into manifests, source, prompts or examples.
- Configure exact model IDs and model-specific effort/defaults. Save and reload through provider administration. A saved model list is not vendor entitlement or proof of an executable route.
- Apply the target platform's authorized deployment/reload lifecycle to the consuming processes. Replacing a package or recycling only the web application does not prove a separate worker loaded it. Do not stop shared processes outside that authorized lifecycle.
- Inspect component, catalog and selection status before an intended execution test. Keep chat, embedding and speech selections separate.
Use the existing package owner for installed modules. For a new custom provider implementation, follow the provider developer guide rather than editing installed output.
Choose the provider's setup guide
Start with OpenAI credentials for managed ChatGPT accounts or the separate API key, and Ollama setup for local/cloud endpoints and key profiles.
Anthropic
Use Buffaly with Anthropic covers the API-key route and the supported Claude native account transport, route-specific models and explicit refresh.
xAI
Use Buffaly with xAI covers API keys, managed Grok OAuth login/callback, active-account precedence and separate speech capability.
Gemini
Use Buffaly with Gemini covers the Gemini API key, API version, model reasoning and separately selected speech components.
OpenRouter
Use Buffaly with OpenRouter covers the current ApiKey execution path, the secret-name-only limitation and exact upstream model IDs.
llama.cpp
Use Buffaly with llama.cpp covers per-model server roots, required Responses compatibility and separate embedding validation.
Antigravity
Use Buffaly with Antigravity covers the optional qualified native installation, exact identity/configuration gates and production continuation requirements.
Verify each readiness stage
- Read installed component diagnostics and the complete provider catalog, including both
ProvidersandError. Do not treat truncated output as the product inventory. - Inspect the intended transport, exact model/default, supported efforts and non-secret credential/account status.
IsConfiguredis structural and provider-specific, not proof of vendor acceptance. - Read the current session selection without changing it. When selecting a new model is intended, use the session selector and read the tuple back. The model-management guide shows the authenticated external request; host-internal callers use typed services.
- Only when execution is intended, send a short marker request using the focused guide and verify normal assistant text plus the actual provider/transport/model. Cloud/native requests can consume billing or account quota. A credential probe or native refresh can itself execute or contact a provider; read status first.
If selection succeeds but execution fails, inspect the worker's loaded executor, credentials/policy, network and native identity. Use embedding configuration for independent vector selection rather than assuming chat readiness proves embedding readiness.