Nirmos SDK
Use one typed JavaScript client for AI execution and organization resources.
@nirmos/sdk connects trusted JavaScript and TypeScript applications to Nirmos. Generate chat and embeddings, manage prompt releases, retrieve document evidence, run evaluations, and persist selected memories.
Quickstart
Generate a Dashboard key, install the SDK and make a request.
SDK reference
Exact externally usable methods, parameters, types and responses.
Start with a request
Create a personal or service API key in the Dashboard, configure provider credentials in the same organization, and follow the quickstart. Keep the key on your application server.
The SDK uses a management API for resource configuration and runtime for AI execution. Hosted origins are configured by default. Client configuration covers deployment overrides; how Nirmos works explains the boundaries.
Explore capabilities
Gateway
Chat, streaming, tools, embeddings and routing.
Prompt management
Reusable instructions, versions, branches and releases.
Knowledge
Index documents and retrieve evidence.
Evaluations
Frozen cases, versioned targets and quality measurements.
Memory
Explicitly store and retrieve useful interaction context.
Platform setup
Credentials, catalogs, administrative operations and inspection.
Recipes combine capabilities into applications. Resources cover production reliability, security, pagination and compatibility. The separate REST API reference documents HTTP schemas; SDK return shapes can differ from wire envelopes.