The Respan JS/TS SDK brings full LLM observability to Node.js and TypeScript applications. Install the package, initialize with your API key, and every LLM request is captured automatically - inputs, outputs, latency, token usage, and cost.
The SDK integrates with the OpenAI SDK, Vercel AI SDK, and other popular TypeScript LLM libraries. Use decorators or wrapper functions to trace multi-step agent workflows as hierarchical traces.
Install the package with npm install respan. Import and initialize the client with your API key at application startup.
The SDK instruments supported LLM client libraries automatically. For custom pipelines, use the trace wrapper to group related calls into a single hierarchical trace that appears in the Respan dashboard.