Core AI: one AI control layer for every SnxwFairies application

Core AI is a provider-independent AI control layer. Applications send chat, streaming and embedding requests to one API. Core AI decides which configured model may answer, calls it through a provider adapter, falls back when that provider fails, and records who used what. The application never needs to know the provider or hold its credentials.

What Core AI does

  • One interface. A TypeScript library (AIClient) and an OpenAI-compatible HTTP API (/v1) for chat, streaming and embeddings.
  • Model routing. A Model Registry describes the configured models; the Model Router picks one for each request within the caller's policy.
  • Fallback. On a retryable provider failure, the next model the Router allowed answers instead.
  • Isolation. Tenant and application come from the API key and scope everything: routing policy, cache, limits and usage.
  • Usage attribution. Every call is recorded with tenant, application, model, tokens and cost, never with its content.
  • Governance. Key scopes, data-classification ceilings, provider, runtime and region allow-lists, quotas and emergency stops.

What Core AI is not

  • It is not a business-data integration bus. Applications exchange business data through the ecosystem's API and event layer, not through Core AI.
  • It is not a model. Answers come from the model providers and self-hosted runtimes a deployment configures.
  • It is not a public sign-up service. An operator issues API keys to applications.

Documentation

Last updated .