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.
Candidate
Baseline
Control
replay timeline
ci verdict
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.
Further reading
Ingest traces
Start with one exported trace bundle, convert to seeds or candidates, then expand with Agentic Self-Instruct generation.
Datasets overview
Learn about dataset creation and trace imports.
Tools network and secrets
Review tool, network and secret configuration.
DataSmith OTLP docs
Local trace ingestion reference.
Synthetic data generation
Expand seeds with weak-vs-strong generation.
Agent regression testing
Gate releases on trace-derived coverage.
Dataset CI gates
Fail builds when a candidate regresses against a pinned baseline.
Agent evals
Real-task agent evals with replay evidence and CI gates.
LLM agent evaluation
Evaluate LLM agents on full trajectories, not one-shot answers.
Compare tools
See how AgentClash differs from prompt-eval platforms.
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.