1. Turnkey — live pipeline
The recommended starting point. Give Origin your pipeline and it handles tracing and scoring automatically. Your pipeline only needs@span decorators from aevyra_witness.runtime:
2. Adapter — existing framework logs
Already emitting telemetry from another framework? Parse the logs into anAgentTrace and hand it directly to Origin.
OpenClaw JSONL
OpenClaw streams telemetry as JSONL — one event per line. Thefrom_openclaw_jsonl adapter handles start/end
pairing, auto-parents tool calls via tool_call_id, and covers all OpenClaw
event families including Task Brain (task.*, cron.*, acp.*):
OpenTelemetry (LangGraph, CrewAI, AutoGen, Vercel AI SDK)
Any framework that emits OpenTelemetry spans with the GenAI semantic conventions works out of the box:from_otel_spans.
Bring your own format
For structured logs from Langfuse, LangSmith, or a home-grown JSONL store, the BYO trace tutorial shows a 30-line adapter pattern that works for any source format.3. Raw — AgentTrace + score
Already have anAgentTrace and a score? Use Origin.diagnose directly:
AgentTrace.to_dict() / AgentTrace.to_json() serialize the trace;
AgentTrace.from_dict() / AgentTrace.from_json() restore it. Non-Python
producers can emit a conforming JSON object directly — see the
Witness schema spec.