Skip to content
The Daily Repo

lean-dojo / LeanDojo-v2

LeanDojo-v2 is an end-to-end framework for training, evaluating, and deploying AI-assisted theorem provers for Lean 4.

Why this job: works in the areas we cover, but does not say which job it does

What it does

  • Unified Agent Abstractions. BaseAgent orchestrates repository setup, training, and proving. Concrete implementations (HFAgent, LeanAgent, and ExternalAgent) tailor the workflow to Hugging Face models, retrieval-based provers, or REST-backed
  • Powerful Trainers. SFTTrainer, GRPOTrainer, and RetrievalTrainer cover LoRA-enabled supervised fine-tuning, group-relative policy optimization, and retriever-only curriculum learning.
  • Multi-Modal Provers. HFProver, RetrievalProver, and ExternalProver run on top of Pantograph’s Lean RPC server to search for tactics, generate whole proofs, or delegate to custom models.
  • Lean Tracing Pipeline. lean_dojo includes the Lean 4 instrumentation (ExtractData.lean) and Python utilities to trace commits, normalize ASTs, and cache proof states.
  • Dynamic Repository Database. database tracks repositories, theorems, curriculum difficulty, and sorry status, enabling lifelong training schedules.

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit 8 days ago
Stars
156
+4 this week
Licence
MIT
Allows business use
Downloads for
None listed
No release files
Latest version
v1.0.9
Released 6 months ago
Built with
Python
94% of the code

Is it looked after?

Contributors
Not stated
Last 90 days
Issues
86% closed
1 still open
Pull requests
2 merged
1 waiting
Releases
4
4 in the last year
  • No contributing guide
  • No security policy
  • No code of conduct

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
augustepoiroux / LeanInteract13825 days agoMITNo downloads
stanford-centaur / PyPantograph15113 days agoApache-2.0No downloads
fabio-rovai / open-ontologies2,871yesterdayMITMac, Windows, Linux
More: languages, topics and project record

Languages

  • Python 94%
  • Lean 6%

Topics

  • lean4
  • library
  • machine-learning
  • theorem-proving

Project record

  • JobOther AI tools
  • StatusListed
  • Commits20
  • Forks23
  • Watching1
  • Stars in 28 days+11
  • CreatedOct 16, 2025
  • First seen by usNov 7, 2026
  • CheckedNov 8, 2026

Type to search.

Try