Who it is forA developer reviewing an agent's pull-ready changes who wants to confirm it looked at the right code first.
The problemA diff shows the final edit but not the investigation that led to it, so a reviewer cannot tell whether the agent read the relevant files.
The outcomeA clear list of files read, edited, and skipped in the session, with the order they were touched.
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
uvx agentplayin a terminal to build maps and open the local viewer. - Open the session you want to review from the session list in the viewer.
- Use the map to find the edited file and check which files were seen or read before it.
- Press Space to play the timeline and watch the order of reads and edits.
Prompt for your agent
In the agentplay repo at https://github.com/Entelligence-AI/agentplay, run `uvx agentplay` and open the session that edited <target file path>. Report which files the agent read before the first edit to that file and which related files it never opened. Verify by confirming each listed read appears earlier than the first edit on the timeline.
Caveat. The map shows files and actions, not the agent's reasoning or the text of its prompts, so you still need the diff to judge the change itself.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Entelligence-AI/agentplay and "Check what an agent read before it edited a file"
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