Hugging Face Natively Supports Agent Traces: Save Claude Code Sessions, Fine-Tune Cheaper Models
NielsRogge · x · 2026-11-24
Niels Rogge's tip: if you're running any agentic use case with frontier models, save the traces to Hugging Face — you can later fine-tune smaller, cheaper open-source models (e.g. Qwen3.5 4B) on them, saving significant inference cost while running faster.
Key points from the official Agent Traces docs:
- Traces from Claude Code, Codex, Pi, Hermes Agent, and Factory Droid are natively supported on the HF Hub — upload raw JSONL sessions without conversion.
- Datasets open traces in Data Studio's dedicated trace viewer; Storage Buckets let you open individual .jsonl files directly.
- Local session directories: Claude Code /.claude/projects, Codex /.codex/sessions, Factory/Droid /.factory/sessions, Pi /.pi/agent/sessions.
- Hermes Agent requires hermes sessions export to JSONL first.
- Requests routed through OpenRouter can be exported straight to a bucket and viewed the same way (OpenRouter Broadcast traces).
More from coding & agent
- Weaviate Podcast #148: Machine Studying, Continual Learning and Self-Driving Knowledge Bases — CShorten30 · 2026-11-24
- Beyond Software Factories: Learning Labs and engineers as harness builders — viksit · 2026-11-24
- Commit chart goes vertical: Conductor repo hits ~1,500 commits in a single week — charlieholtz · 2026-11-24
- Inkling 2 Mini: a 26B looped transformer, plus Songe trains your local model while you sleep — iamrobotbear · 2026-11-24
- Canva launches MCP server, opening its design engine to any AI agent — basedjensen · 2026-11-24
- Cognition co-founder: nearly all their code is written by Devin, some devs use iPads — Madisonkanna · 2026-11-24