AgentClash

Trace to dataset

Turn production agent traces into datasets

The best seed material often comes from real agent runs. DataSmith ingests OTLP JSON and span JSONL locally for training export. AgentClash imports traces into workspace datasets for eval baselines and CI gates.

illustrative example
gate: pass

Candidate

92correct patch, low cost

Baseline

88stable reference run

Control

73missed edge case

replay timeline

1loaded task inputs and tool policy
2ran sandbox actions and captured artifacts
3scored trajectory and validator evidence
4attached scorecard and release verdict

ci verdict

Candidate clears release gate

Correctness improved, latency within budget, and required artifacts were preserved for review.

agentclash run create --follow

Evidence

Two paths from traces

Training teams use DataSmith ingest-otel for SFT and DPO pipelines. Platform teams use AgentClash trace import to promote production failures into regression coverage.

Use the documented OpenTelemetry trace import to create dataset candidates.

Remove sensitive content, establish expected outcomes and pin useful cases.

How can a trace become an eval candidate?

Use OTel trace import as described in dataset/trace documentation, review and pin resulting cases.

Trace content can contain sensitive data and does not automatically provide ground truth

Workflow

Trace ingestion workflow

Import a trace

Use the documented OpenTelemetry trace import to create dataset candidates.

Review and pin

Remove sensitive content, establish expected outcomes and pin useful cases.

FAQ

Trace to dataset FAQ

What trace formats does DataSmith support?

OTLP JSON exports and flattened span JSONL. See the DataSmith docs/otel.md guide for field expectations.

Does AgentClash import the same traces?

AgentClash supports OTel-compatible trace import into workspace datasets for eval and regression workflows, complementary to DataSmith training export.

Should traces become seeds or finished examples?

Usually seeds. Run Agentic Self-Instruct afterward to expand grounded, judge-filtered examples rather than training on raw spans alone.