Shipped: an open-source tool that turns agent traces into clean training data (tracetune v0.1.2)
I just published my first open-source release and I want honest feedback from people who run agents in production.
The problem: every agent run is a lesson, but most teams only log traces and never use them. Raw traces are noisy: crashes, thumbs-downs, failed tool calls, the same question repeated 50 times.
What it does: tracetune reads a JSONL file of agent runs, scores each one, keeps the best run per question, and exports a chat-format dataset that TRL and Unsloth style trainers can read.
uv tool install tracetune
tracetune build --traces traces.jsonl --out dataset.jsonlOn the 8 sample traces in the docs it keeps 4 and tells you why it dropped the other 4 (negative_feedback, trace_error, step_error, low_score).
What exists today: the Python tool (zero runtime dependencies), a small Go collector (localhost-only by default, token auth), a Rust preprocessor for big files, docs, and a browser playground.
What does NOT exist yet: Langfuse and OpenTelemetry importers, training, evaluation, and release checks. Those are on the roadmap, not built.
An honest weakness: a trace with no feedback currently scores neutral and is kept, even if the answer was wrong. Better scoring is next.
Where I would love help:
- Anyone with real agent traces (scrubbed of personal data, please) willing to run it and tell me where it breaks.
- Ideas for scoring runs that have no thumbs up or down.
- Contributors for the Langfuse and OpenTelemetry importers.
GitHub: github.com/mishraxharshit/applied-machine PyPI: pypi.org/project/tracetune/
Apache-2.0. If you would like to back the project, reply here or DM me.






Comments
0 comments