LocalCode vs Pi
Comparing two open source alternatives to Claude Code and Codex. Use the comparison below to decide which one fits your needs.

LocalCode
Apache-2.0Agentic coding in the terminal with local models on your Mac, plus an OpenAI-compatible loopback API.

Pi
MITMinimal, extensible open-source coding agent CLI with a multi-provider LLM API, packages, MCP support, and a TypeScript SDK.
Side-by-side comparison
LocalCode | Pi | |
|---|---|---|
| License | Apache-2.0 | MIT |
| Self-hostable | Yes | Yes |
| GitHub Stars | 66 | 123,320 |
| Forks | — | 15,910 |
| Open Issues | 12 | 282 |
| Last Commit | Nov 22, 2026 | Nov 22, 2026 |
| First Released | Apr 5, 2026 | Aug 9, 2025 |
| Categories | ||
| Tags |
Similar open source alternatives

Verde
Native, local-first desktop workspace for running Claude Code, Codex, Cursor and other AI agents side by side in tiled panes.
Cursor
Modo
Open-source AI IDE that plans before it codes, using spec-driven development with requirements, design, and task steps.
Cursor
Ollama
Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, Mistral Small 3.1 and other large language models.

Lobe Chat
Open-source AI chat and agent platform with multi-provider support, RAG, plugins, and an agent marketplace — self-hostable ChatGPT alternative.

Juggler
A self-hostable, GUI-first AI coding agent with editable conversation trees, plugin-based tools, and multi-client sessions.
Cursor
OpenComputer
Open-source Devin alternative: a Slack-first coding agent that works on its own cloud computer and opens pull requests.
Devin