pi-map_
← /news
Apr 5, 2026community

pi-share-hf: publish your agent sessions to a public dataset

In early April 2026, Mario Zechner published badlogic/pi-share-hf, an open-source tool for sharing real coding-agent sessions with the community. The pi README encourages anyone using pi (or other coding agents) on open-source work to publish their session traces: real-world tasks, tool use, failures, and fixes make better material for improving agents than toy benchmarks.

pi-share-hf is an incremental pipeline with several safety stages before anything is uploaded:

  1. Collect pi session files for one project.
  2. Redact exact secrets taken from your environment file and --secret flags.
  3. Reject sessions matching user-provided --deny patterns.
  4. Scan the redacted output with TruffleHog to detect any surviving secrets.
  5. Run an LLM review over the remaining sessions.
  6. Upload only sessions that pass all checks.

The tool keeps state in a workspace, so repeated runs only process new or changed sessions.

Zechner publishes his own pi-mono work sessions this way; they are available as the badlogicgames/pi-mono dataset on Hugging Face. Setup requires a Hugging Face account, the HF CLI, and pi-share-hf itself — details are in the repository README.

source: https://github.com/badlogic/pi-share-hf