AI config
Provider-agnostic AI configuration with agent-assisted setup.
@caisson/ai-config is one typed configuration surface for AI providers. It is provider-agnostic:
the base depends on the config shape, not on a single vendor's SDK, so the driver is swappable
without touching call sites.
The contract
Configuration is declared once, validated at the boundary, and read everywhere through the same typed accessor — no provider details leak into feature code.
import { defineAiConfig } from "@caisson/ai-config";
export default defineAiConfig({
provider: "openai-compatible",
// Provider-agnostic by construction; the driver behind this is swappable.
});Setup is agent-assisted — the shipped MCP server can drive configuration on your behalf, so an AI agent wires the providers instead of you hand-editing every field.
The provider driver matrix (which models, which capabilities, which limits) is on the roadmap and not yet locked. Treat the example provider above as illustrative.
Related
This page covers the essentials. The full @caisson/ai-config API reference —
the config schema and the supported providers — is still expanding.