Package managers
You can install the ZeroEval SDK using any modern JavaScript package manager:Requirements
Node version
The ZeroEval SDK requires Node.js 18.0.0 or higher.package.json
Runtime support
The SDK works in multiple JavaScript runtimes:- Node.js 18+
- Bun (latest version)
- Browser environments (Vite, Next.js, etc.)
Peer dependencies
The ZeroEval SDK includes automatic integrations with popular AI libraries. These are all optional peer dependencies that you only need to install if you’re using the corresponding integration.OpenAI
If you’re using the OpenAI SDK, install it alongside ZeroEval:Vercel AI SDK
For Vercel AI SDK integration:ai: 5.0.0-beta.28+@ai-sdk/openai: 2.0.0+
LangChain
For LangChain or LangGraph integration:langchain: 0.3.29+@langchain/core: 0.3.62+@langchain/langgraph: 0.3.6+ (optional)
All peer dependencies are optional. The SDK will only use integrations for libraries you have installed.
Module format
The SDK supports both ESM and CommonJS:ESM (recommended)
CommonJS
TypeScript support
The SDK includes full TypeScript definitions out of the box. No additional@types packages are needed.
tsconfig.json
Verify installation
After installation, verify the SDK is working correctly:Next steps
Authentication
Set up your API keys and authenticate
Quickstart
Build your first traced application