Mistral Vibe: Agent Can Now Open Image Files With read_file
Mistral Vibe 3.1.0 lets the agent open an image file with read_file and see it, as long as the model can read images. The same tool now refuses binary files instead of returning them as unreadable text.
Key Takeaways
- The agent can open an image file with
read_fileand see it, which makes screenshots and mockups usable as input. - This only works on a model that reads images, so the capability depends on the chosen model.
read_filenow refuses binary files rather than returning them as unreadable text.- The refusal protects the context window from junk output and wasted tokens.
- Visual inputs such as UI bug screenshots or diagrams can sit in the project folder and be referenced directly.
- The change fits with the new
/contextview, which helps users see where tokens go.
What is new
In Mistral Vibe 3.1.0 the read_file tool can open image files. When the active model supports image input, the agent sees the picture. Examples are a screenshot of a UI bug, a diagram or a design mockup in the project folder.
Binary files are refused
read_file now refuses a binary file instead of returning it as unreadable text. Previously, a binary file could fill the context with garbage characters and waste tokens. The refusal avoids that and makes it clear the file was not read.
Requirements
Image reading depends on the model. On a model that does not read images, the agent cannot see the picture. The changelog says this works "on a model that reads images".
Why it matters
Coding tasks often come with visual material. Having the agent read an image directly from disk removes a manual step. The binary-file refusal is a small safeguard that protects the context window.