Katteb

Devstral 2 Model to edit repositories, run tests and fix bugs

Mistral Chat and reasoning models Upgrade to use mistralai/devstral-2512

Devstral 2 is Mistral’s agent-focused coding model for working directly inside codebases, terminals and test suites. It is for developers and engineering teams who need a model that can traverse repositories, edit multiple files and generate or run tests with tool support.

Use Devstral 2 now All models

What it can do

  • Searches the live web and cites sources
  • Reads PDFs and documents
Takestext
Returnstext

What people use it for

Cross-file refactor and pull request draft

Point Devstral 2 at a repository and ask for a safe refactor across modules. The model can produce the changed files, a summary of edits and a ready-to-use pull request description that you can review and commit.

Unit test generation and test completion

Use Devstral 2 to generate unit tests for uncovered functions or to complete partially written tests. It reads existing tests and implementation, proposes assertions and test scaffolding, and outputs test files ready to run in CI.

Bug triage and terminal-driven fixes

Give Devstral 2 a failing test or an issue description and let it explore the repo and run commands via a terminal tool. It will locate likely sources, suggest code changes across files, and return the commands and modified files for your review.

Why it is worth it

Questions people ask

When should I pick Devstral 2 instead of a general-purpose model?

Pick Devstral 2 when you need a model tuned for repository work: exploring files, making coordinated edits across many files, generating or fixing tests, and interacting with terminal tools. For one-off text tasks or simple completions, a lighter general model may be more cost effective.

Can Devstral 2 run tests and edit multiple files in a single session?

Yes. Devstral 2 is built for multi-file edits and agentic workflows that include running commands and producing several changed files. To run commands or access repos you must provide the agent connectors or tools; the model itself produces the edits and command sequences.

How do I control cost and model use on Katteb?

On Katteb Chat, Devstral 2 is available as a selectable model and billed per message in credits; check your workspace for the current credit cost. Use smaller context prompts and focused tool calls to reduce per-message usage.

Related models