TypeScript SDK
The Opik TypeScript SDK provides a powerful and easy-to-use interface for tracing, monitoring, and debugging your JavaScript and TypeScript applications. It offers comprehensive observability for LLM applications, agent workflows, and AI-powered systems.
Integrations
Opik provides seamless integrations with popular JavaScript/TypeScript frameworks and libraries:
- LangChain (JS/TS) - Trace and monitor your LangChain applications, including chains, agents, tools, and retrievers
- OpenAI (JS/TS) - Trace and monitor your applications using the official OpenAI Node.js SDK
- Vercel AI SDK - Integrate Opik with Vercel AI SDK for monitoring AI-powered applications
- Cloudflare Workers AI - Trace and monitor your Cloudflare Workers AI applications
For a complete list of available integrations, see the Integrations Overview.
Installation
You can install the opik
package using your favorite package manager.
Opik Configuration
You can configure the Opik client using environment variables.
Or you can pass the configuration to the Opik client constructor.
Usage
You can find the full Typescript reference documentation here.