bots-garden/mini-mepublic Fork
⑂ v1.0.1
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. 65bdebd · on v1.0.1 · k33g · Oct 20, 2026
v0.0.0.en.md · 61 lines · 3.1 KBmarkdown
Blame HistoryOpen raw

mini-me v0.0.0

Version française

The first release of mini-me (mm): a minimal coding agent for local models. Its loop has one main tool (bash) and is built to guard small models against hallucinations, silent failures and endless loops.

What is in it

Three front ends, one loop

  • Line mode: mm in a terminal.
  • Window mode: mm -tui, or tui: true in the configuration. It is a single window on tcell:
    • the conversation on top and a 3-row input box;
    • Enter sends the message, Ctrl-J adds a new line, Esc cancels the turn;
    • a / command picker;
    • with permissions: ask, bash, write_file and edit_file wait for your answer.
  • Editor mode: mm -acp speaks the Agent Client Protocol (Zed and other ACP editors). Commands are advertised in the editor's slash menu.

Model servers

  • Providers: Docker Model Runner (dmr) and llama.cpp (llamacpp), both through the OpenAI-compatible API.
  • Start-up checks: mm checks that the server answers, finds the context window, and warns when the model is missing or has no chat template.

Tools and skills

  • Tools: bash, read_file, write_file, edit_file.
  • Skills (read_skill): stored as <name>.md or <name>/SKILL.md. A relative skillsDir is resolved from the start directory, or next to the configuration file in editor mode. The banner warns, with the full path, when no skill is found.
  • @path in a question attaches a file or a directory: 📎 in the terminal, resource_link in an editor.

Commands

  • /quit, /abort, /compact, /new, /sessions, /resume [id], /help and /copy [n|all].
  • In an editor: /new and /compact.

Sessions and context

  • Persistent sessions, per project (sessions.enabled, under .mm/sessions):
    • /sessions and /resume in the terminal;
    • session/load in an editor, which replays the conversation. Zed's "Reload Agent" uses it.
  • Context compression (context.*): a summary plus the last raw turns, triggered automatically in the line mode or by hand with /compact.

Safeguards

  • A loop detector for repeated identical tool calls.
  • A watchdog (watchdogTimeout) for a stream that has gone silent.
  • maxTurns and maxOutput.

Window mode extras

  • Native text selection works: the mouse is free by default, and F2 toggles mouse capture.
  • Copying: Ctrl-Y and /copy copy an answer, through pbcopy, wl-copy, xclip or xsel first, then OSC 52.
  • Long pastes fold into a [Pasted #1 · 50 lines · 1.0k chars] token. The model still receives the full text.

Distribution

  • Binaries for macOS arm64, Linux amd64/arm64 and Windows amd64/arm64, built by the release workflow (go build, CGO_ENABLED=0), with SHA256SUMS.
  • install.sh builds mm and copies it to /usr/local/bin.

Documentation

  • EN + FR documentation, organised the Diátaxis way: a getting-started tutorial, how-to guides, reference (CLI, configuration, tools, slash commands, ACP, skill format) and explanations (architecture, providers, compression, sessions).
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# mini-me v0.0.0

*[Version française](v0.0.0.fr.md)*

The first release of mini-me (`mm`): a minimal coding agent for local models. Its loop has one main tool (`bash`) and is built to guard small models against hallucinations, silent failures and endless loops.

## What is in it

### Three front ends, one loop

- **Line mode**: `mm` in a terminal.
- **Window mode**: `mm -tui`, or `tui: true` in the configuration. It is a single window on tcell:
  - the conversation on top and a 3-row input box;
  - Enter sends the message, Ctrl-J adds a new line, Esc cancels the turn;
  - a `/` command picker;
  - with `permissions: ask`, `bash`, `write_file` and `edit_file` wait for your answer.
- **Editor mode**: `mm -acp` speaks the Agent Client Protocol (Zed and other ACP editors). Commands are advertised in the editor's slash menu.

### Model servers

- **Providers**: Docker Model Runner (`dmr`) and llama.cpp (`llamacpp`), both through the OpenAI-compatible API.
- **Start-up checks**: mm checks that the server answers, finds the context window, and warns when the model is missing or has no chat template.

### Tools and skills

- **Tools**: `bash`, `read_file`, `write_file`, `edit_file`.
- **Skills** (`read_skill`): stored as `<name>.md` or `<name>/SKILL.md`. A relative `skillsDir` is resolved from the start directory, or next to the configuration file in editor mode. The banner warns, with the full path, when no skill is found.
- **`@path` in a question** attaches a file or a directory: `📎` in the terminal, `resource_link` in an editor.

### Commands

- `/quit`, `/abort`, `/compact`, `/new`, `/sessions`, `/resume [id]`, `/help` and `/copy [n|all]`.
- In an editor: `/new` and `/compact`.

### Sessions and context

- **Persistent sessions, per project** (`sessions.enabled`, under `.mm/sessions`):
  - `/sessions` and `/resume` in the terminal;
  - `session/load` in an editor, which replays the conversation. Zed's "Reload Agent" uses it.
- **Context compression** (`context.*`): a summary plus the last raw turns, triggered automatically in the line mode or by hand with `/compact`.

### Safeguards

- A **loop detector** for repeated identical tool calls.
- A **watchdog** (`watchdogTimeout`) for a stream that has gone silent.
- `maxTurns` and `maxOutput`.

### Window mode extras

- **Native text selection** works: the mouse is free by default, and F2 toggles mouse capture.
- **Copying**: Ctrl-Y and `/copy` copy an answer, through `pbcopy`, `wl-copy`, `xclip` or `xsel` first, then OSC 52.
- **Long pastes** fold into a `[Pasted #1 · 50 lines · 1.0k chars]` token. The model still receives the full text.

## Distribution

- **Binaries** for macOS arm64, Linux amd64/arm64 and Windows amd64/arm64, built by the release workflow (`go build`, `CGO_ENABLED=0`), with `SHA256SUMS`.
- **`install.sh`** builds `mm` and copies it to `/usr/local/bin`.

## Documentation

- **EN + FR documentation**, organised the Diátaxis way: a getting-started tutorial, how-to guides, reference (CLI, configuration, tools, slash commands, ACP, skill format) and explanations (architecture, providers, compression, sessions).