Skip to main content
JavaScript and TypeScript SDK for CosVec AI.

Quickstart

Install the SDK (Node.js 20 or newer):
Set TYPESAFE_API_KEY in your environment, then create and use the client:
Answer types are inferred from your questions. The package includes ESM, CommonJS, and TypeScript declarations.

Documentation

Learn what CosVec can do in the CosVec docs. See the SDK’s client and types for API options and defaults.