Who it is forAn engineer who wants to post or send an example of an agent session to a colleague or a public issue without exposing code or prompts.
The problemRaw transcripts contain prompts, tool outputs, and file contents that should not leave a machine.
The outcomeA single map file with repo names and redacted paths that a reader can inspect without seeing prompt text, tool outputs, or file contents.
What you need first
- Python 3.11 or newer
- uv, pipx, or pip to run agentplay
- Existing session transcripts from a supported agent such as Claude Code, Codex, or Cursor on the same machine
Steps
- Run
agentplay build --path-mode dirs_onlyto rebuild maps with directory-only paths. (inferred, check the README) - Run
uvx agentplayto open the viewer and confirm the session appears in the list. - Run
agentplay export <session> <file>.jsonto write one session's map to a file. (inferred, check the README) - Open the exported file and confirm it contains no prompt text or file contents before sharing.
Prompt for your agent
In the agentplay repo at https://github.com/Entelligence-AI/agentplay, rebuild maps with `--path-mode dirs_only`, then export the session <session id> to <output file>.json. Report the repo names and the number of paths the export tool says it contains. Verify that the exported file has no prompt, assistant, or tool output text.
Caveat. Repo names and remotes stay in every path mode, so remove the repos remote field before sharing if the remote is sensitive.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Entelligence-AI/agentplay and "Share a session map without prompt text or file contents"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer