baseUrl in your AI SDKs and adding required headers. This enables automatic observability without manual instrumentation.
Proxy is based on the open source Adaline Gateway project.
The flow
- SDK Configuration — Update your AI SDK’s
baseUrlto point to Proxy - Header Addition — Add required Adaline headers for authentication, project and prompt identification
- Transparent Proxying — Proxy forwards your requests to the actual AI provider
- Automatic Telemetry — Responses are captured and logged as traces and spans in your Adaline project and prompt
- Original Response — Your application receives the exact same response it would from the provider
Benefits
- Minimal Code Changes — Works with existing AI SDK implementations by adding a couple of lines of code
- Automatic Observability — Captures traces and spans without manual logging
- Real-time Monitoring — Immediate visibility into AI application performance, including token usage and costs
- Continuous Evaluations — Setup one-click continuous AI evaluations for your AI applications
- Provider Agnostic — Supports all major AI providers
- Production Ready — Built for scale with high availability and security
- No Extra Costs — Proxy requests are billed as regular API Log requests to Adaline
Quick start
- Python (OpenAI)
- TypeScript (OpenAI)
- Python (Anthropic)
Supported providers
Required headers
Optional trace headers
Optional span headers
For the full header specification with validation rules and detailed examples, see the Proxy Headers Reference.
Group requests into a single trace
Use the sameadaline-trace-reference-id across multiple requests to group them under one trace:
What gets captured automatically
When you route through the Proxy, Adaline automatically captures:- Request and response payloads
- Token usage (input and output) and cost
- Latency
- Model and provider information
- Errors and status codes
Next steps
Proxy Headers Reference
Complete reference for all required and optional Proxy headers.
Advanced Usage
Session tracking, multi-step traces, and error patterns.
Setup Continuous Evaluations
Run automated quality checks on live production data.
Log Attachments
Attach custom attributes, tags, and variables.
Integrations
Browse all supported AI providers and frameworks.
Adaline Gateway (Open Source)
The open source project that powers Proxy.