bots-garden/mini-mepublic Fork
⑂ v1.0.0
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. 8eb168b · on v1.0.0 · k33g · Oct 15, 2026
README.en.md · 90 lines · 5.1 KBmarkdown
Blame HistoryOpen raw

Coding helpers — interactive documentation for Go and Rust

Version française

Ask what a Go or Rust concept is, or how something is done, and get an explanation with short examples — like a reference page that answers. You talk with a coordinator; it hands your question to the right specialist with mm's built-in ask_agent tool.

Agent File Model Role
🧭 coordinator agent.yaml MiniCPM5 2B (hf.co/openbmb/MiniCPM5-2B-GGUF:Q4_K_M, 1.6 GB) picks go or rust, sends the question with the conversation
🐹 go agent.go.yaml Mellum2 12B A2.5B thinking (huggingface.co/jetbrains/mellum2-12b-a2.5b-thinking-gguf-q4_k_m:Q4_K_M, 8.1 GB) documents Go
🦀 rust agent.rust.yaml the same Mellum2 model, loaded once documents Rust

The specialists document, they do not build: they explain and show snippets, and only write a complete program when you ask for one. They have no tools, so they never touch your files. No skills, no hooks.

Run

llmman pull hf.co/openbmb/MiniCPM5-2B-GGUF:Q4_K_M
llmman pull huggingface.co/jetbrains/mellum2-12b-a2.5b-thinking-gguf-q4_k_m:Q4_K_M
LLMMAN_CONTEXT_LENGTH=32768 llmman serve

cd demos/coding-helpers
mm                 # reads ./agent.yaml

LLMMAN_CONTEXT_LENGTH matters: without it, llmman loads each model with its full context window (131 072 tokens for both models here), and two models plus their caches may not fit in memory.

Use

Ask in your own words, in any language:

> hey, explain how to use a Go struct and serialise it to JSON
> how do I do the same thing in Rust?
> what is pattern matching in Rust? give me an example
> and in Go, what is the equivalent?
> write me a complete Go program that reads a file line by line

What happens on each question:

  1. The coordinator picks the specialist from the language you name — "the same thing in Rust" goes to rust.
  2. It calls ask_agent with with_context: true: the specialist receives the conversation so far, so it knows what "the same thing" refers to.
  3. The specialist's answer streams to you as it is written — the explanation, the snippets, the pitfalls.
  4. The coordinator adds one line, sometimes a short summary in your language.

You can also talk to a specialist directly: mm agent.go.yaml or mm agent.rust.yaml. Inside the coordinator's session, /ask-go <question> and /ask-rust <question> ask one yourself, without going through the coordinator's choice.

The specialists often answer in English even when you write in French; the coordinator's own line follows your language.

Measured results

On 2026-10-15, llmman on the host, one conversation of five messages in the REPL, then two single questions:

Message Sent to Answer
"explique-moi ce qu'est le pattern matching en Rust et donne-moi un exemple" rust ✅ what it is, a match on a Result, pitfalls (exhaustiveness, overuse) — no main ✅
"et en Go, comment on fait l'équivalent ?" go ✅ switch, type switch, constant "enums", pitfalls (no exhaustiveness check) — the follow-up understood ✅
"hey, explique-moi comment utiliser une struct Go et la sérialiser en JSON" go ✅ struct tags and json.Marshal, snippets ✅
"écris-moi un programme Go complet qui lit un fichier ligne par ligne" go ✅ a complete program with func main, as asked ✅
"comment trier une liste en Python ?" go ❌ out of scope: declined by the Go specialist in 1 run out of 2; the coordinator answered about Python itself in the other

An earlier version (asked to write runnable programs) produced a Go struct-to-JSON program that compiled and printed exactly what the answer said; its Rust counterpart (Serde) was not compiled — no Rust toolchain in the test sandbox. 40 to 120 s per question.

Known limits

  • The coordinator is a 2B model: it routes Go and Rust questions well, but does not reliably refuse other languages.
  • A snippet can be wrong: one Go example built a one-field struct with two values ({"Bob", "Smith"}), which does not compile. Read the examples as documentation, not as tested code.
  • The coordinator does not copy your question word for word: it often rewrites it in English before handing it over; with_context is what keeps the meaning.

How it works

The team is three mm configuration files; the only link between them is the mmConfigs block of agent.yaml:

mmConfigs:
  go:
    path: agent.go.yaml
    description: >-
      Go specialist. Explains Go concepts and how to do something in Go,
      with short examples, like documentation. For any question about Go.
    yolo: true
  rust:
    path: agent.rust.yaml
    description: >-
      Rust specialist. …
    yolo: true

That block gives the coordinator the ask_agent tool (and the /ask-go, /ask-rust commands). Each specialist runs as a child mm, started on its first question and kept for the next ones. To understand the machinery: Asking another agent; to set it up in your own agents: Let your agent call other agents.

 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Coding helpers — interactive documentation for Go and Rust

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

Ask what a Go or Rust concept is, or how something is done, and get an explanation with short examples — like a reference page that answers. You talk with a **coordinator**; it hands your question to the right specialist with mm's built-in `ask_agent` tool.

| Agent | File | Model | Role |
|---|---|---|---|
| 🧭 coordinator | `agent.yaml` | MiniCPM5 2B (`hf.co/openbmb/MiniCPM5-2B-GGUF:Q4_K_M`, 1.6 GB) | picks `go` or `rust`, sends the question with the conversation |
| 🐹 go | `agent.go.yaml` | Mellum2 12B A2.5B thinking (`huggingface.co/jetbrains/mellum2-12b-a2.5b-thinking-gguf-q4_k_m:Q4_K_M`, 8.1 GB) | documents Go |
| 🦀 rust | `agent.rust.yaml` | the same Mellum2 model, loaded once | documents Rust |

The specialists **document, they do not build**: they explain and show snippets, and only write a complete program when you ask for one. They have no tools, so they never touch your files. No skills, no hooks.

## Run

```bash
llmman pull hf.co/openbmb/MiniCPM5-2B-GGUF:Q4_K_M
llmman pull huggingface.co/jetbrains/mellum2-12b-a2.5b-thinking-gguf-q4_k_m:Q4_K_M
LLMMAN_CONTEXT_LENGTH=32768 llmman serve

cd demos/coding-helpers
mm                 # reads ./agent.yaml
```

`LLMMAN_CONTEXT_LENGTH` matters: without it, llmman loads each model with its full context window (131 072 tokens for both models here), and two models plus their caches may not fit in memory.

## Use

Ask in your own words, in any language:

```
> hey, explain how to use a Go struct and serialise it to JSON
> how do I do the same thing in Rust?
> what is pattern matching in Rust? give me an example
> and in Go, what is the equivalent?
> write me a complete Go program that reads a file line by line
```

What happens on each question:

1. The coordinator picks the specialist from the language you name — "the same thing in Rust" goes to `rust`.
2. It calls `ask_agent` with `with_context: true`: the specialist receives the conversation so far, so it knows what "the same thing" refers to.
3. The specialist's answer streams to you as it is written — the explanation, the snippets, the pitfalls.
4. The coordinator adds one line, sometimes a short summary in your language.

You can also talk to a specialist directly: `mm agent.go.yaml` or `mm agent.rust.yaml`. Inside the coordinator's session, `/ask-go <question>` and `/ask-rust <question>` ask one yourself, without going through the coordinator's choice.

The specialists often answer in English even when you write in French; the coordinator's own line follows your language.

## Measured results

On 2026-10-15, llmman on the host, one conversation of five messages in the REPL, then two single questions:

| Message | Sent to | Answer |
|---|---|---|
| "explique-moi ce qu'est le pattern matching en Rust et donne-moi un exemple" | rust ✅ | what it is, a `match` on a `Result`, pitfalls (exhaustiveness, overuse) — no `main` ✅ |
| "et en Go, comment on fait l'équivalent ?" | go ✅ | `switch`, type switch, constant "enums", pitfalls (no exhaustiveness check) — the follow-up understood ✅ |
| "hey, explique-moi comment utiliser une struct Go et la sérialiser en JSON" | go ✅ | struct tags and `json.Marshal`, snippets ✅ |
| "écris-moi un programme Go complet qui lit un fichier ligne par ligne" | go ✅ | a complete program with `func main`, as asked ✅ |
| "comment trier une liste en Python ?" | go ❌ | out of scope: declined by the Go specialist in 1 run out of 2; the coordinator answered about Python itself in the other |

An earlier version (asked to write runnable programs) produced a Go struct-to-JSON program that compiled and printed exactly what the answer said; its Rust counterpart (Serde) was not compiled — no Rust toolchain in the test sandbox. 40 to 120 s per question.

## Known limits

- The coordinator is a 2B model: it routes Go and Rust questions well, but does not reliably refuse other languages.
- A snippet can be wrong: one Go example built a one-field struct with two values (`{"Bob", "Smith"}`), which does not compile. Read the examples as documentation, not as tested code.
- The coordinator does not copy your question word for word: it often rewrites it in English before handing it over; `with_context` is what keeps the meaning.

## How it works

The team is three mm configuration files; the only link between them is the `mmConfigs` block of `agent.yaml`:

```yaml
mmConfigs:
  go:
    path: agent.go.yaml
    description: >-
      Go specialist. Explains Go concepts and how to do something in Go,
      with short examples, like documentation. For any question about Go.
    yolo: true
  rust:
    path: agent.rust.yaml
    description: >-
      Rust specialist. …
    yolo: true
```

That block gives the coordinator the `ask_agent` tool (and the `/ask-go`, `/ask-rust` commands). Each specialist runs as a child `mm`, started on its first question and kept for the next ones. To understand the machinery: [Asking another agent](../../docs/en/explanation/asking-another-agent.md); to set it up in your own agents: [Let your agent call other agents](../../docs/en/how-to/let-the-agent-call-other-agents.md).