
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
The high-performance local AI coding agent for your terminal. Automate complex workflows with local LLMs.
The only coding CLI that runs fully local or cloud β any model, zero lock-in, zero monthly bill.

Miii is a fully autonomous coding agent that runs entirely on your machine. It plans, edits files, runs your tests, searches the web, indexes your codebase semantically, and iterates until the job is done β all without a single byte of your code leaving your network.
Zero subscription. Zero cloud dependency. Zero Python overhead. 176 KB total.
npm install -g miii-cli && miii
Claude Code is impressive. It's also cloud-only, costs $20β200/month, and sends every line of your codebase to a server you don't control.
OpenCode and Codex CLI have the same problem β they're all cloud-first, all locked to specific providers, and all charge you indefinitely for the privilege of reading your private code.
Miii flips the model. Run on Ollama: $0/month, fully offline, code never leaves your machine. Switch to Anthropic or OpenAI when you need cloud power. Change providers live inside the app β no config files, no restarts.
Your compute. Your data. Your rules.
| Miii | Claude Code | OpenCode | Codex CLI | Aider | |
|---|---|---|---|---|---|
| Monthly cost | $0 | $20β200 | API cost | API cost | $0 |
| Bundle size | 176 KB | ~50 MB | ~30 MB | ~20 MB | ~200 MB |
| Local / offline (Ollama) | β | β | partial | β | β οΈ |
| Air-gapped | β | β | β | β | β |
| Switch provider live | β | β | β | β | β |
| File checkpoints (undo) | β | β | β | β | β |
| Permission gates | β | β | partial | β | β |
| MCP client | β | β | β | β | β |
| Semantic codebase index | β | β | β | β | β |
| Skill/extension system | β | plugins | β | β | β |
| Startup time | <100ms | ~2s | ~1s | ~1s | ~4s |
| License | MIT | Proprietary | MIT | MIT | Apache 2.0 |
This isn't autocomplete. Miii is a full autonomous agent loop:
> refactor the auth module to use JWT instead of sessions
β Researching: refactor auth module to use JWT
β Reading src/auth/session.ts
Read 42 lines
β Reading src/middleware/auth.ts
Read 28 lines
β plan (2 actions)
β¦ edit_file src/auth/session.ts
β¦ edit_file src/middleware/auth.ts
β edit_file src/auth/session.ts y approve n deny
> y
β edit_file src/auth/session.ts
Wrote 12 lines
β edit_file src/middleware/auth.ts
Wrote 8 lines
β run_tests
β
Tests passed
β refactor done β 2 file(s) processed
π Privacy-First, Local by Default Run on Ollama and your code never leaves your machine. No account. No API key. No monthly bill. Switch to Anthropic or OpenAI when you need it β one command, live, mid-session.
π Live Provider Switching
Type /config to open an interactive picker. Arrow-navigate between Ollama, Anthropic, and OpenAI-compatible endpoints. Change model, API key, base URL, or Tavily key without restarting. Config saves automatically.
π‘ Permission Gates + File Checkpoints Miii asks before every edit, delete, or shell command β just like Claude Code. Every file is checkpointed before it's touched. Hit Esc to abort and all changes roll back automatically.
π Semantic Codebase Indexing Build a vector index of your entire codebase using local embeddings. Ask "where is the auth logic?" and Miii finds it by meaning, not keyword. No data leaves your machine.
π§ Deep Think Engine Before answering complex questions, Miii runs a constrained research phase β reading files, checking git history, searching the web β then synthesizes a grounded answer.
π Real-Time Web Access Tavily-powered web search, built in. Ask about breaking changes in a library you just upgraded. Get an answer that's actually current.
π Surgical File Editing
patch_file replaces exact strings in your files. No full rewrites. No formatting destruction. Exactly the change, nothing more.
π Self-Healing Test Loop
Runs npm test after every file change. If something breaks, reads the failure trace and fixes it autonomously β up to 3 retries before surfacing the issue.
π Persistent Sessions Pick up exactly where you left off. Named sessions mean your context, history, and goal survive terminal restarts.
π¦ Skill System Extend Miii with plain Markdown files or npm packages. Ship reusable agent behaviors as versioned packages your whole team can pull.
π MCP Client Connect any MCP-compatible tool server. Miii discovers tools automatically and makes them available to the agent.
# 1. Start Ollama and pull a model
ollama pull qwen2.5-coder:7b
# 2. Install Miii
npm install -g miii-cli
# 3. Go to your project and start
cd your-project
miii
No API keys. No account. No sign-up form. First run walks you through setup interactively.
| Command | What it does |
|---|---|
/config | Open interactive picker β change provider, model, API key, base URL, Tavily key live |
/think <question> | Deep research: reads files + web, then answers |
/refactor <goal> | Autonomous multi-file refactor with test validation |
/index build | Build semantic vector index of your codebase |
/index search <query> | Find code by meaning, not string match |
/git review | AI reviews your current diff for bugs and issues |
/git commit <msg> | Stage everything and commit in one shot |
/plan <topic> | Structured planning mode before you write a line |
/model <name> | Hot-swap your LLM mid-conversation |
/session <name> | Switch between named project sessions |
/watch <path> | Monitor files for changes and trigger agent reactions |
@filename | Inject any file directly into context |
For large codebases, Miii builds and queries a local vector index β no third-party APIs, no embeddings sent anywhere.
# Pull an embedding model (one time)
ollama pull nomic-embed-text
# Index your project
/index build
# The agent calls search_codebase automatically when it needs to find code by concept
Interactive (recommended): type /config inside Miii to open the picker.
File-based: drop a .miii.json in your project root or ~/.config/miii/config.json globally:
{
"model": "qwen2.5-coder:7b",
"provider": "ollama",
"baseUrl": "http://localhost:11434",
"gitContext": true,
"embedModel": "nomic-embed-text"
}
Providers: ollama (local, free) Β· anthropic (Claude API) Β· openai-compat (OpenAI or any compatible endpoint)
git clone https://github.com/maruakshay/miii-cli
cd miii-cli && npm install && npm run build && npm link
The AI coding tools you're paying for right now will raise their prices, change their terms, and keep reading your code. Miii won't. It's MIT licensed, runs locally, and gets better every time Ollama ships a new model.
If this saves you time or money, star the repo β it's the only metric that tells other engineers this is worth their attention.
Built by @maruakshay β open to PRs, issues, and model recommendations.
MIT β do whatever you want with it.
FAQs
The high-performance local AI coding agent for your terminal. Automate complex workflows with local LLMs.
The npm package miii-cli receives a total of 1,378 weekly downloads. As such, miii-cli popularity was classified as popular.
We found that miii-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.