LeanTool
LeanTool is a simple utility that connects LLMs with a "Code Interpreter" for the Lean programming…
LeanTool is a simple utility that connects LLMs with a "Code Interpreter" for the Lean programming language/interactive theorem prover.
Current LLMs often have trouble with outputting code with correct Lean 4 syntax, due to the recent rapid changes in the Lean language and its libraries. By allowing LLMs to talk directly to Lean, they are given opportunities to fix their mistakes. Enables programmatic access to APIs and services via the Model Context Protocol.