Skip to content

Agents & tools

mistral.rs can run the entire tool-calling loop server-side, execute Python, shell commands, and web searches locally, use OpenAI-compatible Skills, accept OpenAI-compatible file inputs, and stream model text, tool progress, files, and media from one request.

The agent system has three layers:

  • Tool protocol - how a model requests external work.
  • Tool execution - built-in code execution, shell, web search, OpenAI-compatible Skills, MCP (Model Context Protocol) tools, callbacks, or external dispatch.
  • App runtime - streaming output, tool progress, files, generated media, and sessions as one local surface.

Where to start: