Skip to content
AIBRAINWORX / THE INDEPENDENT AI LABRESEARCH · HARDWARE · OPEN INTELLIGENCE
Models & Weights / Inference & Hardware / Model Watch

Mistral Releases Open-Weight Leanstral 1.5 119B-A6B Agent for Lean 4

Mistral AI has released Leanstral 1.5 119B-A6B under an Apache 2.0 license, pairing a 128-expert Mixture-of-Experts architecture with Mistral Vibe and vLLM tooling for Lean 4 formal verification.

Listen to this articleBrowser Voice
Ready
AI-generated conceptual illustration for Mistral Releases Open-Weight Leanstral 1.5 119B-A6B Agent for Lean 4; not a photograph or product screenshot
AI-generated conceptual illustration by AiBrainWorX; not a photograph or product screenshot.
Event / context: 2026-11-24. Source check: October 28, 2026.

Mistral AI has published Leanstral-1.5-119B-A6B on Hugging Face, updating its specialized open-weight code agent built for the Lean 4 proof assistant. Released under an Apache 2.0 license on November 24, 2026, the model joins the Mistral Small 4 family and targets long-horizon formal verification tasks ranging from advanced mathematical structures such as perfectoid spaces to formal software specifications for Rust code fragments.

Core Release Scope and Open-Weight Licensing

Leanstral 1.5 succeeds Mistral AI's earlier Leanstral release with an updated architecture and agentic workflow integration. Unlike proprietary theorem-proving endpoints, the weights are distributed under Apache 2.0, permitting commercial deployment, self-hosting, and derivative adaptation without restrictive weight licenses. Mistral positions the release as an efficient alternative to closed-source frontier models for formal methods, though the Hugging Face model card does not include standardized benchmark tables to substantiate those comparative performance claims independently.

Beyond pure mathematical formalization, Mistral explicitly frames Leanstral 1.5 as a practical coding agent capable of working inside active Lean repositories over extended multi-hour sessions. Developers can access the model either through Mistral AI's hosted API on a free-tier account after enabling Labs models in privacy settings or by deploying the open weights on private infrastructure.

Sparse MoE Architecture and 256k Multimodal Context

Under the hood, Leanstral 1.5 119B A6B uses a sparse Mixture-of-Experts (MoE) design comprising 128 total experts with 4 experts routed per token. While the full model spans 119 billion parameters, only 6.5 billion parameters are activated for any given token, decoupling total parameter capacity from per-token compute cost. The model supports a 256,000-token context window, though Mistral recommends capping active sessions at 200,000 tokens or fewer in production settings.

A notable structural addition is multimodal input support: Leanstral 1.5 accepts both text and image inputs while generating text outputs. In its configuration guidance, Mistral specifies a sampling temperature of 1.0 and exposes a tunable reasoning-effort parameter. Users can set reasoning effort to none for rapid responses on straightforward queries or select high reasoning effort for complex proof synthesis and state-machine modeling, where the model emits separated reasoning traces alongside final Lean 4 code.

Mistral Vibe, MCP Tooling, and Multi-GPU vLLM Deployment

Rather than shipping weights in isolation, Mistral pairs Leanstral 1.5 with an opinionated agent stack centered on the Mistral Vibe CLI and the lean-lsp-mcp server. Using lean-lsp-mcp gives the agent structured access to Lean's Language Server Protocol diagnostics, allowing it to compile snippets, inspect type errors, and iterate on failed proof tactics rather than guessing proofs in a single pass. Within the Vibe terminal client, developers install the preset using the leanstall command and launch sessions inside a Lean project directory.

For teams requiring data residency or offline execution, Mistral documents local serving via vLLM version 0.24.0 or newer alongside mistral_common 1.11.5 or newer. The reference server command specifies a 200,000-token maximum model length, four-way tensor parallelism, the FLASH_ATTN_MLA attention backend, and Mistral-specific tool-call and reasoning parsers. Clients can then connect Vibe to the local OpenAI-compatible vLLM endpoint using a dedicated lean.toml agent profile configured with a 168,000-token auto-compaction threshold and a 1,200-second bash tool timeout.

Impact on Formal Mathematics and Software Verification Workflows

For mathematicians and formal verification engineers, combining an open-weight 6.5B-active MoE model with Language Server Protocol feedback addresses a persistent bottleneck in interactive theorem proving: context loss across sprawling dependency trees. With a 200,000-token recommended ceiling and automatic context compaction, an agent can retain definitions, helper lemmas, and compiler feedback across repositories such as PrimeNumberTheoremAnd while attempting inductive proofs or refactoring transition rules into cleaner inductive propositions.

Software engineering teams exploring verified Rust components or state-machine invariants also gain an inspectable, self-hostable baseline. Because Leanstral 1.5 exposes standard OpenAI-style tool-calling and reasoning fields, organizations can embed it into custom continuous-integration verification pipelines or editor extensions without locking proprietary specifications into third-party APIs.

Missing Benchmarks, Hardware Footprint, and Agent Caveats

Despite the detailed deployment recipe, several technical and operational caveats remain. First, the model card publishes no formal evaluation scores on established Lean benchmarks, leaving its actual proof-completion rates, failure modes on research-grade mathematics, and cost-performance ratio versus closed-source systems unverified by independent testing. Second, although only 6.5 billion parameters activate per token, all 119 billion parameters must be accommodated across accelerator memory; Mistral's own vLLM launch configuration relies on four-way tensor parallelism and specialized FlashAttention MLA kernels, putting local serving well outside consumer laptop hardware.

Third, Mistral itself cautions that local serving quality can diverge from its hosted endpoint, explicitly advising users to switch to the Mistral AI API if local vLLM results appear subpar. Finally, autonomous operation carries practical risk: Vibe's yolo flag auto-approves file edits and tool calls with long bash timeouts, meaning teams running unmonitored multi-hour proof searches should isolate workspaces in containers or version-controlled sandboxes, and verify whether multimodal image inputs add reliable value for diagrammatic mathematics.

Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-24.

Follow your curiosity.

Pass the signal.