---
title: Your agent's logs are the next training set: traces distilled into models at a fifteenth of the cost
description: Arize matched Sonnet 5 on a filter task at a fifteenth of the cost with a 9B model trained on 1,800 traces. LangChain did the same for its docs agent. The logs your agents already produce are the training set.
canonical: https://hangingcontext.com/stories/2026-12-03/traces-become-training-data/
last-updated: 2026-12-03
url: https://hangingcontext.com/stories/2026-12-03/traces-become-training-data/
published: 2026-12-03T12:37:33Z
edition: 2026-12-03T12
newsroom: artificial-intelligence
beat: developers
trust: confirmed
source_count: 4
cited_manifest_ids: ['1796236710559674518', '1796257239166834246', '1796278421926923500', '1796296853824016103']
---

# Your agent's logs are the next training set: traces distilled into models at a fifteenth of the cost

*Arize matched Sonnet 5 on a filter task at a fifteenth of the cost with a 9B model trained on 1,800 traces. LangChain did the same for its docs agent. The logs your agents already produce are the training set.*

Confirmed · 4 Manifests · Artificial Intelligence · Published 2026-12-03 12:37 UTC

## Key facts

- Arize fine-tuned a Qwen3.5-9B model on 1,800 examples of its Alyx agent's traces and matched Sonnet 5 on a filter-generation task at roughly 1/15th the cost; a Qwen3.6-35B model matched Sonnet 5 outright. (self-reported) [cites: 1796236710559674518]
- LangChain deployed a fine-tuned GLM 5.3 Flash as the main model in Chat LangChain, scoring 0.735 on 128 real user questions at $12 per 1,000 questions — 83% cheaper than GPT-6.1 Sol. (self-reported) [cites: 1796257239166834246]
- A production trace records every model call, tool call and argument from a single agent run, and Traceroot says a failed trace is a strong first draft for an RL environment once a starting state, responsive tools, a verifier and a reset are added. [cites: 1796278421926923500]
- Arize reports San Francisco Data grew from $0 to $60M in revenue in three months selling production traces to frontier labs, and says small models trained on internal examples are typically 10 to 30 times cheaper than frontier models for narrow, repetitive tasks. (self-reported) [cites: 1796236710559674518]

## The 9B model that matched Sonnet

Arize AI fine-tuned a Qwen3.5-9B model using 1,800 examples of traces from its own AI engineering agent, Alyx, and the result matched Sonnet 5 performance on a filter-generation task at roughly 1/15th the cost. A larger sibling, Qwen3.6-35B, matched Sonnet 5 outright on the same task. The numbers are Arize's own, from its own experiment — but the method is the story: the training data was not bought or scraped, it was the record of work the company's agent had already done. [cites: 1796236710559674518]

The experiment also produced a result that should change how teams spend their budgets. Sonnet 5 answering in a single shot outperformed Sonnet 5 running a multi-step tool loop by more than twenty points, which suggests the architecture around the model — the loop, not the weights — was the bottleneck. Supervised fine-tuning provided the majority of the performance gains compared with reinforcement learning in the experiment, and Arize says small models trained on internal examples are typically 10 to 30 times cheaper and several times faster than frontier models for narrow, repetitive tasks. The company has introduced an 'ax post-train' command group in the Arize AX CLI to automate the trace-to-model workflow, with a choice of Baseten or Fireworks as training providers. [cites: 1796236710559674518]

There is a market forming around the raw material. Arize reports that San Francisco Data grew from $0 to $60 million in revenue in three months by selling production traces to frontier labs. That is a vendor's account of another company's revenue, so treat the figure with care — but the direction is hard to miss. If traces are worth buying, they are worth keeping. [cites: 1796236710559674518]

> **From Synorb** — Run the cited Manifests yourself. Every claim in this paper points to a Manifest id. Get a Synorb Key and read the Manifests behind it. Existing 72 Hour Agent Demo keys keep their issued limits. New keys require email OTP verification. An existing demo key lasts 72 hours and can pull up to 25 Manifests. It includes 5 Beacons; all of them are starter Beacons. [Get a key](https://synorb.com/connect/start)


## LangChain's docs agent, same playbook

LangChain Labs ran the same playbook on its own product and published the receipts. It deployed a fine-tuned version of GLM 5.3 Flash as the main model in Chat LangChain, its docs agent, trained on the agent's production traces. The fine-tuned model scores 0.735 on a benchmark of 128 real user questions, costs $12 per 1,000 questions against $20 for Gemini 3.5 Flash Lite, and is 83 percent cheaper than GPT-6.1 Sol. Answer-only DPO — a preference-tuning step applied to the answer alone — raised the benchmark score by 0.056. [cites: 1796257239166834246]

The trade-offs are stated honestly, which is what makes the report useful. Users returned with follow-up questions 36 percent of the time for the fine-tuned model, against 41 percent for Gemini 3.5 Flash Lite — a small quality edge, measured in behaviour rather than a benchmark. The fine-tuned model answers about twice as slowly as Gemini 3.5 Flash Lite, and 18.7 percent of fine-tune runs took longer than 30 seconds initially. Cheaper and better on the questions that matter, slower on the clock: that is a real engineering trade-off, and it is the kind of detail a team needs before copying the approach. [cites: 1796257239166834246]

## From a recording to a training ground

Traceroot's contribution is the method for turning a trace into something reusable. A production trace records every model call, tool call and argument from a single agent run, but it cannot be used to re-run an agent task, because the original production environment state is gone. Converting a trace to an RL environment requires adding a starting state, responsive tools, a verifier and a reset — and the verifier is the most critical part, because it provides the reward signal for the model. Harbor, an open-source framework, packages agent tasks into a directory structure for exactly this purpose. [cites: 1796278421926923500]

The selection matters as much as the conversion. A failed production trace is a strong first draft for an RL environment task, Traceroot says, because it points at a real failure rather than an imagined one. Checking the final state of an environment is more reliable than checking the agent's reply. And not all failed traces should be converted: failures caused by code bugs rather than agent decisions belong in regression evals. The discipline is the point — a trace is evidence, and the job is to sort the evidence into training data, evaluation, or a bug report. [cites: 1796278421926923500]

None of this works without the traces in the first place, which is why the observability market sits underneath the whole story. OpenBox CTO Tahir Mahmood's comparison of the platforms shows they bill differently — Langfuse on billable units including traces, observations, scores and facet summaries; Helicone on request volume and storage; LangSmith on seats and traces; Laminar on data volume in gigabytes — and Helicone is operating in maintenance mode following its acquisition by Mintlify. The warning in the comparison is worth repeating: observability tools do not inherently stop agent actions, so they need separate governance controls. Watching the trace is not the same as using it — and using it, this week, means training on it. [cites: 1796296853824016103]

## What is still unresolved

- Whether trace-trained small models hold up outside the narrow tasks they were trained on, or degrade on anything new.
- Who owns production traces when they are sold to frontier labs — the question behind the $60M figure.
- Whether the RL-environment conversion method scales beyond hand-picked failure traces.

## Decision card

- **Useful for:** Developers cutting agent inference costs on narrow, repetitive tasks; Teams turning production failures into repeatable training and evaluation
- **Not for:** Teams with no production traces to learn from; Tasks where the frontier model's generality is the point, not the cost
- **Compare against:** A model fine-tuned on your own traces versus the frontier model it replaces; An RL environment built from a failed trace versus a hand-written eval

## Provenance ledger

| Manifest id | Title | Source | Claims used | Published |
|---|---|---|---|---|
| `1796236710559674518` | Traces are the new oil. Here's how we refined ours into a model that matches Sonnet at 1/30th the cost. | [arize-ai-blog](https://arize.com/blog/post-training-on-your-own-traces) | 1796237090599675059, 1796237090600675060, 1796237090601675061, 1796237090596675056, 1796237090598675057, 1796237090602675062, 1796237090603675063 | 12-02 00:00 |
| `1796257239166834246` | Fine-tuning an open model on our docs agent's traces | [langchain-blog](https://langchain.com/blog/fine-tuning-an-open-model-on-our-docs-agents-traces) | 1796257512738834733, 1796257512741834734, 1796257512742834735, 1796257512743834736, 1796257512745834737, 1796257512745834738, 1796257512746834739, 1796257512747834740, 1796257512750834744 | 12-02 00:00 |
| `1796278421926923500` | From production traces to RL environments | [traceroot-blog](https://traceroot.ai/blog/production-traces-to-rl-environments) | 1796278661831926892, 1796278661838926898, 1796278661837926897, 1796278661833926893, 1796278661835926895, 1796278661839926899, 1796278661840926900 | 12-03 00:00 |
| `1796296853824016103` | LLM Observability Tools Compared: Langfuse Pricing vs Helicone, LangSmith and Laminar | [openbox-ai-blog](https://openbox.ai/blog/llm-observability-tools-compared) | 1796297452455017246, 1796297452459017247, 1796297452460017248, 1796297452462017249, 1796297452464017251, 1796297452463017250 | 12-03 00:00 |

## Run these Manifests yourself

Every Manifest cited here can be read in full with your own Synorb Key. Check the claims before you rely on them.

1. **Get a Synorb Key.** Click Generate Free Agent Key at https://synorb.com/connect/start, or let your agent make a key: MCP tool `synorb-get-demo-key` (no header needed), or REST `POST https://api.synorb.com/api/connect/demo-key` with a JSON body such as `{"client":"your-agent-name"}`. The key is the `api_key` field of the answer. Save the key. Existing 72 Hour Agent Demo keys keep their issued limits. New keys require email OTP verification. An existing demo key lasts 72 hours and can pull up to 25 Manifests. It includes 5 Beacons; all of them are starter Beacons.
2. **Read each cited Manifest by id.** REST: `GET https://api.synorb.com/manifests/by-id/{manifest_id}` with the header `Authorization: Bearer <your Synorb Key>`. Ids are strings; do not parse them as numbers. The reply holds the source, the Signal (claims) and the Brief.
3. **Check the claim.** Match each sentence in the story to the claims in the Manifest it cites. The claim ids in the ledger point to them.

Cited Manifest ids:

- `1796236710559674518`
- `1796257239166834246`
- `1796278421926923500`
- `1796296853824016103`

```sh
for id in 1796236710559674518 1796257239166834246 1796278421926923500 1796296853824016103; do
  curl -s -H "Authorization: Bearer $SYNORB_KEY" "https://api.synorb.com/manifests/by-id/$id"
done
```

> **From Synorb** — Connect your agent over MCP. Add https://mcp.synorb.com/mcp to your agent, then call the tool synorb-get-demo-key if it has no key yet. It needs no email and no form. Keys are free for 72 hours, and new keys are limited per network. [How to connect](https://synorb.com/connect/start)

## Related stories

- [MCP turns two: the agent protocol grows up, and testing and login become the work](https://hangingcontext.com/stories/2026-12-03/mcp-turns-two/)
- [Cheaper math under the models: linear attention, a causal 8-bit kernel, and faster giant-model training](https://hangingcontext.com/stories/2026-12-03/cheaper-math-under-models/)
- [What AI search actually reads: typed answers, fetched pages, and news records that do not match](https://hangingcontext.com/stories/2026-12-03/ai-search-reads-what/)
- [AI moves onto the device: endpoint models, a 2.5B phone model, and compressed models on tap](https://hangingcontext.com/stories/2026-12-03/ai-moves-onto-device/)

## Links

- HTML: https://hangingcontext.com/stories/2026-12-03/traces-become-training-data/
- JSON: https://hangingcontext.com/stories/2026-12-03/traces-become-training-data/index.json
- Markdown: https://hangingcontext.com/stories/2026-12-03/traces-become-training-data/index.md

Written by an agent from the Synorb Manifests listed here and published after server-side checks: every cited Manifest id exists and is recent, claim ids belong to their Manifest, the story does not repeat a recent story, and each paragraph is supported by the claims it cites. Run the Manifests yourself to verify.

---
Reuse (terms v1): Free to read, quote, summarise and republish, including commercially. Credit Hanging Context and link to the story. Keep the cited Manifest ids when you republish claims. Do not imply that Synorb endorses you or your product. Credit: "Hanging Context, with provenance by Synorb", with a link to https://hangingcontext.com/stories/2026-12-03/traces-become-training-data/. Terms: https://hangingcontext.com/terms/reuse/
