SDK — Installation
Install the Nomiqon SDK for TypeScript/JavaScript or Python and configure your environment.
Runtime
Nomiqon provides first-class SDKs for both JavaScript/TypeScript agent frameworks (LangChain.js, Vercel AI SDK) and Python runtimes (LangChain, CrewAI, AutoGen) via the nomiqon-python-m2m-sdk package published as nomiqon-sdk on PyPI.
Requirements
TypeScript / JavaScript
- ✓Node.js ≥ 18 (LTS)
- ✓TypeScript ≥ 5.0 (recommended)
- ✓Native fetch — available in Node 18+
Python
- ✓Python ≥ 3.10
- ✓pip, uv, or Poetry
- ✓Compatible with asyncio agent loops and sync scripts
Install
bashnomiqon.com
# npm
npm install @nomiqon/sdk
# pnpm
pnpm add @nomiqon/sdk
# yarn
yarn add @nomiqon/sdk
# bun
bun add @nomiqon/sdkInitialise the client
typescriptnomiqon.com
import { Nomiqon } from "@nomiqon/sdk";
const nomiqon = new Nomiqon({
apiKey: process.env.NOMIQON_API_KEY!, // sk_live_...
// Optional: override the base URL for self-hosted deployments
// baseUrl: "https://api.your-host.com/v1",
});TypeScript configuration
jsonnomiqon.com
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"lib": ["ES2022", "DOM"]
}
}Environment variables
bashnomiqon.com
# .env.local
NOMIQON_API_KEY=sk_live_...
# Optional overrides
NOMIQON_BASE_URL=https://api.nomiqon.com/v1
NOMIQON_TIMEOUT_MS=10000✕Danger
API keys prefixed
sk_live_ have full write access. Never commit them to source control. Use sk_test_ keys for development and CI.Runtimes
Next.js App RouterServer components, Route Handlers, Server Actions — fully supported.Vercel EdgeSupported. Set NOMIQON_TIMEOUT_MS=5000 for edge constraints.Cloudflare WorkersSupported. Use the fetch-native transport; do not import Node built-ins.BunFully supported natively.BrowserNot supported. API keys must never be exposed client-side.