Official TypeScript SDK
@coherenceos/sdk is now on npm — a fully typed, zero-dependency TypeScript client covering every /v1 endpoint, including SSE agent streaming.
npm install @coherenceos/sdk— the official TypeScript / JavaScript client is on npm. Fully typed, zero runtime dependencies, ESM + CommonJS, MIT licensed, Node 18+.- Covers every
/v1endpoint: modules, records (including bulk operations), references, cross-module search, activity feeds, and agents — withagents.stream()exposing the SSE agent run as a typedfor awaitloop. - The SDK's operation set is contract-tested against the canonical OpenAPI spec, so the client can never silently drift from the API. See the TypeScript SDK reference.