Every time a coding agent works through a task , reading files, running bash commands, calling tools, backtracking on a bad plan , it leaves behind a detailed log of that reasoning. Until now, those logs sat in a hidden folder on your machine and went nowhere. Factory and Hugging Face are changing that with a new integration that turns your Factory Droid session files into shareable, browsable datasets on the Hub.

What just shipped

You can now upload traces from agents like Claude Code, Codex, Pi, and Factory Droid directly to Hugging Face Datasets. The Hub auto-detects trace formats and tags your dataset as "Traces", with a dedicated viewer for browsing sessions, turns, tool calls, and model responses. The whole thing is zero-friction: these trace files are supported out of the box, so you can upload them without modifying or converting them first.

Here is where each agent stores its sessions locally:

AgentLocal session directory
Claude Code~/.claude/projects
Codex~/.codex/sessions
Factory / Droid~/.factory/sessions
Pi~/.pi/agent/sessions

Uploading is a two-command process using the Hugging Face CLI:

hf upload <username>/<dataset-name> ~/.factory/sessions . --repo-type dataset
# or keep it in sync as new sessions land:
hf buckets sync ~/.factory/sessions hf://buckets/<username>/<bucket-name>/factory
Alpha Signal

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves