DEVELOPER DOCS

SDK

Evigauge SDK Reference

On this page

Instrument your agents so Evigauge can reconstruct why they did what they did. This document covers the Python SDK (evigauge-trace), the TypeScript / OpenTelemetry route, framework adapters, and the evigauge CLI.

Companion documents: REST API Reference · MCP & Claude Code Plugin


Naming: Evigauge vs evigauge

The product is Evigauge (formerly Evigauge). The rename is a brand change only.

Every identifier in code stays evigauge. Renaming any of these breaks installation, imports, auth, or span validation:

SurfaceValue — do not rename
PyPI packageevigauge-trace
Python importimport evigauge.trace
Console scriptsevigauge, pxcore-mcp, pxcore-proxy
Auth headerx-evigauge-api-key
Ingest hostingest.evigauge.ai
Span attributesevigauge.*
Env varsEVIGAUGE_API_KEY, EVIGAUGE_TRANSPORT, …
Local WAL.evigauge-wal/spans.jsonl
Config files.evigauge/shipcheck.yml, .evigauge/agentmap.lock

Language support at a glance

PythonTypeScript / JavaScript
Packagepip install evigauge-traceNo Evigauge npm package — use OpenTelemetry JS
Setupevigauge.trace.init(...)OTLP/JSON exporter + attribute helpers
Decorator / wrapper@observe, ReasoningTracewithEvigaugeTrace()
Auto-instrumentation✅ patches LLM clients➖ manual, or OTel auto-instrumentation
Crash-safe WAL✅ built in➖ rely on BatchSpanProcessor
CLI✅✅ (the CLI is language-agnostic)

There is no @evigauge/trace npm package, and none is planned — TypeScript instruments through native OpenTelemetry JS exporting OTLP/JSON. The helper module in TypeScript setup does the rest.