Leanstral: Open-Source foundation for trustworthy vibe-coding

mistral.ai
March 16, 2026
7 min read
🔥🔥🔥🔥🔥
72/100
Summary
Leanstral is an open-source code agent designed for Lean 4, aimed at enhancing trust in vibe-coding. It addresses the challenges of human review in high-stakes code generation by facilitating faster engineering processes.
Key Takeaways
- Leanstral is the first open-source code agent specifically designed for Lean 4, optimized for proof engineering tasks with 6 billion active parameters.
- Leanstral outperforms larger open-source models in efficiency, achieving a score of 26.3 on the FLTEval benchmark with only two passes, compared to competitors that require multiple passes for lower scores.
- Leanstral offers a cost-effective alternative to the Claude suite, achieving competitive performance at a significantly lower operational cost, with a pass@2 score of 26.3 costing only $36 compared to Sonnet's $549.
- Leanstral's weights are released under an Apache 2.0 license, and it is accessible via a free API endpoint, promoting open and widespread use.
Coverage & discussions
Hacker News · mistral.ai
Community discussions
Community Sentiment
Positives
- Leanstral's approach to trustworthy vibe coding demonstrates a commitment to practical solutions, potentially improving reliability in AI applications.
- The model's ability to diagnose issues with definitional equality showcases its practical utility in real-world scenarios, which is crucial for developers.
Concerns
- Leanstral's performance is criticized for underperforming compared to Opus, raising concerns about its effectiveness despite being cheaper.
- The emphasis on cost savings over performance raises questions about the prioritization of correctness in AI model development.



