iFixAi

Trace intake: auditing the traces you already collect

ifixai traces import turns a trace export from your observability tool into an iFixAi trajectory capture, the JSONL file a trajectory audit reads: one header row, then one event per row.

ifixai traces import export.json --from otel --tenant acme --collector otel-gateway -o capture.jsonl

From Python:

from ifixai.trace_intake import import_trace, write_result

result = import_trace("export.json", source="auto", tenant_id="acme", collector_id="otel-gateway")
result.capture_rows   # header row, then event rows
result.warnings       # every gap the import found
write_result(result, "capture.jsonl")

What each importer reads

Every capture starts with one start event and finishes with one end event. In between:

Source Becomes an action Becomes an output Becomes a source Read for structure only
OpenTelemetry (OTLP JSON, GenAI conventions) gen_ai.operation.name = execute_tool chat, text_completion, generate_content with final text retrieval invoke_agent, create_agent, embeddings
Langfuse (trace with observations) TOOL observations GENERATION with final text RETRIEVER AGENT, CHAIN, SPAN, EMBEDDING, EVALUATOR, GUARDRAIL
LangSmith (runs, flat or nested) run_type = tool llm with final text retriever chain, prompt, parser, embedding
Arize Phoenix / OpenInference openinference.span.kind = TOOL LLM with final text RETRIEVER AGENT, CHAIN, EMBEDDING, RERANKER, GUARDRAIL, EVALUATOR, PROMPT
Braintrust (span rows) span_attributes.type = tool llm with final text (none) task, function, eval, score, automation

What goes into each event:

The importer only reads the file. Nothing in it is run, opened or fetched. Inputs over 64 MiB, or with more than 100,000 events, are refused, never cut short.

What it never infers

Warnings

Every gap is recorded as a warning: dropped attributes, unmapped or unknown span kinds, missing timestamps, parents missing from the export, missing tool arguments, unknown outcomes, ids replaced by digests, and content the source had already cut short or redacted. Any warning leaves the capture incomplete, so an audit of an imported trace can never come back clear on partial evidence.