← All projects

Mistral Vibe

Mistral-flavored coding agent reference. Middleware-based dispatch, minimal tool set, instructive for understanding agent loop fundamentals.

Category
agent-cli
Language
TypeScript
Runtime
Node 20+
Providers
Mistral, OpenAI-compatible
Agent loop
generator
Tool format
openai-fn
Memory
sliding-window
Caching
none
Sandbox
process
Pedagogical
★★★★
Flags
streaming
Concepts
agent-loop ·tool-calling-formats ·streaming-tools ·provider-abstraction
Verified
cloned
Upstream
github.com/mistralai/mistral-vibe

What it is

Mistral’s open-source coding CLI agent. The most useful thing to study here is what a reference agent loop looks like at minimal scale, before any production hardening.

What’s worth studying

  • A clean while-loop with OpenAI-style tool calling. The shape is the diagram from agent-loop with no extra layers. Read this when you want to remember what an agent loop actually is, before all the cache-control and condenser machinery.
  • Middleware-based dispatch. Tool calls flow through a middleware chain (validate → enforce policy → execute → record). Easy to extend, easy to test individually. Worth borrowing for your own dispatch when you’re past the prototype phase.
  • Skills system via SKILL.md frontmatter. Same idiom as Strix and Claude Code — versionable, contributor-friendly. See skills-as-md.

The cost-side stuff (caching, compaction) is intentionally absent, which is part of why the codebase is readable. When you scale, you’ll add those layers; this is the substrate.

Drill-down

The full per-doc analysis lives below — these are the original numbered analyses, rendered as styled HTML. Pick a section to study deeper.