Devstral is a coding model trained to resolve repository issues through an agent environment that connects it to code and tests. That environment matters: the model must inspect existing software and make coordinated changes to address an issue. In its May 2025 research preview, Mistral AI reported a 46.8% score on SWE-benchThe standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.Full definition →, a collection of 500 screened software issues. The result measures issue-solving within an agent SetupThe combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.Full definition →, providing evidence about a broader task than completing a FunctionA named block of instructions that takes inputs, called arguments, and hands back a result, called its return value.Full definition →.
Terms in this piece · Glossary
SWE-bench — The standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.
Setup — The combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.
Function — A named block of instructions that takes inputs, called arguments, and hands back a result, called its return value.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.