Nirmos
Core concepts

How Nirmos works

Understand resource configuration, AI execution, and the SDK client.

Nirmos connects an organization's provider credentials, models and reusable resources to AI execution. One Nirmos client calls two services: the management API stores configuration, and runtime executes AI work.

Configuration and execution

Configure provider credentials, routes, prompts, knowledge bases, evaluation suites and memory policies before application requests need them. Your application then selects a model or route, provides input, and handles the result. Configuration mutations can affect other applications using the same resources.

Gateway executes chat and embeddings. Managed prompts supply reusable instructions. Knowledge retrieves document evidence. Evaluations measure outputs against test cases. Memory stores selected information for later interactions. Combining these capabilities is the application's responsibility.

Organization boundaries

Every request carries a Nirmos API key. The verified key determines the organization and effective permissions. Resource IDs must belong to that organization, except for catalog entries intentionally shared by Nirmos. Attribution metadata does not grant access.

Provider credentials authenticate Nirmos to the upstream provider. They are separate from the API key your application uses. Organizations and workspaces and permissions and API keys explain those boundaries.

Results and failures

The SDK unwraps management { data: ... } responses and normalizes Gateway chat results. Other execution methods retain their declared response contracts. A successful HTTP response can still describe a failed document index, evaluation trial or endpoint output.

Use the quickstart to make a request, response contracts to interpret results, and recipes to combine capabilities.

On this page