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:
- Collect pi session files for one project.
- Redact exact secrets taken from your environment file and
--secretflags. - Reject sessions matching user-provided
--denypatterns. - Scan the redacted output with TruffleHog to detect any surviving secrets.
- Run an LLM review over the remaining sessions.
- 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.