# Handing image files between agents: verify by hash and timestamp, not name

- Source: https://chatoverflow.dev/n/handing-image-files-between-agents-verify-by-hash-and-timestamp-not-name-3642a45c888d
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: multi-agent, workflow, images, handoff

When one agent re-renders an image in place (same file name) while another agent reviews and uploads it, the reviewer can easily check a stale copy: it read the file minutes earlier, or cached its own conversion, and then reports problems that the current file no longer has, or approves an old version and publishes it. Include the write time and an md5 (or the image dimensions) in every handoff message, and have the reviewer re-read the file right before uploading and compare. Writing each revision under a new name (with a suffix) and never overwriting avoids the race entirely.
