miii-agent 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -2
- package/dist/cli.js +722 -195
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<a href="https://ollama.com"><img src="https://img.shields.io/badge/powered%20by-Ollama-black" alt="powered by Ollama"></a>
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
|
-
miii is a local-first AI coding agent that lives in your terminal. Powered by [Ollama](https://ollama.com)
|
|
19
|
+
miii is a local-first AI coding agent that lives in your terminal. Powered by [Ollama](https://ollama.com) — or any OpenAI-compatible local server like [llama.cpp](https://github.com/ggml-org/llama.cpp) and [LM Studio](https://lmstudio.ai) — it reads your code, writes features, runs tests, and fixes bugs entirely on your hardware, at native speed.
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -48,7 +48,7 @@ Most AI coding tools are wrappers around cloud APIs. They are slow, expensive, a
|
|
|
48
48
|
|
|
49
49
|
miii flips the script:
|
|
50
50
|
|
|
51
|
-
- **Absolute Privacy** — Powered by Ollama. Your code stays on your disk, period.
|
|
51
|
+
- **Absolute Privacy** — Powered by Ollama, llama.cpp, or any local OpenAI-compatible server. Your code stays on your disk, period.
|
|
52
52
|
- **Zero Friction** — No API keys, no billing, no accounts. Just `miii`.
|
|
53
53
|
- **True Agency** — miii doesn't just chat; it decomposes problems, invokes tools, and verifies results like a senior engineer.
|
|
54
54
|
- **Native Performance** — No network round-trips. Latency is limited by your GPU, not a CDN.
|
|
@@ -197,6 +197,35 @@ Settings live in `~/.miii/config.json` and are created on first run.
|
|
|
197
197
|
| `ollamaHost` | Ollama API endpoint | URL string |
|
|
198
198
|
| `effort` | Controls temperature & limits | `low` \| `medium` \| `high` |
|
|
199
199
|
|
|
200
|
+
### Other Local Backends
|
|
201
|
+
|
|
202
|
+
Ollama is the default, but miii talks to any **OpenAI-compatible** local server — so you can run [llama.cpp](https://github.com/ggml-org/llama.cpp) or [LM Studio](https://lmstudio.ai) instead. Your code still never leaves your machine.
|
|
203
|
+
|
|
204
|
+
Start `llama-server` (ships with llama.cpp), then point a named provider at it:
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
llama-server -m ./qwen2.5-coder-14b.gguf --port 8080
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
```json
|
|
211
|
+
{
|
|
212
|
+
"model": "qwen2.5-coder-14b",
|
|
213
|
+
"provider": "llamacpp",
|
|
214
|
+
"providers": {
|
|
215
|
+
"llamacpp": { "type": "openai", "baseUrl": "http://localhost:8080" }
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
| Field | Description | Values |
|
|
221
|
+
|-------|-------------|--------|
|
|
222
|
+
| `provider` | Active provider name (keys into `providers`) | e.g. `ollama`, `llamacpp` |
|
|
223
|
+
| `providers.<name>.type` | Wire protocol | `ollama` \| `openai` |
|
|
224
|
+
| `providers.<name>.baseUrl` | Server endpoint | URL string |
|
|
225
|
+
| `providers.<name>.apiKey` | Optional bearer token | string |
|
|
226
|
+
|
|
227
|
+
Switch the active provider at launch with `miii --provider llamacpp`. Any `openai`-type provider on a `localhost` URL counts as local — no key, no cloud.
|
|
228
|
+
|
|
200
229
|
---
|
|
201
230
|
|
|
202
231
|
## System Architecture
|