Lean AIYour codebase already has an architect. It just needs tools. Lean AI is an agentic coding assistant that reads your project, plans changes, and executes them — all inside your editor. Give it a task in plain English, review the plan, and watch it work. Run it fully local with Ollama, or connect to OpenAI and Anthropic when you need heavier reasoning. No cloud account required to get started. Features
Quick Start1. Install the extensionInstall from the VS Code Marketplace or OpenVSX. On first activation, the extension automatically creates a Python virtual environment and installs the backend server — no manual setup required. 2. Install OllamaDownload Ollama and pull a model:
3. Open a project and run
|
| Command | Description |
|---|---|
/init |
Index workspace and generate project context |
/agent |
Full planning pipeline for features and refactors |
/fix |
Skip planning, fix directly with full tool access |
/request |
Open-ended tasks with internet search (guides, research) |
/approve |
Merge the agent's branch |
/reject |
Discard the agent's branch |
/scaffold |
Bootstrap a new project from a recipe |
/guide |
Regenerate framework guide |
/reboot |
Restart the backend server |
Configuration
Open the settings panel (gear icon in the chat header) to configure:
- LLM Provider — Ollama, OpenAI, or Anthropic
- Model selection — primary, expert, and request models with independent sampling parameters (temperature, top-p, top-k, repeat penalty, context window, max tokens) and thinking mode per model
- Post-validation — lint, test, and format commands
- Search provider — DuckDuckGo, SearXNG, Google, or Bing
API keys for OpenAI and Anthropic are stored securely in your OS keychain.
Requirements
- Python 3.10+ (for the backend server, installed automatically)
- Ollama with a capable model (e.g.,
qwen3-coder:30b) — or an OpenAI/Anthropic API key
Links
- GitHub Repository — source code, backend setup, and full documentation
- Changelog — release history and recent changes
- Configuration Guide — all environment variables and settings
License
MIT