Localcode runs locally with Ollama — your code never leaves your machine. 139 specialized agents, multi-agent orchestration, 10 built-in tools, and a comprehensive test suite. No subscriptions. No cloud lock-in. No telemetry unless you opt in.
npm install -g @localcode/clicurl -fsSL https://localcode.dev/install.sh | bashBuilt for developers who want a coding assistant that works locally, respects privacy, and actually gets the job done.
Run any Ollama model. No API key. No cloud. Your code stays on your machine. Free forever.
Free foreverFrom AI engineers to security auditors, database optimizers to DevOps automators. Each with deep domain expertise.
Auto-dispatchNEXUS pipeline coordinates multiple agents through 7 phases with quality gates, Dev↔QA loops, and parallel execution.
NEXUSPermission prompts before every write. Budget limits. Safe mode with git stash. Rate limiting. Telemetry opt-in only.
Privacy-firstComprehensive test suite with 100% pass rate. Every critical path covered. Automated CI on every commit.
Battle-testedOllama, OpenAI, Anthropic, Groq. Switch mid-session. Budget guard auto-falls back to local when limits hit.
FlexibilityCloud coding assistants lock you in. Localcode gives you everything they have — plus the things that matter for serious developers.
With Ollama, everything runs locally. No API calls, no cloud processing, no data collection. Your proprietary code, your business logic, your secrets — all stay on your machine.
Switch between Ollama, OpenAI, Anthropic, and Groq mid-session. Budget guard automatically falls back to local when you hit spending limits. You're never trapped with one provider.
Describe what you need — Localcode automatically dispatches the right agents. Security engineer for vulnerabilities, database optimizer for slow queries, DevOps automator for CI/CD. All automatic.
Every line of code is auditable. Fork it, modify it, distribute it. No hidden telemetry, no surprise charges, no terms of service changes. It's yours.
Every critical path is tested. Tool execution, provider clients, session management, settings, MCP, agent spawning, orchestration, file locking, rate limiting, security checks. 100% pass rate.
Telemetry is opt-in. No crash reporting without consent. No usage tracking. No analytics. When you use Localcode with Ollama, literally nothing leaves your machine.
We don't ship untested code. Every feature has tests. Every edge case is covered. CI runs on every commit.
Comprehensive test suite across 12 test files covering every critical path in the codebase.
Every test passes. CI runs automatically on every commit across Node 18, 20, and 22.
Organized by module: tool executor, provider client, session manager, settings, MCP, agents, and more.
Every commit triggers builds, type checks, and tests. VS Code extension packaged automatically.
File read/write/patch/delete/move, shell commands with security checks, directory listing, search, find, git operations, path traversal prevention, blocked command enforcement.
Streaming responses, retry with exponential backoff, cost estimation for all providers, model routing (planning/execution/review), abort signal handling.
Session CRUD, checkpoint creation/restoration, session history, token estimation accuracy, state persistence, corrupt state handling.
Load/save settings, deep merge, validation, migration system (v1→v2), caching, corrupt file handling, dot-path access.
Connection management, auto-reconnect with backoff, health checks, tool definitions, tool call routing, graceful shutdown.
Agent spawning with independent tool executors, cancellation, timeout handling, parallel execution, orchestration with quality gates, auto-dispatch keyword matching.
Lock acquisition/release, concurrent access prevention, stale lock detection, timeout handling, cleanup.
Plugin loading, security validation (blocks eval, child_process, fs, net, http, Function constructor), 30-second execution timeout.
Provider configurations, theme system, persona definitions, slash commands (60+), approval modes, spinner frames.
String operations, array methods, object manipulation, JSON parsing/stringification, error handling, date/time, math, regex, async utilities.
Each agent brings deep domain expertise. Auto-dispatched based on your task context — no manual switching.
Open source. Local-first. 139 agents. 362 tests. Ready in 30 seconds.
npm install -g @localcode/cli