npm install gentrace
OpenTelemetry Dependencies: Modern package managers (npm 7+, yarn 2+, pnpm) will automatically install all required OpenTelemetry peer dependencies. If you need to install them manually, see the OpenTelemetry setup guide.

Package Information

The Gentrace SDK is available for multiple languages: TypeScript
  • Package: gentrace
  • Status: Alpha release
  • Repository: GitHub
  • Requirements:
    • Node.js 20+
    • npm, yarn, or pnpm package manager
Python

Next Steps

After installation, you’ll need to initialize the SDK with your API credentials:
  1. Initialize the SDK with your Gentrace API key
  2. Set up OpenTelemetry integration for automatic tracing
  3. Start using traced functions and interactions

Getting an API Key

You can generate an API key by visiting https://gentrace.ai/s/api-keys