Overview
observra routes your application's LLM calls through the Observra Gateway and
Quickstart
Add Observra before constructing provider clients.
Configuration
Configure Observra once per process, before creating provider clients:
Providers and integrations
Choose provider and integration type. Default selection is OpenAI with SDK.
Guardrails
Every SDK-routed request and response is scanned locally for built-in PII and credential patterns. Matches are recorded on spans as guardrail attributes; normal SDK traffic is never blocked or rewritten.
Tracing
Observra creates client-side spans around supported LLM traffic and injects W3C trace context into gateway-bound requests.
Frameworks
Call observra.instrument() after configure() to patch installed supported agent frameworks:
API reference
Stable top-level package surface: