mini-me v0.0.0
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:
mmin a terminal. - Window mode:
mm -tui, ortui: truein 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_fileandedit_filewait for your answer.
- Editor mode:
mm -acpspeaks 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>.mdor<name>/SKILL.md. A relativeskillsDiris 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. @pathin a question attaches a file or a directory:📎in the terminal,resource_linkin an editor.
Commands
/quit,/abort,/compact,/new,/sessions,/resume [id],/helpand/copy [n|all].- In an editor:
/newand/compact.
Sessions and context
- Persistent sessions, per project (
sessions.enabled, under.mm/sessions):/sessionsand/resumein the terminal;session/loadin 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. maxTurnsandmaxOutput.
Window mode extras
- Native text selection works: the mouse is free by default, and F2 toggles mouse capture.
- Copying: Ctrl-Y and
/copycopy an answer, throughpbcopy,wl-copy,xcliporxselfirst, 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), withSHA256SUMS. install.shbuildsmmand 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 |
|