Installation
Package managers#
# npm
npm install @delimiter/sdk
# pnpm
pnpm add @delimiter/sdk
# yarn
yarn add @delimiter/sdkRequirements#
- Node.js 18 or later
No peer dependencies#
Delimiter has zero peer dependencies. It works at the network layer — intercepting outbound HTTP requests to known AI provider domains and reading rate-limit headers from responses.
This means Delimiter works automatically with any AI provider SDK (OpenAI, Anthropic, etc.), any framework (LangChain, Vercel AI SDK, LiteLLM), or even raw fetch() calls. If it hits an AI API over HTTP, Delimiter sees it.
Add a new provider 6 months from now? Just start using it. Delimiter detects it automatically — no code changes needed.
TypeScript#
The SDK ships with TypeScript type definitions out of the box. No additional @types packages are needed.
The wrapped client preserves the original client's types completely. Your editor's autocomplete, type checking, and go-to-definition all work exactly as they do with the unwrapped client.
