miii-cli
Free, open-source AI coding agent for terminal and browser. A Claude Code / Cursor alternative that runs offline with Ollama or with your own Claude, GPT or Gemini keys. No account, no subscription. ๐ฎ๐ณ
Install / Use
npx skills add maruakshay/miii-cliInstalls into whichever agent you are using.
Other
Other agent config
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of miii-cli
miii-cli scores 85/100 on our quality scale, 574th of 965 AI & Machine Learning skills we index.
Its Other is 10 KB long, well organised into 10 sections with 12 code examples: a thorough specification that gives an agent plenty to work with.
It has 42 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 9 days ago, so miii-cli is actively maintained.
- Our last check on 2026-10-21 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review of the same text found nothing harmful.
- noteInstalls by piping a downloaded script into a shellline 48
curl -fsSL https://raw.githubusercontent.com/maruakshay/miii-cli/main/install.sh | sh - noteInstalls by piping a downloaded script into a shellline 57
irm https://raw.githubusercontent.com/maruakshay/miii-cli/main/install.ps1 | iex - noteInstalls by piping a downloaded script into a shellline 92
or re-run the install script (`curl โฆ | sh`) any time to update by hand.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk โ read a skill before letting an agent act on it.
miii-cli compared with similar skills
All 4 of these similar skills score higher than miii-cli; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| miii-cli (this skill)by maruakshay | 85 | 42 | 9d ago | Other |
| claude-memby thedotmack | 100 | 113.5k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 90.9k | 10d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install miii-cli?
- Run
npx skills add maruakshay/miii-cli. The install tabs above show the steps for each supported agent. - Which AI agents does miii-cli work with?
- It is written for Claude Code, Gemini CLI, Cursor and GitHub Copilot, as a Other file. Other agents that read the same format can often use it too.
- Is miii-cli safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is miii-cli still maintained?
- The repository was last updated 9 days ago, so miii-cli is actively maintained.
Skill content
View source on GitHubWhat is miii? โ a local AI coding agent
miii lives in your terminal and codes alongside you โ reading files, writing features, running tests, fixing bugs. The twist: it runs on your hardware, powered by Ollama (or any local OpenAI-compatible server like llama.cpp / LM Studio).
Your code never leaves your disk. There's nothing to log in to. Pull a model, type miii, go. It's the open-source, offline answer to cloud coding assistants like Claude Code, Cursor, and GitHub Copilot.
Install (macOS, Linux, Windows)
macOS / Linux:
ollama pull qwen2.5-coder:14b # any coding model works
Which model should I use?
- Low VRAM (8GB):
qwen2.5-coder:7b(Fast, capable) - Mid VRAM (16-24GB):
qwen2.5-coder:14b(Sweet spot) - High VRAM (48GB+):
qwen2.5-coder:32b(Powerhouse)
curl -fsSL https://raw.githubusercontent.com/maruakshay/miii-cli/main/install.sh | sh
miii
(The installer downloads the pre-compiled binary and adds it to your local path)
Windows (PowerShell):
ollama pull qwen2.5-coder:14b
irm https://raw.githubusercontent.com/maruakshay/miii-cli/main/install.ps1 | iex
miii
Prefer npm? npm install -g miii-agent works on every platform.
Install failing on permissions? Your global npm prefix isn't writable. The installer retries with
sudowhere available; otherwise point npm at a user-owned prefix and re-run:npm config set prefix "$HOME/.npm-global" export PATH="$HOME/.npm-global/bin:$PATH" # add to ~/.bashrc or ~/.zshrc
Then just talk to it:
> refactor the auth module to use async/await
> @src/server.ts add rate limiting to all POST routes
> why are my tests failing in utils/parser.ts
Needs: Node โฅ 18 and Ollama running locally.
Staying up to date
miii checks npm on launch and, when a newer release exists, pulls it in the background โ it applies the next time you start. Manual options:
miii update # update now
miii --version # what you're running
Opt out of background updates by adding "autoUpdate": false to ~/.miii/config.json,
or re-run the install script (curl โฆ | sh) any time to update by hand.
Why local-first? Private, free, offline
Most "AI coding tools" are just wrappers around a cloud API โ slow, metered, and they ship your private codebase to someone else's server.
| | Cloud agents | miii |
|--------------|-----------------------|------------------------------|
| Your code | Sent to a third party | Never leaves your machine |
| Cost | Per-token billing | Free โ runs on your hardware |
| Setup | API keys, accounts | npm i -g miii-agent |
| Offline | No | Yes |
| Latency | Network + queue | Your GPU only |
It doesn't just chat, either โ it follows a Plan $\rightarrow$ Act $\rightarrow$ Observe loop:
- Plan: Decomposes the problem into a sequence of concrete steps.
- Act: Calls the necessary tools to gather context or modify code.
- Observe: Verifies the result and adjusts the plan until the goal is met.
Five letters, five ideas
small ยท simple ยท smart ยท strategic ยท semantic โ a tiny codebase you can read in an afternoon, no config ceremony, plans before it acts, and operates on the meaning of your code, not blind text matching.
Features
- ๐งช
miii doctorโ not every local model can drive an agent. Doctor runs your models through real engineering tasks and tells you which ones actually deliver.miii doctor # grade every installed model miii doctor qwen2.5-coder:7b # grade one - ๐ผ๏ธ Paste images โ copy a screenshot and hit
Ctrl+Vto attach it to your message, or paste an image file path. Great for "why does this UI look broken?" or reading an error screenshot. Needs a vision-capable model (llava,llama3.2-vision,qwen2-vl, โฆ) โ text-only models silently ignore the image.ollama pull llava # or llama3.2-vision - ๐ง Lossless output spill โ that 50K-line test log won't get truncated and leave the model guessing. miii spills the full output to disk and lets the model page through it. Nothing is ever lost.
- ๐ Permission-gated tools โ you approve what the agent can touch; "always" approvals persist. File tools are confined to your working directory.
- ๐
MIII.mdโ drop one in your repo to teach miii your conventions, build/test commands, and do's & don'ts. Same idea asCLAUDE.md, read every turn.
Going deeper
<details> <summary><strong>Built-in tools</strong></summary>| Tool | Function |
|------|----------|
| read_file | Read any file in your workspace |
| write_file | Create new files |
| edit_file | Precise string-level edits, whitespace-tolerant |
| glob | Pattern-match files across the project |
| grep | Regex search across files |
| run_bash | Execute shell commands |
File tools (read_file, write_file, edit_file) reject ../ traversal and absolute paths outside the workspace. run_bash is not path-confined โ its only boundary is the permission prompt, so review commands before approving (especially "always"). Saved rules live in ~/.miii/permissions.json.
| Key | Action |
|-----|--------|
| Enter | Send prompt |
| @filename | Attach file to context |
| Ctrl+V | Paste clipboard image (needs a vision model) |
| /models | Switch active model |
| /clear | Reset conversation |
| Esc | Stop generation or tool run |
| Ctrl+O | Toggle full tool output |
| Ctrl+C | Quit |
Settings live in ~/.miii/config.json, created on first run:
{
"model": "qwen2.5-coder:14b",
"ollamaHost": "http://localhost:11434",
"effort": "medium"
}
effort (low | medium | high) controls temperature and limits.
miii talks to any OpenAI-compatible local server too. Start llama-server, then point a named provider at it:
{
"model": "qwen2.5-coder-14b",
"provider": "llamacpp",
"providers": {
"llamacpp": { "type": "openai", "baseUrl": "http://localhost:8080" }
}
}
Switch at launch with miii --provider llamacpp. Any openai-type provider on localhost counts as local โ no key, no cloud.
When a tool result exceeds the inline budget (~10K bytes), the full output is written to ~/.miii/output/<id>.txt. Only a head + tail preview is inlined, with a pointer:
[command output truncated: 5184 lines / 412900 bytes.
Full output at ~/.miii/output/9f3a1c.txt โ read it with
read_file offset/limit to see the elided middle.]
The model pages through the middle with ranged read_file reads. Spill files are garbage-collected after 24 hours.
Project Architecture:
src/
โโโ agent/ # The core reasoning loop
โโโ tools/ # Implementation of read/write/bash
โโโ terminal/ # UI and input handling
โโโ config/ # Settings and provider logic
git clone https://github.com/maruakshay/miii-cli.git
cd miii-cli
npm install
npm run dev
npm run build # production build
npm run typecheck # type-check src + eval
npm run eval # regression gate (powers `miii doctor`)
To run your local working tree against the global miii:
npm run build && npm link # restore later with: npm install -g miii-agent
</details>
FAQ
Does miii work without internet? Yes. Once you've pulled a model with Ollama, miii runs fully offline. No network calls, no account, no cloud.
Is my code sent anywhere? No. Every file read, edit, and model inference happens on your machine. Your codebase never leaves your disk.
Which model is best for coding?
Depends on VRAM: qwen2.5-coder:7b (8GB), qwen2.5-coder:14b (16โ24GB, the sweet spot), qwen2.5-coder:32b (48GB+). Run miii doctor to grade your installed models on real engineering tasks.
How is miii different from Claude Code, Cursor, or GitHub Copilot? Claude Code, Cursor, and Copilot are cloud services โ metered, account-gated, and they ship your code to a third-party server. miii is open-source, free, and runs entirely on your hardware. Same terminal-agent workflow as Claude Code, but on your own local model.
How is it different from Continue.dev? Continue.dev is an IDE extension. miii is a standalone terminal agent โ no editor required โ with a Plan โ Act โ Observe loop, permission-gated tools, and lossless output spill built in.
Do I need a GPU? No, but it helps. Smaller models run on CPU; a GPU makes larger models fast enough for real work.
Status
MVP. Core agent loop is stable; actively refining tool execution, streaming, and the permission model. PRs welcome โ fork it, break it, improve it.
License
MIT ยฉ maruakshay
<p align="center"> <em>Built for engineers who'd rather own their tools than rent them.</em> </p>Related Skills
claude-mem
113.5kPersistent Context Across Sessions for Every Agent โ Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
90.9kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
