Skip to content
GitHubLog inStart free
cetra is not released yet. These docs describe the development version.

Omnigent

Omnigent is an open-source (Apache-2.0) layer for building and running AI agents. It runs over Claude Code, Codex and Pi, and over its own runtimes. This page shows the environment variables that send its telemetry to cetra. It is setup only: no fixture is recorded for it.

Omnigent reads its telemetry settings from the environment only. Set these variables in the shell where you start omni or omnigent. Replace <CETRA_URL> with your server, and <SK_CETRA_KEY> with a key that has the ingest scope, from the project’s API keys page. The header value is percent-encoded:

Terminal window
export OMNIGENT_TELEMETRY_ENABLED=true
export OTEL_EXPORTER_OTLP_ENDPOINT=<CETRA_URL>
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer%20<SK_CETRA_KEY>"
export OMNIGENT_OTEL_HTTP_CLIENT_INSTRUMENTATION=false
export OMNIGENT_OTEL_FASTAPI_INSTRUMENTATION=false

Telemetry stays off unless OMNIGENT_TELEMETRY_ENABLED is true.

Inputs and outputs are off by default. To send them on the spans, also set:

Terminal window
export OMNIGENT_OTEL_CAPTURE_CONTENT=true
  • No per-call model spans. Omnigent’s model calls carry no GenAI fields, and the HTTP client flag above removes their HTTP spans, so cetra sees no model call from Omnigent.
  • The only token counts are the turn’s total, on the agent:<name> span. That span’s model field is the harness name, such as openai-agents, not the model that answered.
  • FastAPI’s own telemetry still emits plumbing spans. The FastAPI flag above does not stop them.
  • Omnigent also sends logs and metrics. cetra accepts them and drops them.
  • The spans described here come from local runs against a fake model endpoint, not from a recorded fixture.
  • Traces: read a trace as a tree and a timeline.
  • API keys: create the ingest key that Omnigent sends.