agent-trace-lite records simple agent spans and events to JSONL and summarizes durations and errors.
python -m pip install .agent-trace-lite start trace.jsonl plan
agent-trace-lite event trace.jsonl tool_call --message "ran command"
agent-trace-lite end trace.jsonl SPAN_ID --status ok
agent-trace-lite summary trace.jsonl --format jsonRecord types:
span_start: span id, name, timestamp, optional parent idevent: name, timestamp, level, optional message and span idspan_end: span id, status, timestamp, and duration when the start record is present
python -m unittest discover -s tests