Installation
🛑Alpha
OpenTelemetry support is currently in alpha and may undergo significant changes.
Installation​
Install the Gentrace SDK using your preferred package manager:
- TypeScript
- Python
bash
npm install gentrace
bash
pip install --pre gentrace-py
Package Information​
The Gentrace SDK is available for multiple languages:
- Package: gentrace-py
- Status: Alpha release
- Repository: GitHub
Requirements​
- Node.js 16+
- npm, yarn, or pnpm package manager
- Python 3.7+
- pip, poetry, or uv package manager (uv recommended)
Next Steps​
After installation, you'll need to initialize the SDK with your API credentials:
- Initialize the SDK with your Gentrace API key
- Set up OpenTelemetry integration for automatic tracing
- Start using traced functions and interactions
Getting an API Key​
You can generate an API key by visiting https://gentrace.ai/s/api-keys