🛟 Updated.
c1026e1 parent: 2db6efc modified
.tickets/issues/0069-create-mini-me-skills-to-search-some-specific-kn.yaml +1 -1 | @@ -8,7 +8,7 @@ author: | ||
| 8 | 8 | createdAt: 2026-10-02T09:26:19.729Z |
| 9 | 9 | updatedAt: 2026-11-24T21:51:15.000Z |
| 10 | 10 | labels: [] |
| 11 | -milestone: v2.0.1 | |
| 11 | +milestone: v2.1.0 | |
| 12 | 12 | epic: Search |
| 13 | 13 | related: |
| 14 | 14 | - 104 |
| @@ -8,7 +8,7 @@ author: | |||
| 8 | createdAt: 2026-10-02T09:26:19.729Z | 8 | createdAt: 2026-10-02T09:26:19.729Z |
| 9 | updatedAt: 2026-11-24T21:51:15.000Z | 9 | updatedAt: 2026-11-24T21:51:15.000Z |
| 10 | labels: [] | 10 | labels: [] |
| 11 | -milestone: v2.0.1 | 11 | +milestone: v2.1.0 |
| 12 | epic: Search | 12 | epic: Search |
| 13 | related: | 13 | related: |
| 14 | - 104 | 14 | - 104 |
modified
.tickets/issues/0072-use-a-decision-model-decision-4b-as-a-local-deci.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-02T21:40:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - kind::feature |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 15 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-02T21:40:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - kind::feature | 11 | - kind::feature |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 15 | 15 | - 15 |
modified
.tickets/issues/0125-decision-models-logprobs-fallback-dmr-and-models.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-20T07:31:57.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | 12 | - priority::low |
| 13 | -milestone: v2.0.2 | |
| 13 | +milestone: v2.1.1 | |
| 14 | 14 | epic: Decision models |
| 15 | 15 | related: |
| 16 | 16 | - 72 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-20T07:31:57.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | - priority::low | 12 | - priority::low |
| 13 | -milestone: v2.0.2 | 13 | +milestone: v2.1.1 |
| 14 | epic: Decision models | 14 | epic: Decision models |
| 15 | related: | 15 | related: |
| 16 | - 72 | 16 | - 72 |
modified
.tickets/issues/0128-decision-models-ask-auto-chooses-the-agent.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0129-decision-models-is-the-turn-finished.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0130-decision-models-grounding-check-after-a-turn.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0131-decision-models-semantic-loop-detector-and-compaction-filter.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T16:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0135-decision-models-reasoning-on-or-off-per-request.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0136-decision-models-escalate-to-a-bigger-agent.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0137-decision-models-clarify-before-acting.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0138-decision-models-tag-sessions-for-search-memory.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | related: |
| 15 | 15 | - 72 |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-22T19:00:00.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | related: | 14 | related: |
| 15 | - 72 | 15 | - 72 |
modified
.tickets/issues/0165-how-to-unload-models-when-using-decision-models.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-26T05:00:19.639Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - decision models |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | body: "" |
| 15 | 15 | tasks: [] |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-26T05:00:19.639Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - decision models | 11 | - decision models |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | body: "" | 14 | body: "" |
| 15 | tasks: [] | 15 | tasks: [] |
modified
.tickets/issues/0166-think-on-how-to-simplify-usage-of-decision-model.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-10-26T05:01:03.034Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - decision models |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | body: "" |
| 15 | 15 | tasks: [] |
| @@ -9,7 +9,7 @@ createdAt: 2026-10-26T05:01:03.034Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - decision models | 11 | - decision models |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | body: "" | 14 | body: "" |
| 15 | tasks: [] | 15 | tasks: [] |
modified
.tickets/issues/0183-acp-use-the-client-s-fs-and-terminal-services-wh.yaml +1 -1 | @@ -11,7 +11,7 @@ labels: | ||
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | 13 | - tools |
| 14 | -milestone: v2.0.2 | |
| 14 | +milestone: v2.1.1 | |
| 15 | 15 | epic: ACP integration |
| 16 | 16 | body: | |
| 17 | 17 | ## Context |
| @@ -11,7 +11,7 @@ labels: | |||
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | - tools | 13 | - tools |
| 14 | -milestone: v2.0.2 | 14 | +milestone: v2.1.1 |
| 15 | epic: ACP integration | 15 | epic: ACP integration |
| 16 | body: | | 16 | body: | |
| 17 | ## Context | 17 | ## Context |
modified
.tickets/issues/0196-use-guards-in-a-more-declarative-way-without-hook.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-11-07T07:29:34.000Z | ||
| 9 | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - decision models |
| 12 | -milestone: v2.0.2 | |
| 12 | +milestone: v2.1.1 | |
| 13 | 13 | epic: Decision models |
| 14 | 14 | body: | |
| 15 | 15 | Think about using guards, as in [demos/guards](demos/guards), in a more declarative way, without hooks. |
| @@ -9,7 +9,7 @@ createdAt: 2026-11-07T07:29:34.000Z | |||
| 9 | updatedAt: 2026-11-20T07:31:57.000Z | 9 | updatedAt: 2026-11-20T07:31:57.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - decision models | 11 | - decision models |
| 12 | -milestone: v2.0.2 | 12 | +milestone: v2.1.1 |
| 13 | epic: Decision models | 13 | epic: Decision models |
| 14 | body: | | 14 | body: | |
| 15 | Think about using guards, as in [demos/guards](demos/guards), in a more declarative way, without hooks. | 15 | Think about using guards, as in [demos/guards](demos/guards), in a more declarative way, without hooks. |
modified
.tickets/issues/0223-llamacpp-start-llama-server-when-it-is-not-runnin.yaml +1 -1 | @@ -9,7 +9,7 @@ createdAt: 2026-11-18T07:13:12.000Z | ||
| 9 | 9 | updatedAt: 2026-11-24T17:52:58.000Z |
| 10 | 10 | labels: |
| 11 | 11 | - kind::feature |
| 12 | -milestone: v2.0.1 | |
| 12 | +milestone: v2.1.0 | |
| 13 | 13 | epic: Providers (LLM Engine) |
| 14 | 14 | related: |
| 15 | 15 | - 218 |
| @@ -9,7 +9,7 @@ createdAt: 2026-11-18T07:13:12.000Z | |||
| 9 | updatedAt: 2026-11-24T17:52:58.000Z | 9 | updatedAt: 2026-11-24T17:52:58.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - kind::feature | 11 | - kind::feature |
| 12 | -milestone: v2.0.1 | 12 | +milestone: v2.1.0 |
| 13 | epic: Providers (LLM Engine) | 13 | epic: Providers (LLM Engine) |
| 14 | related: | 14 | related: |
| 15 | - 218 | 15 | - 218 |
modified
.tickets/issues/0243-a2a-mode-discussion-what-should-mm-do-with-the-a.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T05:27:08.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - question |
| 12 | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | |
| 13 | +milestone: v2.1.0 | |
| 14 | 14 | epic: A2A |
| 15 | 15 | related: |
| 16 | 16 | - 260 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T05:27:08.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - question | 11 | - question |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | 13 | +milestone: v2.1.0 |
| 14 | epic: A2A | 14 | epic: A2A |
| 15 | related: | 15 | related: |
| 16 | - 260 | 16 | - 260 |
modified
.tickets/issues/0249-pii-protect-personal-data-from-the-model-and-what-mm-writes.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-20T18:20:00.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - question |
| 12 | 12 | - enhancement |
| 13 | -milestone: v2.0.2 | |
| 13 | +milestone: v2.1.1 | |
| 14 | 14 | epic: Guardrails |
| 15 | 15 | related: |
| 16 | 16 | - 146 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-20T18:20:00.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - question | 11 | - question |
| 12 | - enhancement | 12 | - enhancement |
| 13 | -milestone: v2.0.2 | 13 | +milestone: v2.1.1 |
| 14 | epic: Guardrails | 14 | epic: Guardrails |
| 15 | related: | 15 | related: |
| 16 | - 146 | 16 | - 146 |
modified
.tickets/issues/0250-prompt-injection-protect-the-model-from-instructions-in-what-it-reads.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-20T18:20:00.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - question |
| 12 | 12 | - enhancement |
| 13 | -milestone: v2.0.2 | |
| 13 | +milestone: v2.1.1 | |
| 14 | 14 | epic: Guardrails |
| 15 | 15 | related: |
| 16 | 16 | - 132 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-20T18:20:00.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - question | 11 | - question |
| 12 | - enhancement | 12 | - enhancement |
| 13 | -milestone: v2.0.2 | 13 | +milestone: v2.1.1 |
| 14 | epic: Guardrails | 14 | epic: Guardrails |
| 15 | related: | 15 | related: |
| 16 | - 132 | 16 | - 132 |
modified
.tickets/issues/0251-compress-the-history-inside-a-turn-between-tool-calls.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T19:29:21.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | |
| 13 | +milestone: v2.1.0 | |
| 14 | 14 | epic: Agent Memory |
| 15 | 15 | related: |
| 16 | 16 | - 43 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T19:29:21.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | 13 | +milestone: v2.1.0 |
| 14 | epic: Agent Memory | 14 | epic: Agent Memory |
| 15 | related: | 15 | related: |
| 16 | - 43 | 16 | - 43 |
modified
.tickets/issues/0252-add-mlx-serve-provider.yaml +1 -1 | @@ -11,7 +11,7 @@ labels: | ||
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | 13 | - priority::medium |
| 14 | -milestone: v2.0.1 | |
| 14 | +milestone: v2.1.0 | |
| 15 | 15 | epic: Providers (LLM Engine) |
| 16 | 16 | related: |
| 17 | 17 | - 62 |
| @@ -11,7 +11,7 @@ labels: | |||
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | - priority::medium | 13 | - priority::medium |
| 14 | -milestone: v2.0.1 | 14 | +milestone: v2.1.0 |
| 15 | epic: Providers (LLM Engine) | 15 | epic: Providers (LLM Engine) |
| 16 | related: | 16 | related: |
| 17 | - 62 | 17 | - 62 |
modified
.tickets/issues/0253-variables-in-the-system-prompt-date-cwd-env-name.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T04:31:32.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | |
| 13 | +milestone: v2.1.0 | |
| 14 | 14 | epic: Prompts |
| 15 | 15 | related: |
| 16 | 16 | - 244 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T04:31:32.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | 13 | +milestone: v2.1.0 |
| 14 | epic: Prompts | 14 | epic: Prompts |
| 15 | related: | 15 | related: |
| 16 | - 244 | 16 | - 244 |
modified
.tickets/issues/0254-measure-and-show-the-token-generation-speed-tokens-s.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T18:26:51.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | |
| 13 | +milestone: v2.1.0 | |
| 14 | 14 | epic: Providers (LLM Engine) |
| 15 | 15 | body: | |
| 16 | 16 | Compute the model's generation speed and show it to the user, e.g. |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T18:26:51.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | 13 | +milestone: v2.1.0 |
| 14 | epic: Providers (LLM Engine) | 14 | epic: Providers (LLM Engine) |
| 15 | body: | | 15 | body: | |
| 16 | Compute the model's generation speed and show it to the user, e.g. | 16 | Compute the model's generation speed and show it to the user, e.g. |
modified
.tickets/issues/0255-unload-the-model-when-mini-me-exits-unloadonexit.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T17:00:39.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | |
| 13 | +milestone: v2.1.0 | |
| 14 | 14 | epic: Providers (LLM Engine) |
| 15 | 15 | related: |
| 16 | 16 | - 101 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T17:00:39.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | 13 | +milestone: v2.1.0 |
| 14 | epic: Providers (LLM Engine) | 14 | epic: Providers (LLM Engine) |
| 15 | related: | 15 | related: |
| 16 | - 101 | 16 | - 101 |
modified
.tickets/issues/0257-llamacpp-declare-llama-server-launch-settings-in-the.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T17:52:58.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | |
| 13 | +milestone: v2.1.0 | |
| 14 | 14 | epic: Providers (LLM Engine) |
| 15 | 15 | related: |
| 16 | 16 | - 223 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-24T17:52:58.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | 13 | +milestone: v2.1.0 |
| 14 | epic: Providers (LLM Engine) | 14 | epic: Providers (LLM Engine) |
| 15 | related: | 15 | related: |
| 16 | - 223 | 16 | - 223 |
modified
.tickets/issues/0260-a2a-study-the-official-go-sdk-a2aproject-a2a-go.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T05:27:08.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - question |
| 12 | 12 | - kind::chore |
| 13 | -milestone: v2.0.2 | |
| 13 | +milestone: v2.1.1 | |
| 14 | 14 | epic: A2A |
| 15 | 15 | related: |
| 16 | 16 | - 243 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T05:27:08.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - question | 11 | - question |
| 12 | - kind::chore | 12 | - kind::chore |
| 13 | -milestone: v2.0.2 | 13 | +milestone: v2.1.1 |
| 14 | epic: A2A | 14 | epic: A2A |
| 15 | related: | 15 | related: |
| 16 | - 243 | 16 | - 243 |
modified
.tickets/issues/0263-a2a-a2a-name-command-talk-to-a-remote-a2a-agent-f.yaml +1 -1 | @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T05:39:55.000Z | ||
| 10 | 10 | labels: |
| 11 | 11 | - enhancement |
| 12 | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | |
| 13 | +milestone: v2.1.0 | |
| 14 | 14 | epic: A2A |
| 15 | 15 | related: |
| 16 | 16 | - 243 |
| @@ -10,7 +10,7 @@ updatedAt: 2026-11-25T05:39:55.000Z | |||
| 10 | labels: | 10 | labels: |
| 11 | - enhancement | 11 | - enhancement |
| 12 | - kind::feature | 12 | - kind::feature |
| 13 | -milestone: v2.0.1 | 13 | +milestone: v2.1.0 |
| 14 | epic: A2A | 14 | epic: A2A |
| 15 | related: | 15 | related: |
| 16 | - 243 | 16 | - 243 |
modified
.tickets/milestones.yaml +6 -6 | @@ -34,7 +34,7 @@ milestones: | ||
| 34 | 34 | state: closed |
| 35 | 35 | - title: v1.0.0 |
| 36 | 36 | state: closed |
| 37 | - dueOn: 2026-11-31 | |
| 37 | + dueOn: 2026-11-30 | |
| 38 | 38 | - title: v1.0.1 |
| 39 | 39 | state: closed |
| 40 | 40 | dueOn: 2026-10-26 |
| @@ -72,9 +72,9 @@ milestones: | ||
| 72 | 72 | - title: v1.1.1 |
| 73 | 73 | state: closed |
| 74 | 74 | dueOn: 2026-11-25 |
| 75 | - - title: v2.0.1 | |
| 76 | - state: open | |
| 77 | - description: After v2.0.0 | |
| 78 | - - title: v2.0.2 | |
| 75 | + - title: v2.1.0 | |
| 76 | + state: closed | |
| 77 | + description: After v2.0.0 (planned as v2.0.1, released as v2.1.0) | |
| 78 | + - title: v2.1.1 | |
| 79 | 79 | state: open |
| 80 | - description: After v2.0.1 — decision models | |
| 80 | + description: After v2.1.0 — decision models (planned as v2.0.2) | |
| @@ -34,7 +34,7 @@ milestones: | |||
| 34 | state: closed | 34 | state: closed |
| 35 | - title: v1.0.0 | 35 | - title: v1.0.0 |
| 36 | state: closed | 36 | state: closed |
| 37 | - dueOn: 2026-11-31 | 37 | + dueOn: 2026-11-30 |
| 38 | - title: v1.0.1 | 38 | - title: v1.0.1 |
| 39 | state: closed | 39 | state: closed |
| 40 | dueOn: 2026-10-26 | 40 | dueOn: 2026-10-26 |
| @@ -72,9 +72,9 @@ milestones: | |||
| 72 | - title: v1.1.1 | 72 | - title: v1.1.1 |
| 73 | state: closed | 73 | state: closed |
| 74 | dueOn: 2026-11-25 | 74 | dueOn: 2026-11-25 |
| 75 | - - title: v2.0.1 | 75 | + - title: v2.1.0 |
| 76 | - state: open | 76 | + state: closed |
| 77 | - description: After v2.0.0 | 77 | + description: After v2.0.0 (planned as v2.0.1, released as v2.1.0) |
| 78 | - - title: v2.0.2 | 78 | + - title: v2.1.1 |
| 79 | state: open | 79 | state: open |
| 80 | - description: After v2.0.1 — decision models | 80 | + description: After v2.1.0 — decision models (planned as v2.0.2) |
modified
INSTALL.LINUX.md +1 -1 | @@ -2,7 +2,7 @@ | ||
| 2 | 2 | |
| 3 | 3 | ```bash |
| 4 | 4 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases |
| 5 | -VERSION=2.0.0 | |
| 5 | +VERSION=2.1.0 | |
| 6 | 6 | case "$(uname -m)" in |
| 7 | 7 | x86_64) ARCH=amd64 ;; |
| 8 | 8 | aarch64|arm64) ARCH=arm64 ;; |
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | ```bash | 3 | ```bash |
| 4 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases | 4 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases |
| 5 | -VERSION=2.0.0 | 5 | +VERSION=2.1.0 |
| 6 | case "$(uname -m)" in | 6 | case "$(uname -m)" in |
| 7 | x86_64) ARCH=amd64 ;; | 7 | x86_64) ARCH=amd64 ;; |
| 8 | aarch64|arm64) ARCH=arm64 ;; | 8 | aarch64|arm64) ARCH=arm64 ;; |
modified
INSTALL.MACOS.md +4 -4 | @@ -2,7 +2,7 @@ | ||
| 2 | 2 | |
| 3 | 3 | Short version: |
| 4 | 4 | ```bash |
| 5 | -VERSION=2.0.0 | |
| 5 | +VERSION=2.1.0 | |
| 6 | 6 | curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64" |
| 7 | 7 | chmod +x ./mm-${VERSION}-darwin-arm64 |
| 8 | 8 | sudo rm -f /usr/local/bin/mm |
| @@ -14,7 +14,7 @@ From v1.0.5, the macOS binary is signed with a Developer ID and notarized by App | ||
| 14 | 14 | |
| 15 | 15 | ```bash |
| 16 | 16 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases |
| 17 | -VERSION=2.0.0 | |
| 17 | +VERSION=2.1.0 | |
| 18 | 18 | curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64" |
| 19 | 19 | |
| 20 | 20 | # optional: check the download against the release's checksums |
| @@ -34,8 +34,8 @@ mm --version | ||
| 34 | 34 | The signature check should print: |
| 35 | 35 | |
| 36 | 36 | ``` |
| 37 | -./mm-2.0.0-darwin-arm64: valid on disk | |
| 38 | -./mm-2.0.0-darwin-arm64: satisfies its Designated Requirement | |
| 37 | +./mm-2.1.0-darwin-arm64: valid on disk | |
| 38 | +./mm-2.1.0-darwin-arm64: satisfies its Designated Requirement | |
| 39 | 39 | Identifier=com.bots-garden.mm |
| 40 | 40 | Authority=Developer ID Application: Philippe Charriere (SNLLBZP9V9) |
| 41 | 41 | TeamIdentifier=SNLLBZP9V9 |
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | Short version: | 3 | Short version: |
| 4 | ```bash | 4 | ```bash |
| 5 | -VERSION=2.0.0 | 5 | +VERSION=2.1.0 |
| 6 | curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64" | 6 | curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64" |
| 7 | chmod +x ./mm-${VERSION}-darwin-arm64 | 7 | chmod +x ./mm-${VERSION}-darwin-arm64 |
| 8 | sudo rm -f /usr/local/bin/mm | 8 | sudo rm -f /usr/local/bin/mm |
| @@ -14,7 +14,7 @@ From v1.0.5, the macOS binary is signed with a Developer ID and notarized by App | |||
| 14 | 14 | ||
| 15 | ```bash | 15 | ```bash |
| 16 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases | 16 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases |
| 17 | -VERSION=2.0.0 | 17 | +VERSION=2.1.0 |
| 18 | curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64" | 18 | curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64" |
| 19 | 19 | ||
| 20 | # optional: check the download against the release's checksums | 20 | # optional: check the download against the release's checksums |
| @@ -34,8 +34,8 @@ mm --version | |||
| 34 | The signature check should print: | 34 | The signature check should print: |
| 35 | 35 | ||
| 36 | ``` | 36 | ``` |
| 37 | -./mm-2.0.0-darwin-arm64: valid on disk | 37 | +./mm-2.1.0-darwin-arm64: valid on disk |
| 38 | -./mm-2.0.0-darwin-arm64: satisfies its Designated Requirement | 38 | +./mm-2.1.0-darwin-arm64: satisfies its Designated Requirement |
| 39 | Identifier=com.bots-garden.mm | 39 | Identifier=com.bots-garden.mm |
| 40 | Authority=Developer ID Application: Philippe Charriere (SNLLBZP9V9) | 40 | Authority=Developer ID Application: Philippe Charriere (SNLLBZP9V9) |
| 41 | TeamIdentifier=SNLLBZP9V9 | 41 | TeamIdentifier=SNLLBZP9V9 |
modified
INSTALL.WINDOWS.md +1 -1 | @@ -4,7 +4,7 @@ In PowerShell (no administrator rights needed): | ||
| 4 | 4 | |
| 5 | 5 | ```powershell |
| 6 | 6 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases |
| 7 | -$Version = "2.0.0" | |
| 7 | +$Version = "2.1.0" | |
| 8 | 8 | $Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" } |
| 9 | 9 | $Asset = "mm-$Version-windows-$Arch.exe" |
| 10 | 10 | $Base = "https://rickub.com/bots-garden/mini-me/releases/download/v$Version" |
| @@ -4,7 +4,7 @@ In PowerShell (no administrator rights needed): | |||
| 4 | 4 | ||
| 5 | ```powershell | 5 | ```powershell |
| 6 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases | 6 | # download the binary release in https://rickub.com/bots-garden/mini-me/releases |
| 7 | -$Version = "2.0.0" | 7 | +$Version = "2.1.0" |
| 8 | $Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" } | 8 | $Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" } |
| 9 | $Asset = "mm-$Version-windows-$Arch.exe" | 9 | $Asset = "mm-$Version-windows-$Arch.exe" |
| 10 | $Base = "https://rickub.com/bots-garden/mini-me/releases/download/v$Version" | 10 | $Base = "https://rickub.com/bots-garden/mini-me/releases/download/v$Version" |
modified
README.md +1 -1 | @@ -172,7 +172,7 @@ The `demos/` directory holds ready-made set-ups (most with a README explaining h | ||
| 172 | 172 | | `demos/gemini-style/` | the same idea with Gemini CLI's system prompt (Research → Strategy → Execution, Directives vs Inquiries, Context Efficiency), adapted to mm and to Gemma 4 26B-A4B on llmman; reads `GEMINI.md`; measured results | |
| 173 | 173 | | `demos/gemma-coder/` | a Go specialist for vibe coding on the same model as `gemini-style` (Gemma 4 26B-A4B, thinking on, gopls for `lsp`, `yolo: true`): writes the code and its tests, validates with `go build`/`go test`, commits without asking back; diagrams of the loop and of the settings chosen; measured 16/18 on nine Go cases | |
| 174 | 174 | | `demos/muse-coder/` | the Swift counterpart of `gemma-coder` on Muse-Glimmer 30B (`reasoning_strength: high`, sourcekit-lsp for `lsp`, `yolo: true`, SwiftPM + Swift Testing): measured 17/18 on nine Swift cases, the real binary run on fresh input; `lsp rename` only works across files after a build (measured), and `medium` reasoning scored 2/6 against 5/6 for `high` on the long cases | |
| 175 | -| `demos/lfm-coder/` | a Go coder on LiquidAI LFM2.5-24B-A2B (llama.cpp, always reasons, gopls for `lsp`, `yolo: true`) whose silent failures were first caught by four Python hooks (measured 17/18 on nine Go cases, `ask_user` 3/3 on an under-specified request, 0/5 with the rule in the prompt only), now replaced by mm v2.0.0's settings: `workspace`, `bashBackground`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder`; the config lives in `.mm/`, with Go notes for `search_docs`, Context7 and seven skills (added 2026-11-23, not measured) | | |
| 175 | +| `demos/gpt-oss-mini-coder/` | a Go coder for vibe coding — the setup first built as `demos/lfm-coder` (its system prompt, eight Go skills, Go notes for `search_docs`, Context7, and mm v2.0.0's guardrails instead of hooks), now on gpt-oss 20b (llama.cpp, `reasoning_effort: low`); work in progress, not measured with gpt-oss yet — its README keeps the LFM2.5-24B-A2B measurements (17/18 on nine Go cases with the hooks) | | |
| 176 | 176 | | `demos/codex-style/` | the same idea with Codex CLI's default instructions (preambles, plans, ambition vs. precision, final-answer format), adapted to mm and to gpt-oss 20B (harmony format, `reasoning_effort`, `model_identity`) on llmman; measured results | |
| 177 | 177 | | `demos/news-roundup/` | a press-review agent: DuckDuckGo News through a small MCP server (Python standard library), Qwen3.5 9B on llmman, ready-made citations so no article is invented, measured results | |
| 178 | 178 | | `demos/qwen-search/` | the same kind of agent with **skills** instead of an MCP server: web search and a press review through DuckDuckGo Lite and `fetch_content`, plus a skill with a catalogue of trusted pages (WebAssembly); Qwen3.5 2B and 4B measured | |
| @@ -172,7 +172,7 @@ The `demos/` directory holds ready-made set-ups (most with a README explaining h | |||
| 172 | | `demos/gemini-style/` | the same idea with Gemini CLI's system prompt (Research → Strategy → Execution, Directives vs Inquiries, Context Efficiency), adapted to mm and to Gemma 4 26B-A4B on llmman; reads `GEMINI.md`; measured results | | 172 | | `demos/gemini-style/` | the same idea with Gemini CLI's system prompt (Research → Strategy → Execution, Directives vs Inquiries, Context Efficiency), adapted to mm and to Gemma 4 26B-A4B on llmman; reads `GEMINI.md`; measured results | |
| 173 | | `demos/gemma-coder/` | a Go specialist for vibe coding on the same model as `gemini-style` (Gemma 4 26B-A4B, thinking on, gopls for `lsp`, `yolo: true`): writes the code and its tests, validates with `go build`/`go test`, commits without asking back; diagrams of the loop and of the settings chosen; measured 16/18 on nine Go cases | | 173 | | `demos/gemma-coder/` | a Go specialist for vibe coding on the same model as `gemini-style` (Gemma 4 26B-A4B, thinking on, gopls for `lsp`, `yolo: true`): writes the code and its tests, validates with `go build`/`go test`, commits without asking back; diagrams of the loop and of the settings chosen; measured 16/18 on nine Go cases | |
| 174 | | `demos/muse-coder/` | the Swift counterpart of `gemma-coder` on Muse-Glimmer 30B (`reasoning_strength: high`, sourcekit-lsp for `lsp`, `yolo: true`, SwiftPM + Swift Testing): measured 17/18 on nine Swift cases, the real binary run on fresh input; `lsp rename` only works across files after a build (measured), and `medium` reasoning scored 2/6 against 5/6 for `high` on the long cases | | 174 | | `demos/muse-coder/` | the Swift counterpart of `gemma-coder` on Muse-Glimmer 30B (`reasoning_strength: high`, sourcekit-lsp for `lsp`, `yolo: true`, SwiftPM + Swift Testing): measured 17/18 on nine Swift cases, the real binary run on fresh input; `lsp rename` only works across files after a build (measured), and `medium` reasoning scored 2/6 against 5/6 for `high` on the long cases | |
| 175 | -| `demos/lfm-coder/` | a Go coder on LiquidAI LFM2.5-24B-A2B (llama.cpp, always reasons, gopls for `lsp`, `yolo: true`) whose silent failures were first caught by four Python hooks (measured 17/18 on nine Go cases, `ask_user` 3/3 on an under-specified request, 0/5 with the rule in the prompt only), now replaced by mm v2.0.0's settings: `workspace`, `bashBackground`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder`; the config lives in `.mm/`, with Go notes for `search_docs`, Context7 and seven skills (added 2026-11-23, not measured) | | 175 | +| `demos/gpt-oss-mini-coder/` | a Go coder for vibe coding — the setup first built as `demos/lfm-coder` (its system prompt, eight Go skills, Go notes for `search_docs`, Context7, and mm v2.0.0's guardrails instead of hooks), now on gpt-oss 20b (llama.cpp, `reasoning_effort: low`); work in progress, not measured with gpt-oss yet — its README keeps the LFM2.5-24B-A2B measurements (17/18 on nine Go cases with the hooks) | |
| 176 | | `demos/codex-style/` | the same idea with Codex CLI's default instructions (preambles, plans, ambition vs. precision, final-answer format), adapted to mm and to gpt-oss 20B (harmony format, `reasoning_effort`, `model_identity`) on llmman; measured results | | 176 | | `demos/codex-style/` | the same idea with Codex CLI's default instructions (preambles, plans, ambition vs. precision, final-answer format), adapted to mm and to gpt-oss 20B (harmony format, `reasoning_effort`, `model_identity`) on llmman; measured results | |
| 177 | | `demos/news-roundup/` | a press-review agent: DuckDuckGo News through a small MCP server (Python standard library), Qwen3.5 9B on llmman, ready-made citations so no article is invented, measured results | | 177 | | `demos/news-roundup/` | a press-review agent: DuckDuckGo News through a small MCP server (Python standard library), Qwen3.5 9B on llmman, ready-made citations so no article is invented, measured results | |
| 178 | | `demos/qwen-search/` | the same kind of agent with **skills** instead of an MCP server: web search and a press review through DuckDuckGo Lite and `fetch_content`, plus a skill with a catalogue of trusted pages (WebAssembly); Qwen3.5 2B and 4B measured | | 178 | | `demos/qwen-search/` | the same kind of agent with **skills** instead of an MCP server: web search and a press review through DuckDuckGo Lite and `fetch_content`, plus a skill with a catalogue of trusted pages (WebAssembly); Qwen3.5 2B and 4B measured | |
modified
demos/gpt-oss-mini-coder/.mm/README.en.md +13 -11 | @@ -1,7 +1,9 @@ | ||
| 1 | -# LFM coder — a Go specialist for vibe coding, with guardrails | |
| 1 | +# gpt-oss mini coder — a Go specialist for vibe coding, with guardrails | |
| 2 | 2 | |
| 3 | 3 | *[French version](README.fr.md)* |
| 4 | 4 | |
| 5 | +> **Work in progress.** This agent is the Go coder first built as `demos/lfm-coder` (removed): the same prompt, skills, Go notes and mm v2.0.0 guardrails, now pointed at **gpt-oss 20b** (`unsloth/gpt-oss-20b-GGUF:Q4_K_M`, `reasoning_effort: low`). It has **not been measured with gpt-oss yet**: every result and observation below was measured with LiquidAI LFM2.5-24B-A2B, and is kept as the record of how this setup was built. | |
| 6 | + | |
| 5 | 7 | A coding agent for `mm` that does **one language, Go**, and works in **autonomous mode**. You describe what you want in a sentence or two. The agent writes the code and its tests, runs `go vet` and `go test`, fixes what fails and reports. It uses the method and the prompt of [`gemma-coder`](../gemma-coder/), on a different model: **LiquidAI LFM2.5-24B-A2B** served by llama.cpp. |
| 6 | 8 | |
| 7 | 9 | This model needed more than a prompt. Its typical failures were **silent**: |
| @@ -15,7 +17,7 @@ Rules in the system prompt did not stop any of these. Four **hooks** (Python) tu | ||
| 15 | 17 | |
| 16 | 18 | | | | |
| 17 | 19 | |---|---| |
| 18 | -| Model | `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M` in `agent.yaml` (llama.cpp), reasons always (no switch). All the measurements below were made with `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25.5 GB) | | |
| 20 | +| Model | `unsloth/gpt-oss-20b-GGUF:Q4_K_M` in `agent.yaml` (llama.cpp, `reasoning_effort: low`) — not measured yet. All the measurements below were made with `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25.5 GB), the model this setup was built for | | |
| 19 | 21 | | Tools | `bash`, `read_file`, `write_file`, `edit_file`, `plan`, `ask_user`, `lsp` (gopls for `.go`, TypeScript 7's `tsc --lsp` for `.js`/`.ts`), `read_skill` (8 skills), `search_docs` (the Go notes of `.mm/golang-docs`), `fetch_content`, Context7 over MCP (`context7_resolve_library_id`, `context7_query_docs`) | |
| 20 | 22 | | Guardrails | mm v2.0.0 settings: `workspace`, `bashBackground: stop`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder` — no hooks | |
| 21 | 23 | | Mode | `yolo: true`: no confirmation before each change | |
| @@ -24,34 +26,34 @@ Rules in the system prompt did not stop any of these. Four **hooks** (Python) tu | ||
| 24 | 26 | ## Prerequisites |
| 25 | 27 | |
| 26 | 28 | ```bash |
| 27 | -llama serve -hf ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0 --ctx-size 131072 # port 9931 (mm's llamacpp default) | |
| 29 | +llama serve -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M --ctx-size 131072 # port 9931 (mm's llamacpp default) | |
| 28 | 30 | go install golang.org/x/tools/gopls@latest # the lsp tool |
| 29 | 31 | npm install -g typescript # lsp for .js/.ts: TypeScript 7's `tsc --lsp` (TS 5/6: typescript-language-server, commented in agent.yaml) |
| 30 | 32 | go build -o mm . # at the repository root (mm v2.0.0 or later) |
| 31 | 33 | export CONTEXT7_API_KEY=… # optional: Context7 (third-party library docs) |
| 32 | 34 | ``` |
| 33 | 35 | |
| 34 | -`agent.yaml` names `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M`: serve that one (`llama serve -hf LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M --ctx-size 131072`), or change `model:` to the build you serve. Q4_K_M is the choice for a 32 GB machine; it has not been measured with this agent. | |
| 36 | +`agent.yaml` names `unsloth/gpt-oss-20b-GGUF:Q4_K_M`: serve that one, or change `model:` to the build you serve. The settings below the model (sampling, timeouts, guardrails) were tuned with LFM2.5-24B-A2B and have not been re-tuned for gpt-oss. | |
| 35 | 37 | |
| 36 | 38 | - **Context size:** start the server with a large `--ctx-size`. `mm init` found this model served with `--ctx-size 4096`. That is unusable for a coding agent: the system prompt and the tool list alone take about 4k tokens. The model accepts 131,072. |
| 37 | 39 | - **Tooling:** Go 1.22 or later on the `PATH`. |
| 38 | -- **Memory:** about 25.5 GB of weights in Q8_0, which leaves little room on a 32 GB machine once the 131,072-token context is allocated; Q4_K_M takes much less. Neither is measured beyond "it ran on the development machine" (Q8_0). | |
| 40 | +- **Memory (with LFM2.5):** about 25.5 GB of weights in Q8_0, which leaves little room on a 32 GB machine once the 131,072-token context is allocated; Q4_K_M takes much less. Neither is measured beyond "it ran on the development machine" (Q8_0). | |
| 39 | 41 | - **Context7:** needs `CONTEXT7_API_KEY` and network access to `mcp.context7.com`. Without them the agent starts anyway (`discoveryTimeout: 10s`) and works without the Context7 tools. |
| 40 | 42 | |
| 41 | 43 | ## Run |
| 42 | 44 | |
| 43 | -The configuration lives in `demos/lfm-coder/.mm/`: `agent.yaml`, the skills in `skills/` and the Go notes in `golang-docs/`. You can use it in two ways: | |
| 45 | +The configuration lives in `demos/gpt-oss-mini-coder/.mm/`: `agent.yaml`, the skills in `skills/` and the Go notes in `golang-docs/`. You can use it in two ways: | |
| 44 | 46 | |
| 45 | 47 | ```bash |
| 46 | 48 | # 1. point at it from your Go project (the skill is found next to agent.yaml) |
| 47 | 49 | cd ~/src/my-go-project |
| 48 | -mm -config /path/to/mini-me/demos/lfm-coder/.mm/agent.yaml # REPL | |
| 49 | -mm -tui -config /path/to/mini-me/demos/lfm-coder/.mm/agent.yaml # single-window terminal | |
| 50 | -mm -acp -config /path/to/mini-me/demos/lfm-coder/.mm/agent.yaml # in an editor (Zed…) | |
| 50 | +mm -config /path/to/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # REPL | |
| 51 | +mm -tui -config /path/to/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # single-window terminal | |
| 52 | +mm -acp -config /path/to/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # in an editor (Zed…) | |
| 51 | 53 | mm -config …/.mm/agent.yaml -p "Create a REST API for a todo list…" # one request, scripted |
| 52 | 54 | |
| 53 | 55 | # 2. or copy the folder into the project, then run plain `mm` there |
| 54 | -cp -r /path/to/mini-me/demos/lfm-coder/.mm ~/src/my-go-project/ | |
| 56 | +cp -r /path/to/mini-me/demos/gpt-oss-mini-coder/.mm ~/src/my-go-project/ | |
| 55 | 57 | cd ~/src/my-go-project && mm |
| 56 | 58 | ``` |
| 57 | 59 | |
| @@ -59,7 +61,7 @@ Both ways were checked (see "Moved into `.mm/`" below). One difference: **the Go | ||
| 59 | 61 | |
| 60 | 62 | **Vibe coding means the agent changes files without asking.** Work in a git repository, or in a sandbox, so that `git diff` shows everything it did and `git checkout .` undoes it. To confirm each change instead, set `AGENT_YOLO=false`. |
| 61 | 63 | |
| 62 | -The repository's `.gitignore` ignores every `.mm/` folder. To commit this one, force it the way `demos/smollm3-demo/.mm/agent.yaml` was: `git add -f demos/lfm-coder/.mm/agent.yaml demos/lfm-coder/.mm/skills demos/lfm-coder/.mm/golang-docs`. | |
| 64 | +The repository's `.gitignore` ignores every `.mm/` folder. To commit this one, force it the way `demos/smollm3-demo/.mm/agent.yaml` was: `git add -f demos/gpt-oss-mini-coder/.mm/agent.yaml demos/gpt-oss-mini-coder/.mm/skills demos/gpt-oss-mini-coder/.mm/golang-docs`. | |
| 63 | 65 | |
| 64 | 66 | ## How it is built, and why |
| 65 | 67 | |
| @@ -1,7 +1,9 @@ | |||
| 1 | -# LFM coder — a Go specialist for vibe coding, with guardrails | 1 | +# gpt-oss mini coder — a Go specialist for vibe coding, with guardrails |
| 2 | 2 | ||
| 3 | *[French version](README.fr.md)* | 3 | *[French version](README.fr.md)* |
| 4 | 4 | ||
| 5 | +> **Work in progress.** This agent is the Go coder first built as `demos/lfm-coder` (removed): the same prompt, skills, Go notes and mm v2.0.0 guardrails, now pointed at **gpt-oss 20b** (`unsloth/gpt-oss-20b-GGUF:Q4_K_M`, `reasoning_effort: low`). It has **not been measured with gpt-oss yet**: every result and observation below was measured with LiquidAI LFM2.5-24B-A2B, and is kept as the record of how this setup was built. | ||
| 6 | + | ||
| 5 | A coding agent for `mm` that does **one language, Go**, and works in **autonomous mode**. You describe what you want in a sentence or two. The agent writes the code and its tests, runs `go vet` and `go test`, fixes what fails and reports. It uses the method and the prompt of [`gemma-coder`](../gemma-coder/), on a different model: **LiquidAI LFM2.5-24B-A2B** served by llama.cpp. | 7 | A coding agent for `mm` that does **one language, Go**, and works in **autonomous mode**. You describe what you want in a sentence or two. The agent writes the code and its tests, runs `go vet` and `go test`, fixes what fails and reports. It uses the method and the prompt of [`gemma-coder`](../gemma-coder/), on a different model: **LiquidAI LFM2.5-24B-A2B** served by llama.cpp. |
| 6 | 8 | ||
| 7 | This model needed more than a prompt. Its typical failures were **silent**: | 9 | This model needed more than a prompt. Its typical failures were **silent**: |
| @@ -15,7 +17,7 @@ Rules in the system prompt did not stop any of these. Four **hooks** (Python) tu | |||
| 15 | 17 | ||
| 16 | | | | | 18 | | | | |
| 17 | |---|---| | 19 | |---|---| |
| 18 | -| Model | `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M` in `agent.yaml` (llama.cpp), reasons always (no switch). All the measurements below were made with `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25.5 GB) | | 20 | +| Model | `unsloth/gpt-oss-20b-GGUF:Q4_K_M` in `agent.yaml` (llama.cpp, `reasoning_effort: low`) — not measured yet. All the measurements below were made with `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25.5 GB), the model this setup was built for | |
| 19 | | Tools | `bash`, `read_file`, `write_file`, `edit_file`, `plan`, `ask_user`, `lsp` (gopls for `.go`, TypeScript 7's `tsc --lsp` for `.js`/`.ts`), `read_skill` (8 skills), `search_docs` (the Go notes of `.mm/golang-docs`), `fetch_content`, Context7 over MCP (`context7_resolve_library_id`, `context7_query_docs`) | | 21 | | Tools | `bash`, `read_file`, `write_file`, `edit_file`, `plan`, `ask_user`, `lsp` (gopls for `.go`, TypeScript 7's `tsc --lsp` for `.js`/`.ts`), `read_skill` (8 skills), `search_docs` (the Go notes of `.mm/golang-docs`), `fetch_content`, Context7 over MCP (`context7_resolve_library_id`, `context7_query_docs`) | |
| 20 | | Guardrails | mm v2.0.0 settings: `workspace`, `bashBackground: stop`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder` — no hooks | | 22 | | Guardrails | mm v2.0.0 settings: `workspace`, `bashBackground: stop`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder` — no hooks | |
| 21 | | Mode | `yolo: true`: no confirmation before each change | | 23 | | Mode | `yolo: true`: no confirmation before each change | |
| @@ -24,34 +26,34 @@ Rules in the system prompt did not stop any of these. Four **hooks** (Python) tu | |||
| 24 | ## Prerequisites | 26 | ## Prerequisites |
| 25 | 27 | ||
| 26 | ```bash | 28 | ```bash |
| 27 | -llama serve -hf ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0 --ctx-size 131072 # port 9931 (mm's llamacpp default) | 29 | +llama serve -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M --ctx-size 131072 # port 9931 (mm's llamacpp default) |
| 28 | go install golang.org/x/tools/gopls@latest # the lsp tool | 30 | go install golang.org/x/tools/gopls@latest # the lsp tool |
| 29 | npm install -g typescript # lsp for .js/.ts: TypeScript 7's `tsc --lsp` (TS 5/6: typescript-language-server, commented in agent.yaml) | 31 | npm install -g typescript # lsp for .js/.ts: TypeScript 7's `tsc --lsp` (TS 5/6: typescript-language-server, commented in agent.yaml) |
| 30 | go build -o mm . # at the repository root (mm v2.0.0 or later) | 32 | go build -o mm . # at the repository root (mm v2.0.0 or later) |
| 31 | export CONTEXT7_API_KEY=… # optional: Context7 (third-party library docs) | 33 | export CONTEXT7_API_KEY=… # optional: Context7 (third-party library docs) |
| 32 | ``` | 34 | ``` |
| 33 | 35 | ||
| 34 | -`agent.yaml` names `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M`: serve that one (`llama serve -hf LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M --ctx-size 131072`), or change `model:` to the build you serve. Q4_K_M is the choice for a 32 GB machine; it has not been measured with this agent. | 36 | +`agent.yaml` names `unsloth/gpt-oss-20b-GGUF:Q4_K_M`: serve that one, or change `model:` to the build you serve. The settings below the model (sampling, timeouts, guardrails) were tuned with LFM2.5-24B-A2B and have not been re-tuned for gpt-oss. |
| 35 | 37 | ||
| 36 | - **Context size:** start the server with a large `--ctx-size`. `mm init` found this model served with `--ctx-size 4096`. That is unusable for a coding agent: the system prompt and the tool list alone take about 4k tokens. The model accepts 131,072. | 38 | - **Context size:** start the server with a large `--ctx-size`. `mm init` found this model served with `--ctx-size 4096`. That is unusable for a coding agent: the system prompt and the tool list alone take about 4k tokens. The model accepts 131,072. |
| 37 | - **Tooling:** Go 1.22 or later on the `PATH`. | 39 | - **Tooling:** Go 1.22 or later on the `PATH`. |
| 38 | -- **Memory:** about 25.5 GB of weights in Q8_0, which leaves little room on a 32 GB machine once the 131,072-token context is allocated; Q4_K_M takes much less. Neither is measured beyond "it ran on the development machine" (Q8_0). | 40 | +- **Memory (with LFM2.5):** about 25.5 GB of weights in Q8_0, which leaves little room on a 32 GB machine once the 131,072-token context is allocated; Q4_K_M takes much less. Neither is measured beyond "it ran on the development machine" (Q8_0). |
| 39 | - **Context7:** needs `CONTEXT7_API_KEY` and network access to `mcp.context7.com`. Without them the agent starts anyway (`discoveryTimeout: 10s`) and works without the Context7 tools. | 41 | - **Context7:** needs `CONTEXT7_API_KEY` and network access to `mcp.context7.com`. Without them the agent starts anyway (`discoveryTimeout: 10s`) and works without the Context7 tools. |
| 40 | 42 | ||
| 41 | ## Run | 43 | ## Run |
| 42 | 44 | ||
| 43 | -The configuration lives in `demos/lfm-coder/.mm/`: `agent.yaml`, the skills in `skills/` and the Go notes in `golang-docs/`. You can use it in two ways: | 45 | +The configuration lives in `demos/gpt-oss-mini-coder/.mm/`: `agent.yaml`, the skills in `skills/` and the Go notes in `golang-docs/`. You can use it in two ways: |
| 44 | 46 | ||
| 45 | ```bash | 47 | ```bash |
| 46 | # 1. point at it from your Go project (the skill is found next to agent.yaml) | 48 | # 1. point at it from your Go project (the skill is found next to agent.yaml) |
| 47 | cd ~/src/my-go-project | 49 | cd ~/src/my-go-project |
| 48 | -mm -config /path/to/mini-me/demos/lfm-coder/.mm/agent.yaml # REPL | 50 | +mm -config /path/to/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # REPL |
| 49 | -mm -tui -config /path/to/mini-me/demos/lfm-coder/.mm/agent.yaml # single-window terminal | 51 | +mm -tui -config /path/to/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # single-window terminal |
| 50 | -mm -acp -config /path/to/mini-me/demos/lfm-coder/.mm/agent.yaml # in an editor (Zed…) | 52 | +mm -acp -config /path/to/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # in an editor (Zed…) |
| 51 | mm -config …/.mm/agent.yaml -p "Create a REST API for a todo list…" # one request, scripted | 53 | mm -config …/.mm/agent.yaml -p "Create a REST API for a todo list…" # one request, scripted |
| 52 | 54 | ||
| 53 | # 2. or copy the folder into the project, then run plain `mm` there | 55 | # 2. or copy the folder into the project, then run plain `mm` there |
| 54 | -cp -r /path/to/mini-me/demos/lfm-coder/.mm ~/src/my-go-project/ | 56 | +cp -r /path/to/mini-me/demos/gpt-oss-mini-coder/.mm ~/src/my-go-project/ |
| 55 | cd ~/src/my-go-project && mm | 57 | cd ~/src/my-go-project && mm |
| 56 | ``` | 58 | ``` |
| 57 | 59 | ||
| @@ -59,7 +61,7 @@ Both ways were checked (see "Moved into `.mm/`" below). One difference: **the Go | |||
| 59 | 61 | ||
| 60 | **Vibe coding means the agent changes files without asking.** Work in a git repository, or in a sandbox, so that `git diff` shows everything it did and `git checkout .` undoes it. To confirm each change instead, set `AGENT_YOLO=false`. | 62 | **Vibe coding means the agent changes files without asking.** Work in a git repository, or in a sandbox, so that `git diff` shows everything it did and `git checkout .` undoes it. To confirm each change instead, set `AGENT_YOLO=false`. |
| 61 | 63 | ||
| 62 | -The repository's `.gitignore` ignores every `.mm/` folder. To commit this one, force it the way `demos/smollm3-demo/.mm/agent.yaml` was: `git add -f demos/lfm-coder/.mm/agent.yaml demos/lfm-coder/.mm/skills demos/lfm-coder/.mm/golang-docs`. | 64 | +The repository's `.gitignore` ignores every `.mm/` folder. To commit this one, force it the way `demos/smollm3-demo/.mm/agent.yaml` was: `git add -f demos/gpt-oss-mini-coder/.mm/agent.yaml demos/gpt-oss-mini-coder/.mm/skills demos/gpt-oss-mini-coder/.mm/golang-docs`. |
| 63 | 65 | ||
| 64 | ## How it is built, and why | 66 | ## How it is built, and why |
| 65 | 67 | ||
modified
demos/gpt-oss-mini-coder/.mm/README.fr.md +13 -11 | @@ -1,7 +1,9 @@ | ||
| 1 | -# LFM coder — un spécialiste Go pour le vibe coding, avec des garde-fous | |
| 1 | +# gpt-oss mini coder — un spécialiste Go pour le vibe coding, avec des garde-fous | |
| 2 | 2 | |
| 3 | 3 | *[English version](README.en.md)* |
| 4 | 4 | |
| 5 | +> **Travail en cours.** Cet agent est le codeur Go construit d'abord sous le nom `demos/lfm-coder` (retiré) : le même prompt, les mêmes skills, les mêmes notes Go et les garde-fous de mm v2.0.0, maintenant branchés sur **gpt-oss 20b** (`unsloth/gpt-oss-20b-GGUF:Q4_K_M`, `reasoning_effort: low`). Il **n'a pas encore été mesuré avec gpt-oss** : tous les résultats et observations ci-dessous ont été mesurés avec LiquidAI LFM2.5-24B-A2B, et sont gardés comme trace de la construction de cette configuration. | |
| 6 | + | |
| 5 | 7 | Un agent de code pour `mm` qui ne fait **qu'un langage, Go**, et travaille en **mode autonome**. Vous décrivez ce que vous voulez en une phrase ou deux. L'agent écrit le code et ses tests, lance `go vet` et `go test`, corrige ce qui échoue et fait son rapport. Il reprend la méthode et le prompt de [`gemma-coder`](../gemma-coder/), sur un autre modèle : **LiquidAI LFM2.5-24B-A2B**, servi par llama.cpp. |
| 6 | 8 | |
| 7 | 9 | Avec ce modèle, un prompt ne suffisait pas. Ses échecs typiques étaient **silencieux** : |
| @@ -15,7 +17,7 @@ Les règles du prompt système n'ont empêché aucun de ces échecs. Quatre **ho | ||
| 15 | 17 | |
| 16 | 18 | | | | |
| 17 | 19 | |---|---| |
| 18 | -| Modèle | `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M` dans `agent.yaml` (llama.cpp), raisonne toujours (pas d'interrupteur). Toutes les mesures ci-dessous ont été faites avec `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25,5 Go) | | |
| 20 | +| Modèle | `unsloth/gpt-oss-20b-GGUF:Q4_K_M` dans `agent.yaml` (llama.cpp, `reasoning_effort: low`) — pas encore mesuré. Toutes les mesures ci-dessous ont été faites avec `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25,5 Go), le modèle pour lequel cette configuration a été construite | | |
| 19 | 21 | | Outils | `bash`, `read_file`, `write_file`, `edit_file`, `plan`, `ask_user`, `lsp` (gopls pour `.go`, le `tsc --lsp` de TypeScript 7 pour `.js`/`.ts`), `read_skill` (8 skills), `search_docs` (les notes Go de `.mm/golang-docs`), `fetch_content`, Context7 via MCP (`context7_resolve_library_id`, `context7_query_docs`) | |
| 20 | 22 | | Garde-fous | réglages de mm v2.0.0 : `workspace`, `bashBackground: stop`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder` — aucun hook | |
| 21 | 23 | | Mode | `yolo: true` : aucune confirmation avant chaque modification | |
| @@ -24,34 +26,34 @@ Les règles du prompt système n'ont empêché aucun de ces échecs. Quatre **ho | ||
| 24 | 26 | ## Prérequis |
| 25 | 27 | |
| 26 | 28 | ```bash |
| 27 | -llama serve -hf ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0 --ctx-size 131072 # port 9931 (défaut llamacpp de mm) | |
| 29 | +llama serve -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M --ctx-size 131072 # port 9931 (défaut llamacpp de mm) | |
| 28 | 30 | go install golang.org/x/tools/gopls@latest # l'outil lsp |
| 29 | 31 | npm install -g typescript # lsp pour .js/.ts : le `tsc --lsp` de TypeScript 7 (TS 5/6 : typescript-language-server, en commentaire dans agent.yaml) |
| 30 | 32 | go build -o mm . # à la racine du dépôt (mm v2.0.0 ou plus récent) |
| 31 | 33 | export CONTEXT7_API_KEY=… # facultatif : Context7 (doc des bibliothèques tierces) |
| 32 | 34 | ``` |
| 33 | 35 | |
| 34 | -`agent.yaml` nomme `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M` : servez celui-là (`llama serve -hf LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M --ctx-size 131072`), ou changez `model:` pour la version que vous servez. Q4_K_M est le choix pour une machine de 32 Go ; il n'a pas été mesuré avec cet agent. | |
| 36 | +`agent.yaml` nomme `unsloth/gpt-oss-20b-GGUF:Q4_K_M` : servez celui-là, ou changez `model:` pour la version que vous servez. Les réglages qui suivent le modèle (échantillonnage, délais, garde-fous) ont été ajustés avec LFM2.5-24B-A2B et pas encore revus pour gpt-oss. | |
| 35 | 37 | |
| 36 | 38 | - **Taille du contexte :** lancez le serveur avec un grand `--ctx-size`. `mm init` a trouvé ce modèle servi avec `--ctx-size 4096`. C'est inutilisable pour un agent de code : le prompt système et la liste des outils prennent déjà environ 4k tokens. Le modèle accepte 131 072. |
| 37 | 39 | - **Outillage :** Go 1.22 ou plus dans le `PATH`. |
| 38 | -- **Mémoire :** environ 25,5 Go de poids en Q8_0, ce qui laisse peu de place sur une machine de 32 Go une fois le contexte de 131 072 tokens alloué ; Q4_K_M prend beaucoup moins. Ni l'un ni l'autre n'est mesuré au-delà de « ça a tourné sur la machine de développement » (Q8_0). | |
| 40 | +- **Mémoire (avec LFM2.5) :** environ 25,5 Go de poids en Q8_0, ce qui laisse peu de place sur une machine de 32 Go une fois le contexte de 131 072 tokens alloué ; Q4_K_M prend beaucoup moins. Ni l'un ni l'autre n'est mesuré au-delà de « ça a tourné sur la machine de développement » (Q8_0). | |
| 39 | 41 | - **Context7 :** il faut `CONTEXT7_API_KEY` et un accès réseau à `mcp.context7.com`. Sans eux, l'agent démarre quand même (`discoveryTimeout: 10s`) et travaille sans les outils Context7. |
| 40 | 42 | |
| 41 | 43 | ## Lancer |
| 42 | 44 | |
| 43 | -La configuration est dans `demos/lfm-coder/.mm/` : `agent.yaml`, les skills dans `skills/` et les notes Go dans `golang-docs/`. Deux façons de l'utiliser : | |
| 45 | +La configuration est dans `demos/gpt-oss-mini-coder/.mm/` : `agent.yaml`, les skills dans `skills/` et les notes Go dans `golang-docs/`. Deux façons de l'utiliser : | |
| 44 | 46 | |
| 45 | 47 | ```bash |
| 46 | 48 | # 1. la désigner depuis votre projet Go (la skill est trouvée à côté d'agent.yaml) |
| 47 | 49 | cd ~/src/mon-projet-go |
| 48 | -mm -config /chemin/vers/mini-me/demos/lfm-coder/.mm/agent.yaml # REPL | |
| 49 | -mm -tui -config /chemin/vers/mini-me/demos/lfm-coder/.mm/agent.yaml # terminal à fenêtre unique | |
| 50 | -mm -acp -config /chemin/vers/mini-me/demos/lfm-coder/.mm/agent.yaml # dans un éditeur (Zed…) | |
| 50 | +mm -config /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # REPL | |
| 51 | +mm -tui -config /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # terminal à fenêtre unique | |
| 52 | +mm -acp -config /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # dans un éditeur (Zed…) | |
| 51 | 53 | mm -config …/.mm/agent.yaml -p "Crée une API REST pour une liste de tâches…" # une requête, en script |
| 52 | 54 | |
| 53 | 55 | # 2. ou copier le dossier dans le projet, puis lancer simplement `mm` |
| 54 | -cp -r /chemin/vers/mini-me/demos/lfm-coder/.mm ~/src/mon-projet-go/ | |
| 56 | +cp -r /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm ~/src/mon-projet-go/ | |
| 55 | 57 | cd ~/src/mon-projet-go && mm |
| 56 | 58 | ``` |
| 57 | 59 | |
| @@ -59,7 +61,7 @@ Les deux façons ont été vérifiées (voir « Déplacé dans `.mm/` » plus ba | ||
| 59 | 61 | |
| 60 | 62 | **Le vibe coding signifie que l'agent modifie les fichiers sans demander.** Travaillez dans un dépôt git, ou dans un bac à sable : `git diff` montre alors tout ce qu'il a fait, et `git checkout .` l'annule. Pour confirmer chaque modification, mettez `AGENT_YOLO=false`. |
| 61 | 63 | |
| 62 | -Le `.gitignore` du dépôt ignore tous les dossiers `.mm/`. Pour commiter celui-ci, forcez l'ajout comme pour `demos/smollm3-demo/.mm/agent.yaml` : `git add -f demos/lfm-coder/.mm/agent.yaml demos/lfm-coder/.mm/skills demos/lfm-coder/.mm/golang-docs`. | |
| 64 | +Le `.gitignore` du dépôt ignore tous les dossiers `.mm/`. Pour commiter celui-ci, forcez l'ajout comme pour `demos/smollm3-demo/.mm/agent.yaml` : `git add -f demos/gpt-oss-mini-coder/.mm/agent.yaml demos/gpt-oss-mini-coder/.mm/skills demos/gpt-oss-mini-coder/.mm/golang-docs`. | |
| 63 | 65 | |
| 64 | 66 | ## Comment il est construit, et pourquoi |
| 65 | 67 | |
| @@ -1,7 +1,9 @@ | |||
| 1 | -# LFM coder — un spécialiste Go pour le vibe coding, avec des garde-fous | 1 | +# gpt-oss mini coder — un spécialiste Go pour le vibe coding, avec des garde-fous |
| 2 | 2 | ||
| 3 | *[English version](README.en.md)* | 3 | *[English version](README.en.md)* |
| 4 | 4 | ||
| 5 | +> **Travail en cours.** Cet agent est le codeur Go construit d'abord sous le nom `demos/lfm-coder` (retiré) : le même prompt, les mêmes skills, les mêmes notes Go et les garde-fous de mm v2.0.0, maintenant branchés sur **gpt-oss 20b** (`unsloth/gpt-oss-20b-GGUF:Q4_K_M`, `reasoning_effort: low`). Il **n'a pas encore été mesuré avec gpt-oss** : tous les résultats et observations ci-dessous ont été mesurés avec LiquidAI LFM2.5-24B-A2B, et sont gardés comme trace de la construction de cette configuration. | ||
| 6 | + | ||
| 5 | Un agent de code pour `mm` qui ne fait **qu'un langage, Go**, et travaille en **mode autonome**. Vous décrivez ce que vous voulez en une phrase ou deux. L'agent écrit le code et ses tests, lance `go vet` et `go test`, corrige ce qui échoue et fait son rapport. Il reprend la méthode et le prompt de [`gemma-coder`](../gemma-coder/), sur un autre modèle : **LiquidAI LFM2.5-24B-A2B**, servi par llama.cpp. | 7 | Un agent de code pour `mm` qui ne fait **qu'un langage, Go**, et travaille en **mode autonome**. Vous décrivez ce que vous voulez en une phrase ou deux. L'agent écrit le code et ses tests, lance `go vet` et `go test`, corrige ce qui échoue et fait son rapport. Il reprend la méthode et le prompt de [`gemma-coder`](../gemma-coder/), sur un autre modèle : **LiquidAI LFM2.5-24B-A2B**, servi par llama.cpp. |
| 6 | 8 | ||
| 7 | Avec ce modèle, un prompt ne suffisait pas. Ses échecs typiques étaient **silencieux** : | 9 | Avec ce modèle, un prompt ne suffisait pas. Ses échecs typiques étaient **silencieux** : |
| @@ -15,7 +17,7 @@ Les règles du prompt système n'ont empêché aucun de ces échecs. Quatre **ho | |||
| 15 | 17 | ||
| 16 | | | | | 18 | | | | |
| 17 | |---|---| | 19 | |---|---| |
| 18 | -| Modèle | `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M` dans `agent.yaml` (llama.cpp), raisonne toujours (pas d'interrupteur). Toutes les mesures ci-dessous ont été faites avec `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25,5 Go) | | 20 | +| Modèle | `unsloth/gpt-oss-20b-GGUF:Q4_K_M` dans `agent.yaml` (llama.cpp, `reasoning_effort: low`) — pas encore mesuré. Toutes les mesures ci-dessous ont été faites avec `ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0` (25,5 Go), le modèle pour lequel cette configuration a été construite | |
| 19 | | Outils | `bash`, `read_file`, `write_file`, `edit_file`, `plan`, `ask_user`, `lsp` (gopls pour `.go`, le `tsc --lsp` de TypeScript 7 pour `.js`/`.ts`), `read_skill` (8 skills), `search_docs` (les notes Go de `.mm/golang-docs`), `fetch_content`, Context7 via MCP (`context7_resolve_library_id`, `context7_query_docs`) | | 21 | | Outils | `bash`, `read_file`, `write_file`, `edit_file`, `plan`, `ask_user`, `lsp` (gopls pour `.go`, le `tsc --lsp` de TypeScript 7 pour `.js`/`.ts`), `read_skill` (8 skills), `search_docs` (les notes Go de `.mm/golang-docs`), `fetch_content`, Context7 via MCP (`context7_resolve_library_id`, `context7_query_docs`) | |
| 20 | | Garde-fous | réglages de mm v2.0.0 : `workspace`, `bashBackground: stop`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder` — aucun hook | | 22 | | Garde-fous | réglages de mm v2.0.0 : `workspace`, `bashBackground: stop`, `lsp.diagnosticsAfterEdit` / `AfterRead`, `turnReminder` — aucun hook | |
| 21 | | Mode | `yolo: true` : aucune confirmation avant chaque modification | | 23 | | Mode | `yolo: true` : aucune confirmation avant chaque modification | |
| @@ -24,34 +26,34 @@ Les règles du prompt système n'ont empêché aucun de ces échecs. Quatre **ho | |||
| 24 | ## Prérequis | 26 | ## Prérequis |
| 25 | 27 | ||
| 26 | ```bash | 28 | ```bash |
| 27 | -llama serve -hf ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0 --ctx-size 131072 # port 9931 (défaut llamacpp de mm) | 29 | +llama serve -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M --ctx-size 131072 # port 9931 (défaut llamacpp de mm) |
| 28 | go install golang.org/x/tools/gopls@latest # l'outil lsp | 30 | go install golang.org/x/tools/gopls@latest # l'outil lsp |
| 29 | npm install -g typescript # lsp pour .js/.ts : le `tsc --lsp` de TypeScript 7 (TS 5/6 : typescript-language-server, en commentaire dans agent.yaml) | 31 | npm install -g typescript # lsp pour .js/.ts : le `tsc --lsp` de TypeScript 7 (TS 5/6 : typescript-language-server, en commentaire dans agent.yaml) |
| 30 | go build -o mm . # à la racine du dépôt (mm v2.0.0 ou plus récent) | 32 | go build -o mm . # à la racine du dépôt (mm v2.0.0 ou plus récent) |
| 31 | export CONTEXT7_API_KEY=… # facultatif : Context7 (doc des bibliothèques tierces) | 33 | export CONTEXT7_API_KEY=… # facultatif : Context7 (doc des bibliothèques tierces) |
| 32 | ``` | 34 | ``` |
| 33 | 35 | ||
| 34 | -`agent.yaml` nomme `LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M` : servez celui-là (`llama serve -hf LiquidAI/LFM2.5-24B-A2B-GGUF:Q4_K_M --ctx-size 131072`), ou changez `model:` pour la version que vous servez. Q4_K_M est le choix pour une machine de 32 Go ; il n'a pas été mesuré avec cet agent. | 36 | +`agent.yaml` nomme `unsloth/gpt-oss-20b-GGUF:Q4_K_M` : servez celui-là, ou changez `model:` pour la version que vous servez. Les réglages qui suivent le modèle (échantillonnage, délais, garde-fous) ont été ajustés avec LFM2.5-24B-A2B et pas encore revus pour gpt-oss. |
| 35 | 37 | ||
| 36 | - **Taille du contexte :** lancez le serveur avec un grand `--ctx-size`. `mm init` a trouvé ce modèle servi avec `--ctx-size 4096`. C'est inutilisable pour un agent de code : le prompt système et la liste des outils prennent déjà environ 4k tokens. Le modèle accepte 131 072. | 38 | - **Taille du contexte :** lancez le serveur avec un grand `--ctx-size`. `mm init` a trouvé ce modèle servi avec `--ctx-size 4096`. C'est inutilisable pour un agent de code : le prompt système et la liste des outils prennent déjà environ 4k tokens. Le modèle accepte 131 072. |
| 37 | - **Outillage :** Go 1.22 ou plus dans le `PATH`. | 39 | - **Outillage :** Go 1.22 ou plus dans le `PATH`. |
| 38 | -- **Mémoire :** environ 25,5 Go de poids en Q8_0, ce qui laisse peu de place sur une machine de 32 Go une fois le contexte de 131 072 tokens alloué ; Q4_K_M prend beaucoup moins. Ni l'un ni l'autre n'est mesuré au-delà de « ça a tourné sur la machine de développement » (Q8_0). | 40 | +- **Mémoire (avec LFM2.5) :** environ 25,5 Go de poids en Q8_0, ce qui laisse peu de place sur une machine de 32 Go une fois le contexte de 131 072 tokens alloué ; Q4_K_M prend beaucoup moins. Ni l'un ni l'autre n'est mesuré au-delà de « ça a tourné sur la machine de développement » (Q8_0). |
| 39 | - **Context7 :** il faut `CONTEXT7_API_KEY` et un accès réseau à `mcp.context7.com`. Sans eux, l'agent démarre quand même (`discoveryTimeout: 10s`) et travaille sans les outils Context7. | 41 | - **Context7 :** il faut `CONTEXT7_API_KEY` et un accès réseau à `mcp.context7.com`. Sans eux, l'agent démarre quand même (`discoveryTimeout: 10s`) et travaille sans les outils Context7. |
| 40 | 42 | ||
| 41 | ## Lancer | 43 | ## Lancer |
| 42 | 44 | ||
| 43 | -La configuration est dans `demos/lfm-coder/.mm/` : `agent.yaml`, les skills dans `skills/` et les notes Go dans `golang-docs/`. Deux façons de l'utiliser : | 45 | +La configuration est dans `demos/gpt-oss-mini-coder/.mm/` : `agent.yaml`, les skills dans `skills/` et les notes Go dans `golang-docs/`. Deux façons de l'utiliser : |
| 44 | 46 | ||
| 45 | ```bash | 47 | ```bash |
| 46 | # 1. la désigner depuis votre projet Go (la skill est trouvée à côté d'agent.yaml) | 48 | # 1. la désigner depuis votre projet Go (la skill est trouvée à côté d'agent.yaml) |
| 47 | cd ~/src/mon-projet-go | 49 | cd ~/src/mon-projet-go |
| 48 | -mm -config /chemin/vers/mini-me/demos/lfm-coder/.mm/agent.yaml # REPL | 50 | +mm -config /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # REPL |
| 49 | -mm -tui -config /chemin/vers/mini-me/demos/lfm-coder/.mm/agent.yaml # terminal à fenêtre unique | 51 | +mm -tui -config /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # terminal à fenêtre unique |
| 50 | -mm -acp -config /chemin/vers/mini-me/demos/lfm-coder/.mm/agent.yaml # dans un éditeur (Zed…) | 52 | +mm -acp -config /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm/agent.yaml # dans un éditeur (Zed…) |
| 51 | mm -config …/.mm/agent.yaml -p "Crée une API REST pour une liste de tâches…" # une requête, en script | 53 | mm -config …/.mm/agent.yaml -p "Crée une API REST pour une liste de tâches…" # une requête, en script |
| 52 | 54 | ||
| 53 | # 2. ou copier le dossier dans le projet, puis lancer simplement `mm` | 55 | # 2. ou copier le dossier dans le projet, puis lancer simplement `mm` |
| 54 | -cp -r /chemin/vers/mini-me/demos/lfm-coder/.mm ~/src/mon-projet-go/ | 56 | +cp -r /chemin/vers/mini-me/demos/gpt-oss-mini-coder/.mm ~/src/mon-projet-go/ |
| 55 | cd ~/src/mon-projet-go && mm | 57 | cd ~/src/mon-projet-go && mm |
| 56 | ``` | 58 | ``` |
| 57 | 59 | ||
| @@ -59,7 +61,7 @@ Les deux façons ont été vérifiées (voir « Déplacé dans `.mm/` » plus ba | |||
| 59 | 61 | ||
| 60 | **Le vibe coding signifie que l'agent modifie les fichiers sans demander.** Travaillez dans un dépôt git, ou dans un bac à sable : `git diff` montre alors tout ce qu'il a fait, et `git checkout .` l'annule. Pour confirmer chaque modification, mettez `AGENT_YOLO=false`. | 62 | **Le vibe coding signifie que l'agent modifie les fichiers sans demander.** Travaillez dans un dépôt git, ou dans un bac à sable : `git diff` montre alors tout ce qu'il a fait, et `git checkout .` l'annule. Pour confirmer chaque modification, mettez `AGENT_YOLO=false`. |
| 61 | 63 | ||
| 62 | -Le `.gitignore` du dépôt ignore tous les dossiers `.mm/`. Pour commiter celui-ci, forcez l'ajout comme pour `demos/smollm3-demo/.mm/agent.yaml` : `git add -f demos/lfm-coder/.mm/agent.yaml demos/lfm-coder/.mm/skills demos/lfm-coder/.mm/golang-docs`. | 64 | +Le `.gitignore` du dépôt ignore tous les dossiers `.mm/`. Pour commiter celui-ci, forcez l'ajout comme pour `demos/smollm3-demo/.mm/agent.yaml` : `git add -f demos/gpt-oss-mini-coder/.mm/agent.yaml demos/gpt-oss-mini-coder/.mm/skills demos/gpt-oss-mini-coder/.mm/golang-docs`. |
| 63 | 65 | ||
| 64 | ## Comment il est construit, et pourquoi | 66 | ## Comment il est construit, et pourquoi |
| 65 | 67 | ||
modified
demos/gpt-oss-mini-coder/.mm/agent.yaml +10 -13 | @@ -1,19 +1,16 @@ | ||
| 1 | -# LFM coder — a Go specialist for vibe coding, on LiquidAI LFM2.5-24B-A2B. | |
| 1 | +# gpt-oss mini coder — a Go specialist for vibe coding. WORK IN PROGRESS. | |
| 2 | 2 | # |
| 3 | 3 | # The method and the prompt of demos/gemma-coder, fitted to another model: |
| 4 | 4 | # you describe what you want, the agent writes the code and its tests, runs |
| 5 | 5 | # them, fixes what fails, and reports. |
| 6 | 6 | # |
| 7 | -# LFM2.5-24B-A2B, Q8_0, served by llama.cpp (25.5 GB). | |
| 8 | -# - a mixture of experts: 24B parameters, 64 experts, 4 used per token | |
| 9 | -# (~2B active) → very fast for its size; | |
| 10 | -# - hybrid architecture (lfm2moe, 40 layers); 131,072-token window; | |
| 11 | -# - a pure reasoning model: it ALWAYS thinks (<think>) before it answers; | |
| 12 | -# its template has no switch to turn that off; | |
| 13 | -# - tool calls written as Python calls between <|tool_call_start|> and | |
| 14 | -# <|tool_call_end|>, parsed by llama.cpp. | |
| 7 | +# This setup was built and measured as demos/lfm-coder on LiquidAI | |
| 8 | +# LFM2.5-24B-A2B (Q8_0, llama.cpp, 25.5 GB): the reasons behind each setting | |
| 9 | +# and the measured results are in README.en.md. It now points at gpt-oss 20b | |
| 10 | +# (unsloth/gpt-oss-20b-GGUF:Q4_K_M, reasoning_effort: low), NOT measured yet; | |
| 11 | +# the comments below the model may still describe LFM2.5. | |
| 15 | 12 | # |
| 16 | -# llama serve -hf ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0 --ctx-size 131072 | |
| 13 | +# llama serve -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M --ctx-size 131072 | |
| 17 | 14 | # (mm init's default server was started with --ctx-size 4096: far too |
| 18 | 15 | # small, the system prompt and the tool list alone take ~4k tokens) |
| 19 | 16 | # |
| @@ -24,14 +21,14 @@ | ||
| 24 | 21 | # mm built from the feature/guardrails branch (v2.0.0): the guardrails |
| 25 | 22 | # below replaced the Python hooks this agent used to need. |
| 26 | 23 | # |
| 27 | -# This file and its skill live in demos/lfm-coder/.mm/. Either copy the | |
| 24 | +# This file and its skills live in demos/gpt-oss-mini-coder/.mm/. Either copy the | |
| 28 | 25 | # whole .mm/ folder into your Go project and run `mm` there, or point at |
| 29 | 26 | # this one from the project (the skill is then found next to this file): |
| 30 | 27 | # |
| 31 | 28 | # cd ~/src/my-go-project |
| 32 | -# mm -config /path/to/demos/lfm-coder/.mm/agent.yaml | |
| 29 | +# mm -config /path/to/demos/gpt-oss-mini-coder/.mm/agent.yaml | |
| 33 | 30 | # |
| 34 | -# Measured results and the reasons behind each setting: ../README.en.md. | |
| 31 | +# Measured results (LFM2.5) and the reasons behind each setting: README.en.md. | |
| 35 | 32 | # Every key is optional; reference: docs/en/reference/configuration.md. |
| 36 | 33 | |
| 37 | 34 | # ─── Model and server ──────────────────────────────────────────────────────── |
| @@ -1,19 +1,16 @@ | |||
| 1 | -# LFM coder — a Go specialist for vibe coding, on LiquidAI LFM2.5-24B-A2B. | 1 | +# gpt-oss mini coder — a Go specialist for vibe coding. WORK IN PROGRESS. |
| 2 | # | 2 | # |
| 3 | # The method and the prompt of demos/gemma-coder, fitted to another model: | 3 | # The method and the prompt of demos/gemma-coder, fitted to another model: |
| 4 | # you describe what you want, the agent writes the code and its tests, runs | 4 | # you describe what you want, the agent writes the code and its tests, runs |
| 5 | # them, fixes what fails, and reports. | 5 | # them, fixes what fails, and reports. |
| 6 | # | 6 | # |
| 7 | -# LFM2.5-24B-A2B, Q8_0, served by llama.cpp (25.5 GB). | 7 | +# This setup was built and measured as demos/lfm-coder on LiquidAI |
| 8 | -# - a mixture of experts: 24B parameters, 64 experts, 4 used per token | 8 | +# LFM2.5-24B-A2B (Q8_0, llama.cpp, 25.5 GB): the reasons behind each setting |
| 9 | -# (~2B active) → very fast for its size; | 9 | +# and the measured results are in README.en.md. It now points at gpt-oss 20b |
| 10 | -# - hybrid architecture (lfm2moe, 40 layers); 131,072-token window; | 10 | +# (unsloth/gpt-oss-20b-GGUF:Q4_K_M, reasoning_effort: low), NOT measured yet; |
| 11 | -# - a pure reasoning model: it ALWAYS thinks (<think>) before it answers; | 11 | +# the comments below the model may still describe LFM2.5. |
| 12 | -# its template has no switch to turn that off; | ||
| 13 | -# - tool calls written as Python calls between <|tool_call_start|> and | ||
| 14 | -# <|tool_call_end|>, parsed by llama.cpp. | ||
| 15 | # | 12 | # |
| 16 | -# llama serve -hf ggml-org/LFM2.5-24B-A2B-GGUF:Q8_0 --ctx-size 131072 | 13 | +# llama serve -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M --ctx-size 131072 |
| 17 | # (mm init's default server was started with --ctx-size 4096: far too | 14 | # (mm init's default server was started with --ctx-size 4096: far too |
| 18 | # small, the system prompt and the tool list alone take ~4k tokens) | 15 | # small, the system prompt and the tool list alone take ~4k tokens) |
| 19 | # | 16 | # |
| @@ -24,14 +21,14 @@ | |||
| 24 | # mm built from the feature/guardrails branch (v2.0.0): the guardrails | 21 | # mm built from the feature/guardrails branch (v2.0.0): the guardrails |
| 25 | # below replaced the Python hooks this agent used to need. | 22 | # below replaced the Python hooks this agent used to need. |
| 26 | # | 23 | # |
| 27 | -# This file and its skill live in demos/lfm-coder/.mm/. Either copy the | 24 | +# This file and its skills live in demos/gpt-oss-mini-coder/.mm/. Either copy the |
| 28 | # whole .mm/ folder into your Go project and run `mm` there, or point at | 25 | # whole .mm/ folder into your Go project and run `mm` there, or point at |
| 29 | # this one from the project (the skill is then found next to this file): | 26 | # this one from the project (the skill is then found next to this file): |
| 30 | # | 27 | # |
| 31 | # cd ~/src/my-go-project | 28 | # cd ~/src/my-go-project |
| 32 | -# mm -config /path/to/demos/lfm-coder/.mm/agent.yaml | 29 | +# mm -config /path/to/demos/gpt-oss-mini-coder/.mm/agent.yaml |
| 33 | # | 30 | # |
| 34 | -# Measured results and the reasons behind each setting: ../README.en.md. | 31 | +# Measured results (LFM2.5) and the reasons behind each setting: README.en.md. |
| 35 | # Every key is optional; reference: docs/en/reference/configuration.md. | 32 | # Every key is optional; reference: docs/en/reference/configuration.md. |
| 36 | 33 | ||
| 37 | # ─── Model and server ──────────────────────────────────────────────────────── | 34 | # ─── Model and server ──────────────────────────────────────────────────────── |
modified
docs/en/explanation/struggling-models.md +1 -1 | @@ -20,7 +20,7 @@ Struggle signals (ticket 153) make the same detections visible to the **user**, | ||
| 20 | 20 | |
| 21 | 21 | **A cancelled turn is not a struggle.** Esc, Ctrl-C or `/abort` end a turn on the user's request; reporting `stalled` or `max turns` then would blame the model for the user's choice. |
| 22 | 22 | |
| 23 | -**Silent failures, handed back once** (v2.0.0). Measuring small coding models (`demos/lfm-coder`, `demos/olala-mini`, `demos/mellum2`) showed failures that ended a turn without a word: a reply cut mid-reasoning at the token limit, a reasoning that repeated one sentence until the limit, a final answer saying "Done." after the last edit had been refused. mm knows each of these for certain — the server's finish reason, the stream it reads, the outcome of its own tools — so it does not guess from the answer's wording. Where the model can still recover, the reply is handed back **once** with a note saying what happened; if the same thing happens again, the turn ends and a signal says why, naming the setting to change when there is one. | |
| 23 | +**Silent failures, handed back once** (v2.0.0). Measuring small coding models (LFM2.5-24B-A2B in `demos/lfm-coder`, now `demos/gpt-oss-mini-coder`; `demos/olala-mini`; `demos/mellum2`) showed failures that ended a turn without a word: a reply cut mid-reasoning at the token limit, a reasoning that repeated one sentence until the limit, a final answer saying "Done." after the last edit had been refused. mm knows each of these for certain — the server's finish reason, the stream it reads, the outcome of its own tools — so it does not guess from the answer's wording. Where the model can still recover, the reply is handed back **once** with a note saying what happened; if the same thing happens again, the turn ends and a signal says why, naming the setting to change when there is one. | |
| 24 | 24 | |
| 25 | 25 | **Repairs before refusals.** Some mistakes can only mean one thing: `"true"` for `true`, `old_text` for `old`, a path with a directory missing. mm repairs them and says so in the tool output, rather than refusing and hoping the model fixes them — refusals that quote the right path were measured to make a small model loop. See [tools](../reference/tools.md#arguments-that-do-not-match-a-tools-schema) and [`workspace`](../reference/configuration.md#workspace-keys). |
| 26 | 26 | |
| @@ -20,7 +20,7 @@ Struggle signals (ticket 153) make the same detections visible to the **user**, | |||
| 20 | 20 | ||
| 21 | **A cancelled turn is not a struggle.** Esc, Ctrl-C or `/abort` end a turn on the user's request; reporting `stalled` or `max turns` then would blame the model for the user's choice. | 21 | **A cancelled turn is not a struggle.** Esc, Ctrl-C or `/abort` end a turn on the user's request; reporting `stalled` or `max turns` then would blame the model for the user's choice. |
| 22 | 22 | ||
| 23 | -**Silent failures, handed back once** (v2.0.0). Measuring small coding models (`demos/lfm-coder`, `demos/olala-mini`, `demos/mellum2`) showed failures that ended a turn without a word: a reply cut mid-reasoning at the token limit, a reasoning that repeated one sentence until the limit, a final answer saying "Done." after the last edit had been refused. mm knows each of these for certain — the server's finish reason, the stream it reads, the outcome of its own tools — so it does not guess from the answer's wording. Where the model can still recover, the reply is handed back **once** with a note saying what happened; if the same thing happens again, the turn ends and a signal says why, naming the setting to change when there is one. | 23 | +**Silent failures, handed back once** (v2.0.0). Measuring small coding models (LFM2.5-24B-A2B in `demos/lfm-coder`, now `demos/gpt-oss-mini-coder`; `demos/olala-mini`; `demos/mellum2`) showed failures that ended a turn without a word: a reply cut mid-reasoning at the token limit, a reasoning that repeated one sentence until the limit, a final answer saying "Done." after the last edit had been refused. mm knows each of these for certain — the server's finish reason, the stream it reads, the outcome of its own tools — so it does not guess from the answer's wording. Where the model can still recover, the reply is handed back **once** with a note saying what happened; if the same thing happens again, the turn ends and a signal says why, naming the setting to change when there is one. |
| 24 | 24 | ||
| 25 | **Repairs before refusals.** Some mistakes can only mean one thing: `"true"` for `true`, `old_text` for `old`, a path with a directory missing. mm repairs them and says so in the tool output, rather than refusing and hoping the model fixes them — refusals that quote the right path were measured to make a small model loop. See [tools](../reference/tools.md#arguments-that-do-not-match-a-tools-schema) and [`workspace`](../reference/configuration.md#workspace-keys). | 25 | **Repairs before refusals.** Some mistakes can only mean one thing: `"true"` for `true`, `old_text` for `old`, a path with a directory missing. mm repairs them and says so in the tool output, rather than refusing and hoping the model fixes them — refusals that quote the right path were measured to make a small model loop. See [tools](../reference/tools.md#arguments-that-do-not-match-a-tools-schema) and [`workspace`](../reference/configuration.md#workspace-keys). |
| 26 | 26 | ||
modified
docs/en/reference/configuration.md +1 -1 | @@ -25,7 +25,7 @@ Where `mm` looks for this file: [Configuration file resolution](cli.md#configura | ||
| 25 | 25 | | `showSpeed` | bool | `true` | The model's generation speed in tokens per second. Window mode: `⚡ ~58 tok/s` in the status bar while a model call streams (an estimate, refreshed every half second), then `⚡ 59.9 tok/s`, the turn's average, until the next answer starts. The turn's average is its tokens over the time the model spent generating them: the tools' run time and the prompt reading are left out. Source: the server's own `timings` when it sends them (llama-server, MLX-Serve), otherwise measured by mm from the first streamed token to the last. Editor (ACP): each finished call and turn goes in a `usage_update`'s `_meta.mm` (`tokensPerSecond`, `scope` `call` or `turn`, `source` `server` or `measured`), which a client that does not know the key ignores. The line mode shows nothing. `false` turns it off. | |
| 26 | 26 | | `system` | string | built-in prompt | The system prompt, first message of every history. Three variables are replaced each time a conversation starts (a new session, `/new`, a resumed one — not before every question, so the server's prompt cache holds): `{{date}}` today's date, `YYYY-MM-DD`, local time; `{{cwd}}` the directory the conversation works in (over ACP, the session's own); `{{env.NAME}}` the variable NAME — unset, replaced by nothing, with a banner warning; `{{config.NAME}}` the value NAME of the `variables` section. A NAME that looks like a secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`, `…CREDENTIALS…`) is a configuration error: the prompt goes to the model, the sessions and the traces. Spaces inside the braces are allowed (`{{ date }}`). Any other `{{…}}` is left as written; `\{{date}}` writes `{{date}}`. Not replaced in AGENTS.md. A session that crosses midnight keeps its date until `/new`. | |
| 27 | 27 | | `variables` | map name → string | none | The file's own values for the system prompt, used there as `{{config.NAME}}`. A value may hold `{{date}}`, `{{cwd}}` and `{{env.NAME}}` (expanded, the same secret check), not another `{{config.…}}`. Names: letters, digits, `_` and `-`, not starting with a digit. A `{{config.NAME}}` the section does not have is a configuration error. Example: `variables: {project: "mini-me, a coding agent written in Go"}`, then `You help with {{config.project}}.` in `system`. | |
| 28 | -| `turnReminder` | string | `""` | A text appended to every question the model reads, under a `[reminder]` line, after the `preGeneration` hooks, in every front end (line mode, window, `-p`, editor). Kept in the history, like a hook's context; a question recalled with ↑ comes back without it. For a small model, a rule placed next to the question is followed more often than the same rule in the system prompt: measured in `demos/lfm-coder`, a rule asking it to call `ask_user` when a decision is missing was followed 0 times out of 5 from the system prompt, and 3 out of 3 next to the question with the exact call shape. Empty = none. | | |
| 28 | +| `turnReminder` | string | `""` | A text appended to every question the model reads, under a `[reminder]` line, after the `preGeneration` hooks, in every front end (line mode, window, `-p`, editor). Kept in the history, like a hook's context; a question recalled with ↑ comes back without it. For a small model, a rule placed next to the question is followed more often than the same rule in the system prompt: measured with LFM2.5-24B-A2B in the Go coder now in `demos/gpt-oss-mini-coder` (first built as `demos/lfm-coder`), a rule asking it to call `ask_user` when a decision is missing was followed 0 times out of 5 from the system prompt, and 3 out of 3 next to the question with the exact call shape. Empty = none. | | |
| 29 | 29 | | `structuredOutput` | string (Go declarations) | `""` | The shape every answer must follow, as JSON: Go `type` declarations and one `var` naming the root of the answer. See [`structuredOutput`](#structuredoutput) below. Empty = free-text answers. Incompatible with any declared tool. | |
| 30 | 30 | | `decision` | mapping or absent | absent | Makes the agent a **decider**: its model is a decision model served by `POST /v1/systemone`, and every message it receives is answered with these questions. See [`decision`](#decision) below. Providers `llamacpp`, `llmman`, `ollama`, `openai` only. | |
| 31 | 31 | | `skillRouting` | mapping | `minConfidence: 0.6`, `timeout: 2s`, no `decider` | Before each turn, ask a decider which skill applies, and append the `$skill` line when it is confident enough. See [`skillRouting`](#skillrouting) below. Off without a `decider`. | |
| @@ -25,7 +25,7 @@ Where `mm` looks for this file: [Configuration file resolution](cli.md#configura | |||
| 25 | | `showSpeed` | bool | `true` | The model's generation speed in tokens per second. Window mode: `⚡ ~58 tok/s` in the status bar while a model call streams (an estimate, refreshed every half second), then `⚡ 59.9 tok/s`, the turn's average, until the next answer starts. The turn's average is its tokens over the time the model spent generating them: the tools' run time and the prompt reading are left out. Source: the server's own `timings` when it sends them (llama-server, MLX-Serve), otherwise measured by mm from the first streamed token to the last. Editor (ACP): each finished call and turn goes in a `usage_update`'s `_meta.mm` (`tokensPerSecond`, `scope` `call` or `turn`, `source` `server` or `measured`), which a client that does not know the key ignores. The line mode shows nothing. `false` turns it off. | | 25 | | `showSpeed` | bool | `true` | The model's generation speed in tokens per second. Window mode: `⚡ ~58 tok/s` in the status bar while a model call streams (an estimate, refreshed every half second), then `⚡ 59.9 tok/s`, the turn's average, until the next answer starts. The turn's average is its tokens over the time the model spent generating them: the tools' run time and the prompt reading are left out. Source: the server's own `timings` when it sends them (llama-server, MLX-Serve), otherwise measured by mm from the first streamed token to the last. Editor (ACP): each finished call and turn goes in a `usage_update`'s `_meta.mm` (`tokensPerSecond`, `scope` `call` or `turn`, `source` `server` or `measured`), which a client that does not know the key ignores. The line mode shows nothing. `false` turns it off. | |
| 26 | | `system` | string | built-in prompt | The system prompt, first message of every history. Three variables are replaced each time a conversation starts (a new session, `/new`, a resumed one — not before every question, so the server's prompt cache holds): `{{date}}` today's date, `YYYY-MM-DD`, local time; `{{cwd}}` the directory the conversation works in (over ACP, the session's own); `{{env.NAME}}` the variable NAME — unset, replaced by nothing, with a banner warning; `{{config.NAME}}` the value NAME of the `variables` section. A NAME that looks like a secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`, `…CREDENTIALS…`) is a configuration error: the prompt goes to the model, the sessions and the traces. Spaces inside the braces are allowed (`{{ date }}`). Any other `{{…}}` is left as written; `\{{date}}` writes `{{date}}`. Not replaced in AGENTS.md. A session that crosses midnight keeps its date until `/new`. | | 26 | | `system` | string | built-in prompt | The system prompt, first message of every history. Three variables are replaced each time a conversation starts (a new session, `/new`, a resumed one — not before every question, so the server's prompt cache holds): `{{date}}` today's date, `YYYY-MM-DD`, local time; `{{cwd}}` the directory the conversation works in (over ACP, the session's own); `{{env.NAME}}` the variable NAME — unset, replaced by nothing, with a banner warning; `{{config.NAME}}` the value NAME of the `variables` section. A NAME that looks like a secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`, `…CREDENTIALS…`) is a configuration error: the prompt goes to the model, the sessions and the traces. Spaces inside the braces are allowed (`{{ date }}`). Any other `{{…}}` is left as written; `\{{date}}` writes `{{date}}`. Not replaced in AGENTS.md. A session that crosses midnight keeps its date until `/new`. | |
| 27 | | `variables` | map name → string | none | The file's own values for the system prompt, used there as `{{config.NAME}}`. A value may hold `{{date}}`, `{{cwd}}` and `{{env.NAME}}` (expanded, the same secret check), not another `{{config.…}}`. Names: letters, digits, `_` and `-`, not starting with a digit. A `{{config.NAME}}` the section does not have is a configuration error. Example: `variables: {project: "mini-me, a coding agent written in Go"}`, then `You help with {{config.project}}.` in `system`. | | 27 | | `variables` | map name → string | none | The file's own values for the system prompt, used there as `{{config.NAME}}`. A value may hold `{{date}}`, `{{cwd}}` and `{{env.NAME}}` (expanded, the same secret check), not another `{{config.…}}`. Names: letters, digits, `_` and `-`, not starting with a digit. A `{{config.NAME}}` the section does not have is a configuration error. Example: `variables: {project: "mini-me, a coding agent written in Go"}`, then `You help with {{config.project}}.` in `system`. | |
| 28 | -| `turnReminder` | string | `""` | A text appended to every question the model reads, under a `[reminder]` line, after the `preGeneration` hooks, in every front end (line mode, window, `-p`, editor). Kept in the history, like a hook's context; a question recalled with ↑ comes back without it. For a small model, a rule placed next to the question is followed more often than the same rule in the system prompt: measured in `demos/lfm-coder`, a rule asking it to call `ask_user` when a decision is missing was followed 0 times out of 5 from the system prompt, and 3 out of 3 next to the question with the exact call shape. Empty = none. | | 28 | +| `turnReminder` | string | `""` | A text appended to every question the model reads, under a `[reminder]` line, after the `preGeneration` hooks, in every front end (line mode, window, `-p`, editor). Kept in the history, like a hook's context; a question recalled with ↑ comes back without it. For a small model, a rule placed next to the question is followed more often than the same rule in the system prompt: measured with LFM2.5-24B-A2B in the Go coder now in `demos/gpt-oss-mini-coder` (first built as `demos/lfm-coder`), a rule asking it to call `ask_user` when a decision is missing was followed 0 times out of 5 from the system prompt, and 3 out of 3 next to the question with the exact call shape. Empty = none. | |
| 29 | | `structuredOutput` | string (Go declarations) | `""` | The shape every answer must follow, as JSON: Go `type` declarations and one `var` naming the root of the answer. See [`structuredOutput`](#structuredoutput) below. Empty = free-text answers. Incompatible with any declared tool. | | 29 | | `structuredOutput` | string (Go declarations) | `""` | The shape every answer must follow, as JSON: Go `type` declarations and one `var` naming the root of the answer. See [`structuredOutput`](#structuredoutput) below. Empty = free-text answers. Incompatible with any declared tool. | |
| 30 | | `decision` | mapping or absent | absent | Makes the agent a **decider**: its model is a decision model served by `POST /v1/systemone`, and every message it receives is answered with these questions. See [`decision`](#decision) below. Providers `llamacpp`, `llmman`, `ollama`, `openai` only. | | 30 | | `decision` | mapping or absent | absent | Makes the agent a **decider**: its model is a decision model served by `POST /v1/systemone`, and every message it receives is answered with these questions. See [`decision`](#decision) below. Providers `llamacpp`, `llmman`, `ollama`, `openai` only. | |
| 31 | | `skillRouting` | mapping | `minConfidence: 0.6`, `timeout: 2s`, no `decider` | Before each turn, ask a decider which skill applies, and append the `$skill` line when it is confident enough. See [`skillRouting`](#skillrouting) below. Off without a `decider`. | | 31 | | `skillRouting` | mapping | `minConfidence: 0.6`, `timeout: 2s`, no `decider` | Before each turn, ask a decider which skill applies, and append the `$skill` line when it is confident enough. See [`skillRouting`](#skillrouting) below. Off without a `decider`. | |
modified
docs/fr/explanation/struggling-models.md +1 -1 | @@ -20,7 +20,7 @@ Les signaux de difficulté (ticket 153) rendent ces mêmes détections visibles | ||
| 20 | 20 | |
| 21 | 21 | **Un tour annulé n'est pas une difficulté.** Échap, Ctrl-C ou `/abort` terminent un tour à la demande de l'utilisateur ; signaler alors `stalled` ou `max turns` reprocherait au modèle le choix de l'utilisateur. |
| 22 | 22 | |
| 23 | -**Les échecs silencieux, rendus une fois** (v2.0.0). Les mesures sur de petits modèles de code (`demos/lfm-coder`, `demos/olala-mini`, `demos/mellum2`) ont montré des échecs qui terminaient un tour sans un mot : une réponse coupée en plein raisonnement à la limite de tokens, un raisonnement qui répétait une phrase jusqu'à la limite, une réponse finale « Done. » alors que la dernière modification avait été refusée. mm connaît chacun de ces cas avec certitude — la raison de fin donnée par le serveur, le flux qu'il lit, le résultat de ses propres outils — il ne devine donc rien d'après la formulation de la réponse. Quand le modèle peut encore se rattraper, sa réponse lui est rendue **une fois** avec une note qui dit ce qui s'est passé ; si la même chose se reproduit, le tour se termine et un signal dit pourquoi, en nommant le réglage à changer quand il y en a un. | |
| 23 | +**Les échecs silencieux, rendus une fois** (v2.0.0). Les mesures sur de petits modèles de code (LFM2.5-24B-A2B dans `demos/lfm-coder`, aujourd'hui `demos/gpt-oss-mini-coder` ; `demos/olala-mini` ; `demos/mellum2`) ont montré des échecs qui terminaient un tour sans un mot : une réponse coupée en plein raisonnement à la limite de tokens, un raisonnement qui répétait une phrase jusqu'à la limite, une réponse finale « Done. » alors que la dernière modification avait été refusée. mm connaît chacun de ces cas avec certitude — la raison de fin donnée par le serveur, le flux qu'il lit, le résultat de ses propres outils — il ne devine donc rien d'après la formulation de la réponse. Quand le modèle peut encore se rattraper, sa réponse lui est rendue **une fois** avec une note qui dit ce qui s'est passé ; si la même chose se reproduit, le tour se termine et un signal dit pourquoi, en nommant le réglage à changer quand il y en a un. | |
| 24 | 24 | |
| 25 | 25 | **Réparer plutôt que refuser.** Certaines erreurs ne peuvent vouloir dire qu'une chose : `"true"` pour `true`, `old_text` pour `old`, un chemin auquel il manque un répertoire. mm les répare et le dit dans la sortie de l'outil, plutôt que de refuser en espérant que le modèle corrige — des refus qui citaient le bon chemin ont, mesuré, fait boucler un petit modèle. Voir les [outils](../reference/tools.md#arguments-qui-ne-respectent-pas-le-schéma-dun-outil) et [`workspace`](../reference/configuration.md#clés-de-workspace). |
| 26 | 26 | |
| @@ -20,7 +20,7 @@ Les signaux de difficulté (ticket 153) rendent ces mêmes détections visibles | |||
| 20 | 20 | ||
| 21 | **Un tour annulé n'est pas une difficulté.** Échap, Ctrl-C ou `/abort` terminent un tour à la demande de l'utilisateur ; signaler alors `stalled` ou `max turns` reprocherait au modèle le choix de l'utilisateur. | 21 | **Un tour annulé n'est pas une difficulté.** Échap, Ctrl-C ou `/abort` terminent un tour à la demande de l'utilisateur ; signaler alors `stalled` ou `max turns` reprocherait au modèle le choix de l'utilisateur. |
| 22 | 22 | ||
| 23 | -**Les échecs silencieux, rendus une fois** (v2.0.0). Les mesures sur de petits modèles de code (`demos/lfm-coder`, `demos/olala-mini`, `demos/mellum2`) ont montré des échecs qui terminaient un tour sans un mot : une réponse coupée en plein raisonnement à la limite de tokens, un raisonnement qui répétait une phrase jusqu'à la limite, une réponse finale « Done. » alors que la dernière modification avait été refusée. mm connaît chacun de ces cas avec certitude — la raison de fin donnée par le serveur, le flux qu'il lit, le résultat de ses propres outils — il ne devine donc rien d'après la formulation de la réponse. Quand le modèle peut encore se rattraper, sa réponse lui est rendue **une fois** avec une note qui dit ce qui s'est passé ; si la même chose se reproduit, le tour se termine et un signal dit pourquoi, en nommant le réglage à changer quand il y en a un. | 23 | +**Les échecs silencieux, rendus une fois** (v2.0.0). Les mesures sur de petits modèles de code (LFM2.5-24B-A2B dans `demos/lfm-coder`, aujourd'hui `demos/gpt-oss-mini-coder` ; `demos/olala-mini` ; `demos/mellum2`) ont montré des échecs qui terminaient un tour sans un mot : une réponse coupée en plein raisonnement à la limite de tokens, un raisonnement qui répétait une phrase jusqu'à la limite, une réponse finale « Done. » alors que la dernière modification avait été refusée. mm connaît chacun de ces cas avec certitude — la raison de fin donnée par le serveur, le flux qu'il lit, le résultat de ses propres outils — il ne devine donc rien d'après la formulation de la réponse. Quand le modèle peut encore se rattraper, sa réponse lui est rendue **une fois** avec une note qui dit ce qui s'est passé ; si la même chose se reproduit, le tour se termine et un signal dit pourquoi, en nommant le réglage à changer quand il y en a un. |
| 24 | 24 | ||
| 25 | **Réparer plutôt que refuser.** Certaines erreurs ne peuvent vouloir dire qu'une chose : `"true"` pour `true`, `old_text` pour `old`, un chemin auquel il manque un répertoire. mm les répare et le dit dans la sortie de l'outil, plutôt que de refuser en espérant que le modèle corrige — des refus qui citaient le bon chemin ont, mesuré, fait boucler un petit modèle. Voir les [outils](../reference/tools.md#arguments-qui-ne-respectent-pas-le-schéma-dun-outil) et [`workspace`](../reference/configuration.md#clés-de-workspace). | 25 | **Réparer plutôt que refuser.** Certaines erreurs ne peuvent vouloir dire qu'une chose : `"true"` pour `true`, `old_text` pour `old`, un chemin auquel il manque un répertoire. mm les répare et le dit dans la sortie de l'outil, plutôt que de refuser en espérant que le modèle corrige — des refus qui citaient le bon chemin ont, mesuré, fait boucler un petit modèle. Voir les [outils](../reference/tools.md#arguments-qui-ne-respectent-pas-le-schéma-dun-outil) et [`workspace`](../reference/configuration.md#clés-de-workspace). |
| 26 | 26 | ||
modified
docs/fr/reference/configuration.md +1 -1 | @@ -25,7 +25,7 @@ Où `mm` cherche ce fichier : [Résolution du fichier de configuration](cli.md#r | ||
| 25 | 25 | | `showSpeed` | booléen | `true` | La vitesse de génération du modèle, en tokens par seconde. Mode fenêtre : `⚡ ~58 tok/s` dans la barre d'état pendant qu'un appel au modèle est en cours (une estimation, mise à jour toutes les demi-secondes), puis `⚡ 59.9 tok/s`, la moyenne du tour, jusqu'au début de la réponse suivante. La moyenne du tour est le nombre de tokens divisé par le temps passé par le modèle à les générer : le temps des outils et celui de la lecture du prompt sont exclus. Source : les `timings` du serveur quand il en envoie (llama-server, MLX-Serve), sinon une mesure de mm entre le premier et le dernier token reçus. Éditeur (ACP) : chaque appel et chaque tour terminés vont dans le `_meta.mm` d'un `usage_update` (`tokensPerSecond`, `scope` `call` ou `turn`, `source` `server` ou `measured`), qu'un client qui ne connaît pas la clé ignore. Le mode ligne n'affiche rien. `false` le désactive. | |
| 26 | 26 | | `system` | chaîne | prompt intégré | Le prompt système, premier message de chaque historique. Trois variables sont remplacées à chaque début de conversation (une nouvelle session, `/new`, une session reprise — pas avant chaque question, pour que le cache de prompt du serveur tienne) : `{{date}}` la date du jour, `AAAA-MM-JJ`, heure locale ; `{{cwd}}` le dossier où la conversation travaille (en ACP, celui de la session) ; `{{env.NAME}}` la variable NAME — non définie, remplacée par rien, avec un avertissement dans la bannière ; `{{config.NAME}}` la valeur NAME de la section `variables`. Un NAME qui ressemble à un secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`, `…CREDENTIALS…`) est une erreur de configuration : le prompt va au modèle, dans les sessions et les traces. Les espaces dans les accolades sont acceptés (`{{ date }}`). Tout autre `{{…}}` est laissé tel quel ; `\{{date}}` écrit `{{date}}`. Non remplacées dans AGENTS.md. Une session qui passe minuit garde sa date jusqu'à `/new`. | |
| 27 | 27 | | `variables` | dictionnaire nom → chaîne | aucune | Les valeurs propres au fichier pour le prompt système, utilisées comme `{{config.NAME}}`. Une valeur peut contenir `{{date}}`, `{{cwd}}` et `{{env.NAME}}` (remplacées, avec le même contrôle des secrets), pas une autre `{{config.…}}`. Noms : lettres, chiffres, `_` et `-`, sans commencer par un chiffre. Un `{{config.NAME}}` absent de la section est une erreur de configuration. Exemple : `variables: {project: "mini-me, a coding agent written in Go"}`, puis `You help with {{config.project}}.` dans `system`. | |
| 28 | -| `turnReminder` | chaîne | `""` | Un texte ajouté à chaque question que lit le modèle, sous une ligne `[reminder]`, après les hooks `preGeneration`, dans toutes les interfaces (mode ligne, fenêtre, `-p`, éditeur). Gardé dans l'historique, comme le contexte d'un hook ; une question rappelée avec ↑ revient sans lui. Pour un petit modèle, une règle placée à côté de la question est mieux suivie que la même règle dans le prompt système : mesuré dans `demos/lfm-coder`, une règle lui demandant d'appeler `ask_user` quand une décision manque a été suivie 0 fois sur 5 depuis le prompt système, et 3 fois sur 3 à côté de la question avec la forme exacte de l'appel. Vide = aucun. | | |
| 28 | +| `turnReminder` | chaîne | `""` | Un texte ajouté à chaque question que lit le modèle, sous une ligne `[reminder]`, après les hooks `preGeneration`, dans toutes les interfaces (mode ligne, fenêtre, `-p`, éditeur). Gardé dans l'historique, comme le contexte d'un hook ; une question rappelée avec ↑ revient sans lui. Pour un petit modèle, une règle placée à côté de la question est mieux suivie que la même règle dans le prompt système : mesuré avec LFM2.5-24B-A2B dans le codeur Go aujourd'hui dans `demos/gpt-oss-mini-coder` (construit d'abord sous le nom `demos/lfm-coder`), une règle lui demandant d'appeler `ask_user` quand une décision manque a été suivie 0 fois sur 5 depuis le prompt système, et 3 fois sur 3 à côté de la question avec la forme exacte de l'appel. Vide = aucun. | | |
| 29 | 29 | | `structuredOutput` | chaîne (déclarations Go) | `""` | La forme que doit suivre chaque réponse, en JSON : des déclarations `type` Go et une `var` qui nomme la racine de la réponse. Voir [`structuredOutput`](#structuredoutput) ci-dessous. Vide = réponses en texte libre. Incompatible avec tout outil déclaré. | |
| 30 | 30 | | `decision` | mapping ou absent | absent | Fait de l'agent un **décideur** : son modèle est un modèle de décision servi par `POST /v1/systemone`, et chaque message reçu obtient pour réponse ces questions. Voir [`decision`](#decision) ci-dessous. Fournisseurs `llamacpp`, `llmman`, `ollama`, `openai` seulement. | |
| 31 | 31 | | `skillRouting` | mapping | `minConfidence: 0.6`, `timeout: 2s`, pas de `decider` | Avant chaque tour, demander à un décideur quel skill s'applique, et ajouter la ligne `$skill` s'il est assez sûr. Voir [`skillRouting`](#skillrouting) ci-dessous. Désactivé sans `decider`. | |
| @@ -25,7 +25,7 @@ Où `mm` cherche ce fichier : [Résolution du fichier de configuration](cli.md#r | |||
| 25 | | `showSpeed` | booléen | `true` | La vitesse de génération du modèle, en tokens par seconde. Mode fenêtre : `⚡ ~58 tok/s` dans la barre d'état pendant qu'un appel au modèle est en cours (une estimation, mise à jour toutes les demi-secondes), puis `⚡ 59.9 tok/s`, la moyenne du tour, jusqu'au début de la réponse suivante. La moyenne du tour est le nombre de tokens divisé par le temps passé par le modèle à les générer : le temps des outils et celui de la lecture du prompt sont exclus. Source : les `timings` du serveur quand il en envoie (llama-server, MLX-Serve), sinon une mesure de mm entre le premier et le dernier token reçus. Éditeur (ACP) : chaque appel et chaque tour terminés vont dans le `_meta.mm` d'un `usage_update` (`tokensPerSecond`, `scope` `call` ou `turn`, `source` `server` ou `measured`), qu'un client qui ne connaît pas la clé ignore. Le mode ligne n'affiche rien. `false` le désactive. | | 25 | | `showSpeed` | booléen | `true` | La vitesse de génération du modèle, en tokens par seconde. Mode fenêtre : `⚡ ~58 tok/s` dans la barre d'état pendant qu'un appel au modèle est en cours (une estimation, mise à jour toutes les demi-secondes), puis `⚡ 59.9 tok/s`, la moyenne du tour, jusqu'au début de la réponse suivante. La moyenne du tour est le nombre de tokens divisé par le temps passé par le modèle à les générer : le temps des outils et celui de la lecture du prompt sont exclus. Source : les `timings` du serveur quand il en envoie (llama-server, MLX-Serve), sinon une mesure de mm entre le premier et le dernier token reçus. Éditeur (ACP) : chaque appel et chaque tour terminés vont dans le `_meta.mm` d'un `usage_update` (`tokensPerSecond`, `scope` `call` ou `turn`, `source` `server` ou `measured`), qu'un client qui ne connaît pas la clé ignore. Le mode ligne n'affiche rien. `false` le désactive. | |
| 26 | | `system` | chaîne | prompt intégré | Le prompt système, premier message de chaque historique. Trois variables sont remplacées à chaque début de conversation (une nouvelle session, `/new`, une session reprise — pas avant chaque question, pour que le cache de prompt du serveur tienne) : `{{date}}` la date du jour, `AAAA-MM-JJ`, heure locale ; `{{cwd}}` le dossier où la conversation travaille (en ACP, celui de la session) ; `{{env.NAME}}` la variable NAME — non définie, remplacée par rien, avec un avertissement dans la bannière ; `{{config.NAME}}` la valeur NAME de la section `variables`. Un NAME qui ressemble à un secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`, `…CREDENTIALS…`) est une erreur de configuration : le prompt va au modèle, dans les sessions et les traces. Les espaces dans les accolades sont acceptés (`{{ date }}`). Tout autre `{{…}}` est laissé tel quel ; `\{{date}}` écrit `{{date}}`. Non remplacées dans AGENTS.md. Une session qui passe minuit garde sa date jusqu'à `/new`. | | 26 | | `system` | chaîne | prompt intégré | Le prompt système, premier message de chaque historique. Trois variables sont remplacées à chaque début de conversation (une nouvelle session, `/new`, une session reprise — pas avant chaque question, pour que le cache de prompt du serveur tienne) : `{{date}}` la date du jour, `AAAA-MM-JJ`, heure locale ; `{{cwd}}` le dossier où la conversation travaille (en ACP, celui de la session) ; `{{env.NAME}}` la variable NAME — non définie, remplacée par rien, avec un avertissement dans la bannière ; `{{config.NAME}}` la valeur NAME de la section `variables`. Un NAME qui ressemble à un secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`, `…CREDENTIALS…`) est une erreur de configuration : le prompt va au modèle, dans les sessions et les traces. Les espaces dans les accolades sont acceptés (`{{ date }}`). Tout autre `{{…}}` est laissé tel quel ; `\{{date}}` écrit `{{date}}`. Non remplacées dans AGENTS.md. Une session qui passe minuit garde sa date jusqu'à `/new`. | |
| 27 | | `variables` | dictionnaire nom → chaîne | aucune | Les valeurs propres au fichier pour le prompt système, utilisées comme `{{config.NAME}}`. Une valeur peut contenir `{{date}}`, `{{cwd}}` et `{{env.NAME}}` (remplacées, avec le même contrôle des secrets), pas une autre `{{config.…}}`. Noms : lettres, chiffres, `_` et `-`, sans commencer par un chiffre. Un `{{config.NAME}}` absent de la section est une erreur de configuration. Exemple : `variables: {project: "mini-me, a coding agent written in Go"}`, puis `You help with {{config.project}}.` dans `system`. | | 27 | | `variables` | dictionnaire nom → chaîne | aucune | Les valeurs propres au fichier pour le prompt système, utilisées comme `{{config.NAME}}`. Une valeur peut contenir `{{date}}`, `{{cwd}}` et `{{env.NAME}}` (remplacées, avec le même contrôle des secrets), pas une autre `{{config.…}}`. Noms : lettres, chiffres, `_` et `-`, sans commencer par un chiffre. Un `{{config.NAME}}` absent de la section est une erreur de configuration. Exemple : `variables: {project: "mini-me, a coding agent written in Go"}`, puis `You help with {{config.project}}.` dans `system`. | |
| 28 | -| `turnReminder` | chaîne | `""` | Un texte ajouté à chaque question que lit le modèle, sous une ligne `[reminder]`, après les hooks `preGeneration`, dans toutes les interfaces (mode ligne, fenêtre, `-p`, éditeur). Gardé dans l'historique, comme le contexte d'un hook ; une question rappelée avec ↑ revient sans lui. Pour un petit modèle, une règle placée à côté de la question est mieux suivie que la même règle dans le prompt système : mesuré dans `demos/lfm-coder`, une règle lui demandant d'appeler `ask_user` quand une décision manque a été suivie 0 fois sur 5 depuis le prompt système, et 3 fois sur 3 à côté de la question avec la forme exacte de l'appel. Vide = aucun. | | 28 | +| `turnReminder` | chaîne | `""` | Un texte ajouté à chaque question que lit le modèle, sous une ligne `[reminder]`, après les hooks `preGeneration`, dans toutes les interfaces (mode ligne, fenêtre, `-p`, éditeur). Gardé dans l'historique, comme le contexte d'un hook ; une question rappelée avec ↑ revient sans lui. Pour un petit modèle, une règle placée à côté de la question est mieux suivie que la même règle dans le prompt système : mesuré avec LFM2.5-24B-A2B dans le codeur Go aujourd'hui dans `demos/gpt-oss-mini-coder` (construit d'abord sous le nom `demos/lfm-coder`), une règle lui demandant d'appeler `ask_user` quand une décision manque a été suivie 0 fois sur 5 depuis le prompt système, et 3 fois sur 3 à côté de la question avec la forme exacte de l'appel. Vide = aucun. | |
| 29 | | `structuredOutput` | chaîne (déclarations Go) | `""` | La forme que doit suivre chaque réponse, en JSON : des déclarations `type` Go et une `var` qui nomme la racine de la réponse. Voir [`structuredOutput`](#structuredoutput) ci-dessous. Vide = réponses en texte libre. Incompatible avec tout outil déclaré. | | 29 | | `structuredOutput` | chaîne (déclarations Go) | `""` | La forme que doit suivre chaque réponse, en JSON : des déclarations `type` Go et une `var` qui nomme la racine de la réponse. Voir [`structuredOutput`](#structuredoutput) ci-dessous. Vide = réponses en texte libre. Incompatible avec tout outil déclaré. | |
| 30 | | `decision` | mapping ou absent | absent | Fait de l'agent un **décideur** : son modèle est un modèle de décision servi par `POST /v1/systemone`, et chaque message reçu obtient pour réponse ces questions. Voir [`decision`](#decision) ci-dessous. Fournisseurs `llamacpp`, `llmman`, `ollama`, `openai` seulement. | | 30 | | `decision` | mapping ou absent | absent | Fait de l'agent un **décideur** : son modèle est un modèle de décision servi par `POST /v1/systemone`, et chaque message reçu obtient pour réponse ces questions. Voir [`decision`](#decision) ci-dessous. Fournisseurs `llamacpp`, `llmman`, `ollama`, `openai` seulement. | |
| 31 | | `skillRouting` | mapping | `minConfidence: 0.6`, `timeout: 2s`, pas de `decider` | Avant chaque tour, demander à un décideur quel skill s'applique, et ajouter la ligne `$skill` s'il est assez sûr. Voir [`skillRouting`](#skillrouting) ci-dessous. Désactivé sans `decider`. | | 31 | | `skillRouting` | mapping | `minConfidence: 0.6`, `timeout: 2s`, pas de `decider` | Avant chaque tour, demander à un décideur quel skill s'applique, et ajouter la ligne `$skill` s'il est assez sûr. Voir [`skillRouting`](#skillrouting) ci-dessous. Désactivé sans `decider`. | |
modified
release-notes/README.md +2 -1 | @@ -4,7 +4,8 @@ One note per tag, in English (`.en.md`) and French (`.fr.md`). Rebuilt on 2026-1 | ||
| 4 | 4 | |
| 5 | 5 | | Version | Date | Summary | | |
| 6 | 6 | |---|---|---|---| |
| 7 | -| [v2.0.0](v2.0.0.en.md) | not tagged yet | Built-in guardrails against the silent failures of small models: wrong paths and malformed tool calls repaired, loops, cut answers and failed edits caught and reported, diagnostics without asking, background processes tracked, and `mm -p` exits 1 when a run fails. | [FR](v2.0.0.fr.md) | | |
| 7 | +| [v2.1.0](v2.1.0.en.md) | not tagged yet | Agents that talk to each other over A2A, llama-server started and stopped by mm, MLX-Serve as a provider, the generation speed in the status bar, long turns compressed as they go, and variables in the system prompt. | [FR](v2.1.0.fr.md) | | |
| 8 | +| [v2.0.0](v2.0.0.en.md) | 2026-11-20 | Built-in guardrails against the silent failures of small models: wrong paths and malformed tool calls repaired, loops, cut answers and failed edits caught and reported, diagnostics without asking, background processes tracked, and `mm -p` exits 1 when a run fails. | [FR](v2.0.0.fr.md) | | |
| 8 | 9 | | [v1.1.1](v1.1.1.en.md) | 2026-11-18 | OpenAI's reasoning models keep reasoning while they call tools with the new `openai-responses` provider, llama.cpp moves to its new default port 9931 (8080 still tried), `mm init` proposes llamacpp first, and mm stops with a clear error when there is no agent file. | [FR](v1.1.1.fr.md) | |
| 9 | 10 | | [v1.1.0](v1.1.0.en.md) | 2026-11-15 | Create a skill from your editor with `/skillcreate` in `mm acp-create`, while the wizard lists the models from the right address, the container's account matches your user and llama.cpp is reached from a container like the other local servers. | [FR](v1.1.0.fr.md) | |
| 10 | 11 | | [v1.0.9](v1.0.9.en.md) | 2026-11-14 | Create an agent from your editor with `mm acp-create` — and its container, its sandbox and its editor settings — while `mm dockerinit` learns the `.mm` folder and an editor's reload no longer fails. | [FR](v1.0.9.fr.md) | |
| @@ -4,7 +4,8 @@ One note per tag, in English (`.en.md`) and French (`.fr.md`). Rebuilt on 2026-1 | |||
| 4 | 4 | ||
| 5 | | Version | Date | Summary | | | 5 | | Version | Date | Summary | | |
| 6 | |---|---|---|---| | 6 | |---|---|---|---| |
| 7 | -| [v2.0.0](v2.0.0.en.md) | not tagged yet | Built-in guardrails against the silent failures of small models: wrong paths and malformed tool calls repaired, loops, cut answers and failed edits caught and reported, diagnostics without asking, background processes tracked, and `mm -p` exits 1 when a run fails. | [FR](v2.0.0.fr.md) | | 7 | +| [v2.1.0](v2.1.0.en.md) | not tagged yet | Agents that talk to each other over A2A, llama-server started and stopped by mm, MLX-Serve as a provider, the generation speed in the status bar, long turns compressed as they go, and variables in the system prompt. | [FR](v2.1.0.fr.md) | |
| 8 | +| [v2.0.0](v2.0.0.en.md) | 2026-11-20 | Built-in guardrails against the silent failures of small models: wrong paths and malformed tool calls repaired, loops, cut answers and failed edits caught and reported, diagnostics without asking, background processes tracked, and `mm -p` exits 1 when a run fails. | [FR](v2.0.0.fr.md) | | ||
| 8 | | [v1.1.1](v1.1.1.en.md) | 2026-11-18 | OpenAI's reasoning models keep reasoning while they call tools with the new `openai-responses` provider, llama.cpp moves to its new default port 9931 (8080 still tried), `mm init` proposes llamacpp first, and mm stops with a clear error when there is no agent file. | [FR](v1.1.1.fr.md) | | 9 | | [v1.1.1](v1.1.1.en.md) | 2026-11-18 | OpenAI's reasoning models keep reasoning while they call tools with the new `openai-responses` provider, llama.cpp moves to its new default port 9931 (8080 still tried), `mm init` proposes llamacpp first, and mm stops with a clear error when there is no agent file. | [FR](v1.1.1.fr.md) | |
| 9 | | [v1.1.0](v1.1.0.en.md) | 2026-11-15 | Create a skill from your editor with `/skillcreate` in `mm acp-create`, while the wizard lists the models from the right address, the container's account matches your user and llama.cpp is reached from a container like the other local servers. | [FR](v1.1.0.fr.md) | | 10 | | [v1.1.0](v1.1.0.en.md) | 2026-11-15 | Create a skill from your editor with `/skillcreate` in `mm acp-create`, while the wizard lists the models from the right address, the container's account matches your user and llama.cpp is reached from a container like the other local servers. | [FR](v1.1.0.fr.md) | |
| 10 | | [v1.0.9](v1.0.9.en.md) | 2026-11-14 | Create an agent from your editor with `mm acp-create` — and its container, its sandbox and its editor settings — while `mm dockerinit` learns the `.mm` folder and an editor's reload no longer fails. | [FR](v1.0.9.fr.md) | | 11 | | [v1.0.9](v1.0.9.en.md) | 2026-11-14 | Create an agent from your editor with `mm acp-create` — and its container, its sandbox and its editor settings — while `mm dockerinit` learns the `.mm` folder and an editor's reload no longer fails. | [FR](v1.0.9.fr.md) | |
added
release-notes/v2.1.0.en.md +85 -0 | new file mode 100644 | ||
| @@ -0,0 +1,85 @@ | ||
| 1 | +# mini-me v2.1.0 | |
| 2 | + | |
| 3 | +*[Version française](v2.1.0.fr.md)* | |
| 4 | + | |
| 5 | +Agents that talk to each other over A2A, llama-server started and stopped by mm, MLX-Serve as a provider, the generation speed in the status bar, long turns compressed as they go, and variables in the system prompt. | |
| 6 | + | |
| 7 | +## New | |
| 8 | + | |
| 9 | +### A2A: mm agents talk to each other (#243, #263) | |
| 10 | + | |
| 11 | +mm speaks the [Agent2Agent protocol](https://a2a-protocol.org) — JSON-RPC over HTTP, text only, no streaming yet: | |
| 12 | + | |
| 13 | +- `mm a2a agent.yaml` serves an agent to other agents: its Agent Card at `/.well-known/agent-card.json` and the messages it answers, one conversation per A2A `contextId`. It listens on `127.0.0.1:9100` by default (`a2a.port`, `--a2a-port`); `a2a.tokenEnv` makes callers send a bearer token. | |
| 14 | +- `a2a.agents` declares remote agents: the model talks to them with the new `ask_a2a_agent` tool, and you with `/a2a-<name> <message>` in the terminal, the window and the editor — the answer joins the conversation for your next question. The tool and the command share one conversation per agent. | |
| 15 | +- `mm a2a-send <url> "message"` talks to an agent from a script: the answer on stdout, `context: <id>` on stderr, `--context <id>` to continue. | |
| 16 | + | |
| 17 | +Both versions of the protocol in use are spoken: 1.0 (`SendMessage`, the current one) and 0.3 (`message/send`); the client tries 1.0 first. Checked against the official Python `a2a-sdk` 1.3.1 client. See [A2A mode](../docs/en/reference/cli.md#a2a-mode-specifics) and [`a2a` keys](../docs/en/reference/configuration.md#a2a-keys). | |
| 18 | + | |
| 19 | +### llama-server started and stopped by mm (#223, #257) | |
| 20 | + | |
| 21 | +```yaml | |
| 22 | +llamacpp: | |
| 23 | + autoStart: true | |
| 24 | + sleepIdleSeconds: 300 # optional launch settings, each one a llama-server flag | |
| 25 | +``` | |
| 26 | + | |
| 27 | +With `autoStart`, when nothing answers at the agent's address (a local one), mm starts `llama-server` in router mode with the agent's model — downloaded on first use —, waits until it is loaded, and stops it with the last mm session that uses it: several sessions share one server. A server you started yourself, or the Llama app's, is never stopped. The launch settings `ctxSize`, `modelsMax`, `modelsMemoryMargin`, `fitTarget`, `sleepIdleSeconds` and `specDefault` are optional (absent = llama-server's default); `serverArgs` takes any other flag. `mm init` asks for both. Off by default. See [Let mm start llama-server](../docs/en/how-to/run-with-llama-cpp.md#let-mm-start-llama-server). | |
| 28 | + | |
| 29 | +### MLX-Serve provider (#252) | |
| 30 | + | |
| 31 | +`provider: mlxserve` for [MLX-Serve](https://github.com/ddalcu/mlx-serve) on Apple Silicon (port 11234): the served window, a warning when the model is not downloaded (the server otherwise answers with its default model), reasoning off for the summary request, `/unload`, `autoPull` and `mm init`. Measured on mlx-serve 26.11.3. See [Run mini-me on MLX-Serve](../docs/en/how-to/run-with-mlx-serve.md). | |
| 32 | + | |
| 33 | +### The model is unloaded when mm exits (#255) | |
| 34 | + | |
| 35 | +`unloadOnExit` (on by default): on every way out — `/quit`, Ctrl-C, Ctrl-D, the window closed, the end of `-p`, the editor closing the session, SIGTERM — mm unloads the agent's model from the server's memory, within 3 seconds at most. Nothing is said when the model was not loaded or the server cannot unload (dmr, openai, a single-model llama-server). `AGENT_UNLOAD_ON_EXIT=false` keeps it loaded for one run. See [When mm exits](../docs/en/how-to/unload-a-model.md#when-mm-exits). | |
| 36 | + | |
| 37 | +### The generation speed in the status bar (#254) | |
| 38 | + | |
| 39 | +`⚡ ~58 tok/s` in the window's status bar while the model streams, then the turn's average (its tokens over the time spent generating them, the tools' time left out). The server's own figures when it sends them (llama-server, MLX-Serve), else measured by mm. Editors receive it in a `usage_update`'s `_meta`. `showSpeed: false` turns it off. | |
| 40 | + | |
| 41 | +### Long turns compressed as they go (#251) | |
| 42 | + | |
| 43 | +`context.compressInTurn` (on by default): inside a long turn, before each model call past `context.threshold` of a known window, the older tool results and long call arguments of the turn keep only their first line; if that is not enough, they are replaced by notes the model writes, added to the question. The last 4 tool exchanges stay as they are. A turn that used to fail with "the request is larger than the server's window" goes on. Measured with Qwen3 1.7B on a 6,144-token window: a chain of 8 files read one by one, 4 compressions, the answer found. One single exchange larger than the window cannot be compressed. See [Context compression](../docs/en/explanation/context-compression.md). | |
| 44 | + | |
| 45 | +### Variables in the system prompt (#253) | |
| 46 | + | |
| 47 | +```yaml | |
| 48 | +variables: | |
| 49 | + project: mini-me, a coding agent written in Go | |
| 50 | +system: | | |
| 51 | + Today is {{date}}. You work in {{cwd}} for {{env.USER}}, on {{config.project}}. | |
| 52 | +``` | |
| 53 | + | |
| 54 | +`{{date}}`, `{{cwd}}`, `{{env.NAME}}` and the file's own `variables:` as `{{config.NAME}}`, replaced when a conversation starts. A variable whose name looks like a secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`) is refused; an unset one is replaced by nothing, with a warning. See [`system`](../docs/en/reference/configuration.md). | |
| 55 | + | |
| 56 | +## Fixed | |
| 57 | + | |
| 58 | +- **The first answer of an MLX-Serve run failed** with `unexpected end of JSON input`: the server's `: keepalive` comments broke the stream reader. Comment-only blocks are now dropped, for every provider. (#252) | |
| 59 | +- **`fetch_content` returned DuckDuckGo's redirect links** instead of the result pages, and models cited those: they now point to the page itself. (#69) | |
| 60 | + | |
| 61 | +## Demos | |
| 62 | + | |
| 63 | +- **`demos/a2a-discussion`** (new): three agents — for, against, a moderator — debating over A2A, on one LFM3 1.7B shared by a single llama-server. `start.sh`, `discussion.sh` and `stop.sh`; measured: three agents ready in 18 s, a two-round debate in 37 s, moderator-led debates of 4 and 8 calls in 72 s and 130 s. | |
| 64 | +- **`demos/qwen-search`** (new): web search and a press review with skills and `fetch_content` only — no MCP server —, and a skill with a catalogue of trusted WebAssembly pages. Qwen3.5 4B passes every case; 2B only the press review. | |
| 65 | +- **`demos/prompt-variables`** (new): the prompt's variables with Qwen3.5 4B (and 2B): what a small model repeats correctly, and what it cannot compute from them (the day of the week). | |
| 66 | +- **`demos/mlx-gemma-4-e4b`** (new, with its README), **`demos/mlx-gemma-4-12b`**, **`demos/mlx-gemma-4-26b-a4b`** and **`demos/mlx-qwen`**: agents for MLX-Serve. | |
| 67 | +- **`demos/olala-mini-dnd`** (Maëlle, a role-playing NPC on Olala-v1.0-mini), **`demos/programming-answers`** (Little Coder on Mellum2.1 Thinking), **`demos/olala-mini-cpu`**, **`demos/gpt-oss-mini-coder`** (gpt-oss 20b), **`demos/inkling-2-mini-coder`** and **`demos/llamacpp-demo`**: new agent files. | |
| 68 | +- **`demos/lfm-coder`** has been removed. | |
| 69 | + | |
| 70 | +## Documentation | |
| 71 | + | |
| 72 | +- Configuration reference: `a2a`, `llamacpp`, `unloadOnExit`, `showSpeed`, `context.compressInTurn`, `variables` and the prompt variables, `mlxserve`. | |
| 73 | +- CLI reference: `mm a2a`, `mm a2a-send`, `--a2a-port`, `AGENT_UNLOAD_ON_EXIT`, the generation speed, the new `mm init` flags `--autostart` and `--launch-settings`. | |
| 74 | +- Tools and slash commands: `ask_a2a_agent`, `/a2a-<name>`, the unwrapped search links of `fetch_content`. | |
| 75 | +- Guides: [Run mini-me on MLX-Serve](../docs/en/how-to/run-with-mlx-serve.md) (new), [Let mm start llama-server](../docs/en/how-to/run-with-llama-cpp.md#let-mm-start-llama-server), [When mm exits](../docs/en/how-to/unload-a-model.md#when-mm-exits), the in-turn compression in [Context compression](../docs/en/explanation/context-compression.md). | |
| 76 | + | |
| 77 | +## Upgrading | |
| 78 | + | |
| 79 | +- **Replace the binary**: see the install guides for [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) and [Windows](../INSTALL.WINDOWS.md). | |
| 80 | +- **`unloadOnExit` is on by default.** Every existing agent now unloads its model when mm exits. Set `unloadOnExit: false` when another session or tool uses the same model, or when a script runs `mm -p` in a loop (or `AGENT_UNLOAD_ON_EXIT=false` for one run). | |
| 81 | +- **`context.compressInTurn` is on by default**, independently of `context.enabled`: it acts only past `context.threshold` of a known window, inside a turn. Set it to `false` for the old behaviour. | |
| 82 | +- **`showSpeed` is on by default**: the window's status bar gains the `⚡` figure. | |
| 83 | +- **`llamacpp.autoStart` is off by default**; `mm init` now asks, and writes `autoStart: true` for a local llamacpp agent unless you answer no. | |
| 84 | +- A system prompt that already contains `{{date}}`, `{{cwd}}` or `{{env.…}}` literally now has them replaced, and a `{{config.…}}` that `variables:` does not define stops mm at start-up; write `\{{date}}` to keep one as text. | |
| 85 | +- Older mm versions ignore the new keys without a word. | |
| new file mode 100644 | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | +# mini-me v2.1.0 | ||
| 2 | + | ||
| 3 | +*[Version française](v2.1.0.fr.md)* | ||
| 4 | + | ||
| 5 | +Agents that talk to each other over A2A, llama-server started and stopped by mm, MLX-Serve as a provider, the generation speed in the status bar, long turns compressed as they go, and variables in the system prompt. | ||
| 6 | + | ||
| 7 | +## New | ||
| 8 | + | ||
| 9 | +### A2A: mm agents talk to each other (#243, #263) | ||
| 10 | + | ||
| 11 | +mm speaks the [Agent2Agent protocol](https://a2a-protocol.org) — JSON-RPC over HTTP, text only, no streaming yet: | ||
| 12 | + | ||
| 13 | +- `mm a2a agent.yaml` serves an agent to other agents: its Agent Card at `/.well-known/agent-card.json` and the messages it answers, one conversation per A2A `contextId`. It listens on `127.0.0.1:9100` by default (`a2a.port`, `--a2a-port`); `a2a.tokenEnv` makes callers send a bearer token. | ||
| 14 | +- `a2a.agents` declares remote agents: the model talks to them with the new `ask_a2a_agent` tool, and you with `/a2a-<name> <message>` in the terminal, the window and the editor — the answer joins the conversation for your next question. The tool and the command share one conversation per agent. | ||
| 15 | +- `mm a2a-send <url> "message"` talks to an agent from a script: the answer on stdout, `context: <id>` on stderr, `--context <id>` to continue. | ||
| 16 | + | ||
| 17 | +Both versions of the protocol in use are spoken: 1.0 (`SendMessage`, the current one) and 0.3 (`message/send`); the client tries 1.0 first. Checked against the official Python `a2a-sdk` 1.3.1 client. See [A2A mode](../docs/en/reference/cli.md#a2a-mode-specifics) and [`a2a` keys](../docs/en/reference/configuration.md#a2a-keys). | ||
| 18 | + | ||
| 19 | +### llama-server started and stopped by mm (#223, #257) | ||
| 20 | + | ||
| 21 | +```yaml | ||
| 22 | +llamacpp: | ||
| 23 | + autoStart: true | ||
| 24 | + sleepIdleSeconds: 300 # optional launch settings, each one a llama-server flag | ||
| 25 | +``` | ||
| 26 | + | ||
| 27 | +With `autoStart`, when nothing answers at the agent's address (a local one), mm starts `llama-server` in router mode with the agent's model — downloaded on first use —, waits until it is loaded, and stops it with the last mm session that uses it: several sessions share one server. A server you started yourself, or the Llama app's, is never stopped. The launch settings `ctxSize`, `modelsMax`, `modelsMemoryMargin`, `fitTarget`, `sleepIdleSeconds` and `specDefault` are optional (absent = llama-server's default); `serverArgs` takes any other flag. `mm init` asks for both. Off by default. See [Let mm start llama-server](../docs/en/how-to/run-with-llama-cpp.md#let-mm-start-llama-server). | ||
| 28 | + | ||
| 29 | +### MLX-Serve provider (#252) | ||
| 30 | + | ||
| 31 | +`provider: mlxserve` for [MLX-Serve](https://github.com/ddalcu/mlx-serve) on Apple Silicon (port 11234): the served window, a warning when the model is not downloaded (the server otherwise answers with its default model), reasoning off for the summary request, `/unload`, `autoPull` and `mm init`. Measured on mlx-serve 26.11.3. See [Run mini-me on MLX-Serve](../docs/en/how-to/run-with-mlx-serve.md). | ||
| 32 | + | ||
| 33 | +### The model is unloaded when mm exits (#255) | ||
| 34 | + | ||
| 35 | +`unloadOnExit` (on by default): on every way out — `/quit`, Ctrl-C, Ctrl-D, the window closed, the end of `-p`, the editor closing the session, SIGTERM — mm unloads the agent's model from the server's memory, within 3 seconds at most. Nothing is said when the model was not loaded or the server cannot unload (dmr, openai, a single-model llama-server). `AGENT_UNLOAD_ON_EXIT=false` keeps it loaded for one run. See [When mm exits](../docs/en/how-to/unload-a-model.md#when-mm-exits). | ||
| 36 | + | ||
| 37 | +### The generation speed in the status bar (#254) | ||
| 38 | + | ||
| 39 | +`⚡ ~58 tok/s` in the window's status bar while the model streams, then the turn's average (its tokens over the time spent generating them, the tools' time left out). The server's own figures when it sends them (llama-server, MLX-Serve), else measured by mm. Editors receive it in a `usage_update`'s `_meta`. `showSpeed: false` turns it off. | ||
| 40 | + | ||
| 41 | +### Long turns compressed as they go (#251) | ||
| 42 | + | ||
| 43 | +`context.compressInTurn` (on by default): inside a long turn, before each model call past `context.threshold` of a known window, the older tool results and long call arguments of the turn keep only their first line; if that is not enough, they are replaced by notes the model writes, added to the question. The last 4 tool exchanges stay as they are. A turn that used to fail with "the request is larger than the server's window" goes on. Measured with Qwen3 1.7B on a 6,144-token window: a chain of 8 files read one by one, 4 compressions, the answer found. One single exchange larger than the window cannot be compressed. See [Context compression](../docs/en/explanation/context-compression.md). | ||
| 44 | + | ||
| 45 | +### Variables in the system prompt (#253) | ||
| 46 | + | ||
| 47 | +```yaml | ||
| 48 | +variables: | ||
| 49 | + project: mini-me, a coding agent written in Go | ||
| 50 | +system: | | ||
| 51 | + Today is {{date}}. You work in {{cwd}} for {{env.USER}}, on {{config.project}}. | ||
| 52 | +``` | ||
| 53 | + | ||
| 54 | +`{{date}}`, `{{cwd}}`, `{{env.NAME}}` and the file's own `variables:` as `{{config.NAME}}`, replaced when a conversation starts. A variable whose name looks like a secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`) is refused; an unset one is replaced by nothing, with a warning. See [`system`](../docs/en/reference/configuration.md). | ||
| 55 | + | ||
| 56 | +## Fixed | ||
| 57 | + | ||
| 58 | +- **The first answer of an MLX-Serve run failed** with `unexpected end of JSON input`: the server's `: keepalive` comments broke the stream reader. Comment-only blocks are now dropped, for every provider. (#252) | ||
| 59 | +- **`fetch_content` returned DuckDuckGo's redirect links** instead of the result pages, and models cited those: they now point to the page itself. (#69) | ||
| 60 | + | ||
| 61 | +## Demos | ||
| 62 | + | ||
| 63 | +- **`demos/a2a-discussion`** (new): three agents — for, against, a moderator — debating over A2A, on one LFM3 1.7B shared by a single llama-server. `start.sh`, `discussion.sh` and `stop.sh`; measured: three agents ready in 18 s, a two-round debate in 37 s, moderator-led debates of 4 and 8 calls in 72 s and 130 s. | ||
| 64 | +- **`demos/qwen-search`** (new): web search and a press review with skills and `fetch_content` only — no MCP server —, and a skill with a catalogue of trusted WebAssembly pages. Qwen3.5 4B passes every case; 2B only the press review. | ||
| 65 | +- **`demos/prompt-variables`** (new): the prompt's variables with Qwen3.5 4B (and 2B): what a small model repeats correctly, and what it cannot compute from them (the day of the week). | ||
| 66 | +- **`demos/mlx-gemma-4-e4b`** (new, with its README), **`demos/mlx-gemma-4-12b`**, **`demos/mlx-gemma-4-26b-a4b`** and **`demos/mlx-qwen`**: agents for MLX-Serve. | ||
| 67 | +- **`demos/olala-mini-dnd`** (Maëlle, a role-playing NPC on Olala-v1.0-mini), **`demos/programming-answers`** (Little Coder on Mellum2.1 Thinking), **`demos/olala-mini-cpu`**, **`demos/gpt-oss-mini-coder`** (gpt-oss 20b), **`demos/inkling-2-mini-coder`** and **`demos/llamacpp-demo`**: new agent files. | ||
| 68 | +- **`demos/lfm-coder`** has been removed. | ||
| 69 | + | ||
| 70 | +## Documentation | ||
| 71 | + | ||
| 72 | +- Configuration reference: `a2a`, `llamacpp`, `unloadOnExit`, `showSpeed`, `context.compressInTurn`, `variables` and the prompt variables, `mlxserve`. | ||
| 73 | +- CLI reference: `mm a2a`, `mm a2a-send`, `--a2a-port`, `AGENT_UNLOAD_ON_EXIT`, the generation speed, the new `mm init` flags `--autostart` and `--launch-settings`. | ||
| 74 | +- Tools and slash commands: `ask_a2a_agent`, `/a2a-<name>`, the unwrapped search links of `fetch_content`. | ||
| 75 | +- Guides: [Run mini-me on MLX-Serve](../docs/en/how-to/run-with-mlx-serve.md) (new), [Let mm start llama-server](../docs/en/how-to/run-with-llama-cpp.md#let-mm-start-llama-server), [When mm exits](../docs/en/how-to/unload-a-model.md#when-mm-exits), the in-turn compression in [Context compression](../docs/en/explanation/context-compression.md). | ||
| 76 | + | ||
| 77 | +## Upgrading | ||
| 78 | + | ||
| 79 | +- **Replace the binary**: see the install guides for [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) and [Windows](../INSTALL.WINDOWS.md). | ||
| 80 | +- **`unloadOnExit` is on by default.** Every existing agent now unloads its model when mm exits. Set `unloadOnExit: false` when another session or tool uses the same model, or when a script runs `mm -p` in a loop (or `AGENT_UNLOAD_ON_EXIT=false` for one run). | ||
| 81 | +- **`context.compressInTurn` is on by default**, independently of `context.enabled`: it acts only past `context.threshold` of a known window, inside a turn. Set it to `false` for the old behaviour. | ||
| 82 | +- **`showSpeed` is on by default**: the window's status bar gains the `⚡` figure. | ||
| 83 | +- **`llamacpp.autoStart` is off by default**; `mm init` now asks, and writes `autoStart: true` for a local llamacpp agent unless you answer no. | ||
| 84 | +- A system prompt that already contains `{{date}}`, `{{cwd}}` or `{{env.…}}` literally now has them replaced, and a `{{config.…}}` that `variables:` does not define stops mm at start-up; write `\{{date}}` to keep one as text. | ||
| 85 | +- Older mm versions ignore the new keys without a word. | ||
added
release-notes/v2.1.0.fr.md +85 -0 | new file mode 100644 | ||
| @@ -0,0 +1,85 @@ | ||
| 1 | +# mini-me v2.1.0 | |
| 2 | + | |
| 3 | +*[English version](v2.1.0.en.md)* | |
| 4 | + | |
| 5 | +Des agents qui se parlent par A2A, llama-server démarré et arrêté par mm, MLX-Serve comme fournisseur, la vitesse de génération dans la barre d'état, les longs tours compressés au fil de l'eau, et des variables dans le prompt système. | |
| 6 | + | |
| 7 | +## Nouveautés | |
| 8 | + | |
| 9 | +### A2A : des agents mm qui se parlent (#243, #263) | |
| 10 | + | |
| 11 | +mm parle le [protocole Agent2Agent](https://a2a-protocol.org) — JSON-RPC sur HTTP, texte seulement, pas encore de streaming : | |
| 12 | + | |
| 13 | +- `mm a2a agent.yaml` sert un agent à d'autres agents : son Agent Card sur `/.well-known/agent-card.json` et les messages auxquels il répond, une conversation par `contextId` A2A. Il écoute sur `127.0.0.1:9100` par défaut (`a2a.port`, `--a2a-port`) ; `a2a.tokenEnv` impose aux appelants un jeton bearer. | |
| 14 | +- `a2a.agents` déclare des agents distants : le modèle leur parle avec le nouvel outil `ask_a2a_agent`, et vous avec `/a2a-<nom> <message>` dans le terminal, la fenêtre et l'éditeur — la réponse entre dans la conversation pour votre question suivante. L'outil et la commande partagent une conversation par agent. | |
| 15 | +- `mm a2a-send <url> "message"` parle à un agent depuis un script : la réponse sur stdout, `context: <id>` sur stderr, `--context <id>` pour continuer. | |
| 16 | + | |
| 17 | +Les deux versions du protocole en usage sont parlées : la 1.0 (`SendMessage`, l'actuelle) et la 0.3 (`message/send`) ; le client essaie la 1.0 d'abord. Vérifié avec le client officiel Python `a2a-sdk` 1.3.1. Voir [le mode A2A](../docs/fr/reference/cli.md#spécificités-du-mode-a2a) et [les clés de `a2a`](../docs/fr/reference/configuration.md#clés-de-a2a). | |
| 18 | + | |
| 19 | +### llama-server démarré et arrêté par mm (#223, #257) | |
| 20 | + | |
| 21 | +```yaml | |
| 22 | +llamacpp: | |
| 23 | + autoStart: true | |
| 24 | + sleepIdleSeconds: 300 # réglages de lancement facultatifs, chacun une option de llama-server | |
| 25 | +``` | |
| 26 | + | |
| 27 | +Avec `autoStart`, quand rien ne répond à l'adresse de l'agent (une adresse locale), mm démarre `llama-server` en mode routeur avec le modèle de l'agent — téléchargé à la première utilisation —, attend qu'il soit chargé, et l'arrête avec la dernière session mm qui l'utilise : plusieurs sessions partagent un même serveur. Un serveur que vous avez démarré vous-même, ou celui de l'application Llama, n'est jamais arrêté. Les réglages de lancement `ctxSize`, `modelsMax`, `modelsMemoryMargin`, `fitTarget`, `sleepIdleSeconds` et `specDefault` sont facultatifs (absents = valeur par défaut de llama-server) ; `serverArgs` prend toute autre option. `mm init` pose les deux questions. Désactivé par défaut. Voir [Laisser mm démarrer llama-server](../docs/fr/how-to/run-with-llama-cpp.md#laisser-mm-démarrer-llama-server). | |
| 28 | + | |
| 29 | +### Le fournisseur MLX-Serve (#252) | |
| 30 | + | |
| 31 | +`provider: mlxserve` pour [MLX-Serve](https://github.com/ddalcu/mlx-serve) sur Apple Silicon (port 11234) : la fenêtre servie, un avertissement quand le modèle n'est pas téléchargé (le serveur répondrait sinon avec son modèle par défaut), le raisonnement coupé pour la requête de résumé, `/unload`, `autoPull` et `mm init`. Mesuré sur mlx-serve 26.11.3. Voir [Faire tourner mini-me sur MLX-Serve](../docs/fr/how-to/run-with-mlx-serve.md). | |
| 32 | + | |
| 33 | +### Le modèle est déchargé quand mm se termine (#255) | |
| 34 | + | |
| 35 | +`unloadOnExit` (actif par défaut) : quelle que soit la façon de quitter — `/quit`, Ctrl-C, Ctrl-D, la fenêtre fermée, la fin d'un `-p`, l'éditeur qui ferme la session, SIGTERM —, mm décharge le modèle de l'agent de la mémoire du serveur, en 3 secondes au plus. Rien n'est affiché quand le modèle n'était pas chargé ou que le serveur ne sait pas décharger (dmr, openai, un llama-server mono-modèle). `AGENT_UNLOAD_ON_EXIT=false` le garde chargé le temps d'une exécution. Voir [Quand mm se termine](../docs/fr/how-to/unload-a-model.md#quand-mm-se-termine). | |
| 36 | + | |
| 37 | +### La vitesse de génération dans la barre d'état (#254) | |
| 38 | + | |
| 39 | +`⚡ ~58 tok/s` dans la barre d'état de la fenêtre pendant que le modèle génère, puis la moyenne du tour (ses tokens divisés par le temps passé à les générer, sans le temps des outils). Les chiffres du serveur quand il en envoie (llama-server, MLX-Serve), sinon une mesure de mm. Les éditeurs la reçoivent dans le `_meta` d'un `usage_update`. `showSpeed: false` la désactive. | |
| 40 | + | |
| 41 | +### Les longs tours compressés au fil de l'eau (#251) | |
| 42 | + | |
| 43 | +`context.compressInTurn` (actif par défaut) : à l'intérieur d'un long tour, avant chaque appel au modèle au-delà de `context.threshold` d'une fenêtre connue, les anciens résultats d'outils et les longs arguments d'appel du tour ne gardent que leur première ligne ; si cela ne suffit pas, ils sont remplacés par des notes que le modèle écrit, ajoutées à la question. Les 4 derniers échanges d'outils restent intacts. Un tour qui échouait avec « la requête dépasse la fenêtre du serveur » continue. Mesuré avec Qwen3 1.7B sur une fenêtre de 6 144 tokens : une chaîne de 8 fichiers lus un par un, 4 compressions, la réponse trouvée. Un seul échange plus grand que la fenêtre ne peut pas être compressé. Voir [La compression du contexte](../docs/fr/explanation/context-compression.md). | |
| 44 | + | |
| 45 | +### Des variables dans le prompt système (#253) | |
| 46 | + | |
| 47 | +```yaml | |
| 48 | +variables: | |
| 49 | + project: mini-me, a coding agent written in Go | |
| 50 | +system: | | |
| 51 | + Today is {{date}}. You work in {{cwd}} for {{env.USER}}, on {{config.project}}. | |
| 52 | +``` | |
| 53 | + | |
| 54 | +`{{date}}`, `{{cwd}}`, `{{env.NAME}}` et les `variables:` propres au fichier sous la forme `{{config.NAME}}`, remplacées au début d'une conversation. Une variable dont le nom ressemble à un secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`) est refusée ; une variable non définie est remplacée par rien, avec un avertissement. Voir [`system`](../docs/fr/reference/configuration.md). | |
| 55 | + | |
| 56 | +## Corrections | |
| 57 | + | |
| 58 | +- **La première réponse d'une session MLX-Serve échouait** avec `unexpected end of JSON input` : les commentaires `: keepalive` du serveur cassaient la lecture du flux. Les blocs faits seulement de commentaires sont maintenant ignorés, pour tous les fournisseurs. (#252) | |
| 59 | +- **`fetch_content` renvoyait les liens de redirection de DuckDuckGo** au lieu des pages de résultats, et les modèles les citaient : ils pointent maintenant vers la page elle-même. (#69) | |
| 60 | + | |
| 61 | +## Démos | |
| 62 | + | |
| 63 | +- **`demos/a2a-discussion`** (nouvelle) : trois agents — pour, contre, un modérateur — qui débattent par A2A, sur un seul LFM3 1.7B partagé par un unique llama-server. `start.sh`, `discussion.sh` et `stop.sh` ; mesuré : trois agents prêts en 18 s, un débat de deux tours en 37 s, des débats menés par le modérateur de 4 et 8 appels en 72 s et 130 s. | |
| 64 | +- **`demos/qwen-search`** (nouvelle) : recherche web et revue de presse avec des skills et le seul `fetch_content` — sans serveur MCP —, et une skill avec un catalogue de pages de confiance sur WebAssembly. Qwen3.5 4B réussit tous les cas ; le 2B seulement la revue de presse. | |
| 65 | +- **`demos/prompt-variables`** (nouvelle) : les variables du prompt avec Qwen3.5 4B (et 2B) : ce qu'un petit modèle restitue correctement, et ce qu'il ne sait pas en calculer (le jour de la semaine). | |
| 66 | +- **`demos/mlx-gemma-4-e4b`** (nouvelle, avec son README), **`demos/mlx-gemma-4-12b`**, **`demos/mlx-gemma-4-26b-a4b`** et **`demos/mlx-qwen`** : des agents pour MLX-Serve. | |
| 67 | +- **`demos/olala-mini-dnd`** (Maëlle, un PNJ de jeu de rôle sur Olala-v1.0-mini), **`demos/programming-answers`** (Little Coder sur Mellum2.1 Thinking), **`demos/olala-mini-cpu`**, **`demos/gpt-oss-mini-coder`** (gpt-oss 20b), **`demos/inkling-2-mini-coder`** et **`demos/llamacpp-demo`** : de nouveaux fichiers d'agent. | |
| 68 | +- **`demos/lfm-coder`** a été retirée. | |
| 69 | + | |
| 70 | +## Documentation | |
| 71 | + | |
| 72 | +- Référence de la configuration : `a2a`, `llamacpp`, `unloadOnExit`, `showSpeed`, `context.compressInTurn`, `variables` et les variables du prompt, `mlxserve`. | |
| 73 | +- Référence de la CLI : `mm a2a`, `mm a2a-send`, `--a2a-port`, `AGENT_UNLOAD_ON_EXIT`, la vitesse de génération, les nouvelles options de `mm init` `--autostart` et `--launch-settings`. | |
| 74 | +- Outils et commandes slash : `ask_a2a_agent`, `/a2a-<nom>`, les liens de recherche dépliés de `fetch_content`. | |
| 75 | +- Guides : [Faire tourner mini-me sur MLX-Serve](../docs/fr/how-to/run-with-mlx-serve.md) (nouveau), [Laisser mm démarrer llama-server](../docs/fr/how-to/run-with-llama-cpp.md#laisser-mm-démarrer-llama-server), [Quand mm se termine](../docs/fr/how-to/unload-a-model.md#quand-mm-se-termine), la compression en cours de tour dans [La compression du contexte](../docs/fr/explanation/context-compression.md). | |
| 76 | + | |
| 77 | +## Mise à jour | |
| 78 | + | |
| 79 | +- **Remplacez le binaire** : voir les guides d'installation pour [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) et [Windows](../INSTALL.WINDOWS.md). | |
| 80 | +- **`unloadOnExit` est actif par défaut.** Tous les agents existants déchargent désormais leur modèle quand mm se termine. Mettez `unloadOnExit: false` quand une autre session ou un autre outil utilise le même modèle, ou quand un script lance `mm -p` en boucle (ou `AGENT_UNLOAD_ON_EXIT=false` pour une exécution). | |
| 81 | +- **`context.compressInTurn` est actif par défaut**, indépendamment de `context.enabled` : il n'agit qu'à l'intérieur d'un tour, au-delà de `context.threshold` d'une fenêtre connue. Mettez-le à `false` pour l'ancien comportement. | |
| 82 | +- **`showSpeed` est actif par défaut** : la barre d'état de la fenêtre affiche le chiffre `⚡`. | |
| 83 | +- **`llamacpp.autoStart` est désactivé par défaut** ; `mm init` pose maintenant la question, et écrit `autoStart: true` pour un agent llamacpp local sauf si vous répondez non. | |
| 84 | +- Un prompt système qui contenait déjà `{{date}}`, `{{cwd}}` ou `{{env.…}}` en toutes lettres les voit maintenant remplacés, et un `{{config.…}}` que `variables:` ne définit pas arrête mm au démarrage ; écrivez `\{{date}}` pour en garder un comme texte. | |
| 85 | +- Les versions plus anciennes de mm ignorent les nouvelles clés sans rien dire. | |
| new file mode 100644 | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | +# mini-me v2.1.0 | ||
| 2 | + | ||
| 3 | +*[English version](v2.1.0.en.md)* | ||
| 4 | + | ||
| 5 | +Des agents qui se parlent par A2A, llama-server démarré et arrêté par mm, MLX-Serve comme fournisseur, la vitesse de génération dans la barre d'état, les longs tours compressés au fil de l'eau, et des variables dans le prompt système. | ||
| 6 | + | ||
| 7 | +## Nouveautés | ||
| 8 | + | ||
| 9 | +### A2A : des agents mm qui se parlent (#243, #263) | ||
| 10 | + | ||
| 11 | +mm parle le [protocole Agent2Agent](https://a2a-protocol.org) — JSON-RPC sur HTTP, texte seulement, pas encore de streaming : | ||
| 12 | + | ||
| 13 | +- `mm a2a agent.yaml` sert un agent à d'autres agents : son Agent Card sur `/.well-known/agent-card.json` et les messages auxquels il répond, une conversation par `contextId` A2A. Il écoute sur `127.0.0.1:9100` par défaut (`a2a.port`, `--a2a-port`) ; `a2a.tokenEnv` impose aux appelants un jeton bearer. | ||
| 14 | +- `a2a.agents` déclare des agents distants : le modèle leur parle avec le nouvel outil `ask_a2a_agent`, et vous avec `/a2a-<nom> <message>` dans le terminal, la fenêtre et l'éditeur — la réponse entre dans la conversation pour votre question suivante. L'outil et la commande partagent une conversation par agent. | ||
| 15 | +- `mm a2a-send <url> "message"` parle à un agent depuis un script : la réponse sur stdout, `context: <id>` sur stderr, `--context <id>` pour continuer. | ||
| 16 | + | ||
| 17 | +Les deux versions du protocole en usage sont parlées : la 1.0 (`SendMessage`, l'actuelle) et la 0.3 (`message/send`) ; le client essaie la 1.0 d'abord. Vérifié avec le client officiel Python `a2a-sdk` 1.3.1. Voir [le mode A2A](../docs/fr/reference/cli.md#spécificités-du-mode-a2a) et [les clés de `a2a`](../docs/fr/reference/configuration.md#clés-de-a2a). | ||
| 18 | + | ||
| 19 | +### llama-server démarré et arrêté par mm (#223, #257) | ||
| 20 | + | ||
| 21 | +```yaml | ||
| 22 | +llamacpp: | ||
| 23 | + autoStart: true | ||
| 24 | + sleepIdleSeconds: 300 # réglages de lancement facultatifs, chacun une option de llama-server | ||
| 25 | +``` | ||
| 26 | + | ||
| 27 | +Avec `autoStart`, quand rien ne répond à l'adresse de l'agent (une adresse locale), mm démarre `llama-server` en mode routeur avec le modèle de l'agent — téléchargé à la première utilisation —, attend qu'il soit chargé, et l'arrête avec la dernière session mm qui l'utilise : plusieurs sessions partagent un même serveur. Un serveur que vous avez démarré vous-même, ou celui de l'application Llama, n'est jamais arrêté. Les réglages de lancement `ctxSize`, `modelsMax`, `modelsMemoryMargin`, `fitTarget`, `sleepIdleSeconds` et `specDefault` sont facultatifs (absents = valeur par défaut de llama-server) ; `serverArgs` prend toute autre option. `mm init` pose les deux questions. Désactivé par défaut. Voir [Laisser mm démarrer llama-server](../docs/fr/how-to/run-with-llama-cpp.md#laisser-mm-démarrer-llama-server). | ||
| 28 | + | ||
| 29 | +### Le fournisseur MLX-Serve (#252) | ||
| 30 | + | ||
| 31 | +`provider: mlxserve` pour [MLX-Serve](https://github.com/ddalcu/mlx-serve) sur Apple Silicon (port 11234) : la fenêtre servie, un avertissement quand le modèle n'est pas téléchargé (le serveur répondrait sinon avec son modèle par défaut), le raisonnement coupé pour la requête de résumé, `/unload`, `autoPull` et `mm init`. Mesuré sur mlx-serve 26.11.3. Voir [Faire tourner mini-me sur MLX-Serve](../docs/fr/how-to/run-with-mlx-serve.md). | ||
| 32 | + | ||
| 33 | +### Le modèle est déchargé quand mm se termine (#255) | ||
| 34 | + | ||
| 35 | +`unloadOnExit` (actif par défaut) : quelle que soit la façon de quitter — `/quit`, Ctrl-C, Ctrl-D, la fenêtre fermée, la fin d'un `-p`, l'éditeur qui ferme la session, SIGTERM —, mm décharge le modèle de l'agent de la mémoire du serveur, en 3 secondes au plus. Rien n'est affiché quand le modèle n'était pas chargé ou que le serveur ne sait pas décharger (dmr, openai, un llama-server mono-modèle). `AGENT_UNLOAD_ON_EXIT=false` le garde chargé le temps d'une exécution. Voir [Quand mm se termine](../docs/fr/how-to/unload-a-model.md#quand-mm-se-termine). | ||
| 36 | + | ||
| 37 | +### La vitesse de génération dans la barre d'état (#254) | ||
| 38 | + | ||
| 39 | +`⚡ ~58 tok/s` dans la barre d'état de la fenêtre pendant que le modèle génère, puis la moyenne du tour (ses tokens divisés par le temps passé à les générer, sans le temps des outils). Les chiffres du serveur quand il en envoie (llama-server, MLX-Serve), sinon une mesure de mm. Les éditeurs la reçoivent dans le `_meta` d'un `usage_update`. `showSpeed: false` la désactive. | ||
| 40 | + | ||
| 41 | +### Les longs tours compressés au fil de l'eau (#251) | ||
| 42 | + | ||
| 43 | +`context.compressInTurn` (actif par défaut) : à l'intérieur d'un long tour, avant chaque appel au modèle au-delà de `context.threshold` d'une fenêtre connue, les anciens résultats d'outils et les longs arguments d'appel du tour ne gardent que leur première ligne ; si cela ne suffit pas, ils sont remplacés par des notes que le modèle écrit, ajoutées à la question. Les 4 derniers échanges d'outils restent intacts. Un tour qui échouait avec « la requête dépasse la fenêtre du serveur » continue. Mesuré avec Qwen3 1.7B sur une fenêtre de 6 144 tokens : une chaîne de 8 fichiers lus un par un, 4 compressions, la réponse trouvée. Un seul échange plus grand que la fenêtre ne peut pas être compressé. Voir [La compression du contexte](../docs/fr/explanation/context-compression.md). | ||
| 44 | + | ||
| 45 | +### Des variables dans le prompt système (#253) | ||
| 46 | + | ||
| 47 | +```yaml | ||
| 48 | +variables: | ||
| 49 | + project: mini-me, a coding agent written in Go | ||
| 50 | +system: | | ||
| 51 | + Today is {{date}}. You work in {{cwd}} for {{env.USER}}, on {{config.project}}. | ||
| 52 | +``` | ||
| 53 | + | ||
| 54 | +`{{date}}`, `{{cwd}}`, `{{env.NAME}}` et les `variables:` propres au fichier sous la forme `{{config.NAME}}`, remplacées au début d'une conversation. Une variable dont le nom ressemble à un secret (`…_KEY`, `…_TOKEN`, `…_SECRET`, `…PASSWORD…`) est refusée ; une variable non définie est remplacée par rien, avec un avertissement. Voir [`system`](../docs/fr/reference/configuration.md). | ||
| 55 | + | ||
| 56 | +## Corrections | ||
| 57 | + | ||
| 58 | +- **La première réponse d'une session MLX-Serve échouait** avec `unexpected end of JSON input` : les commentaires `: keepalive` du serveur cassaient la lecture du flux. Les blocs faits seulement de commentaires sont maintenant ignorés, pour tous les fournisseurs. (#252) | ||
| 59 | +- **`fetch_content` renvoyait les liens de redirection de DuckDuckGo** au lieu des pages de résultats, et les modèles les citaient : ils pointent maintenant vers la page elle-même. (#69) | ||
| 60 | + | ||
| 61 | +## Démos | ||
| 62 | + | ||
| 63 | +- **`demos/a2a-discussion`** (nouvelle) : trois agents — pour, contre, un modérateur — qui débattent par A2A, sur un seul LFM3 1.7B partagé par un unique llama-server. `start.sh`, `discussion.sh` et `stop.sh` ; mesuré : trois agents prêts en 18 s, un débat de deux tours en 37 s, des débats menés par le modérateur de 4 et 8 appels en 72 s et 130 s. | ||
| 64 | +- **`demos/qwen-search`** (nouvelle) : recherche web et revue de presse avec des skills et le seul `fetch_content` — sans serveur MCP —, et une skill avec un catalogue de pages de confiance sur WebAssembly. Qwen3.5 4B réussit tous les cas ; le 2B seulement la revue de presse. | ||
| 65 | +- **`demos/prompt-variables`** (nouvelle) : les variables du prompt avec Qwen3.5 4B (et 2B) : ce qu'un petit modèle restitue correctement, et ce qu'il ne sait pas en calculer (le jour de la semaine). | ||
| 66 | +- **`demos/mlx-gemma-4-e4b`** (nouvelle, avec son README), **`demos/mlx-gemma-4-12b`**, **`demos/mlx-gemma-4-26b-a4b`** et **`demos/mlx-qwen`** : des agents pour MLX-Serve. | ||
| 67 | +- **`demos/olala-mini-dnd`** (Maëlle, un PNJ de jeu de rôle sur Olala-v1.0-mini), **`demos/programming-answers`** (Little Coder sur Mellum2.1 Thinking), **`demos/olala-mini-cpu`**, **`demos/gpt-oss-mini-coder`** (gpt-oss 20b), **`demos/inkling-2-mini-coder`** et **`demos/llamacpp-demo`** : de nouveaux fichiers d'agent. | ||
| 68 | +- **`demos/lfm-coder`** a été retirée. | ||
| 69 | + | ||
| 70 | +## Documentation | ||
| 71 | + | ||
| 72 | +- Référence de la configuration : `a2a`, `llamacpp`, `unloadOnExit`, `showSpeed`, `context.compressInTurn`, `variables` et les variables du prompt, `mlxserve`. | ||
| 73 | +- Référence de la CLI : `mm a2a`, `mm a2a-send`, `--a2a-port`, `AGENT_UNLOAD_ON_EXIT`, la vitesse de génération, les nouvelles options de `mm init` `--autostart` et `--launch-settings`. | ||
| 74 | +- Outils et commandes slash : `ask_a2a_agent`, `/a2a-<nom>`, les liens de recherche dépliés de `fetch_content`. | ||
| 75 | +- Guides : [Faire tourner mini-me sur MLX-Serve](../docs/fr/how-to/run-with-mlx-serve.md) (nouveau), [Laisser mm démarrer llama-server](../docs/fr/how-to/run-with-llama-cpp.md#laisser-mm-démarrer-llama-server), [Quand mm se termine](../docs/fr/how-to/unload-a-model.md#quand-mm-se-termine), la compression en cours de tour dans [La compression du contexte](../docs/fr/explanation/context-compression.md). | ||
| 76 | + | ||
| 77 | +## Mise à jour | ||
| 78 | + | ||
| 79 | +- **Remplacez le binaire** : voir les guides d'installation pour [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) et [Windows](../INSTALL.WINDOWS.md). | ||
| 80 | +- **`unloadOnExit` est actif par défaut.** Tous les agents existants déchargent désormais leur modèle quand mm se termine. Mettez `unloadOnExit: false` quand une autre session ou un autre outil utilise le même modèle, ou quand un script lance `mm -p` en boucle (ou `AGENT_UNLOAD_ON_EXIT=false` pour une exécution). | ||
| 81 | +- **`context.compressInTurn` est actif par défaut**, indépendamment de `context.enabled` : il n'agit qu'à l'intérieur d'un tour, au-delà de `context.threshold` d'une fenêtre connue. Mettez-le à `false` pour l'ancien comportement. | ||
| 82 | +- **`showSpeed` est actif par défaut** : la barre d'état de la fenêtre affiche le chiffre `⚡`. | ||
| 83 | +- **`llamacpp.autoStart` est désactivé par défaut** ; `mm init` pose maintenant la question, et écrit `autoStart: true` pour un agent llamacpp local sauf si vous répondez non. | ||
| 84 | +- Un prompt système qui contenait déjà `{{date}}`, `{{cwd}}` ou `{{env.…}}` en toutes lettres les voit maintenant remplacés, et un `{{config.…}}` que `variables:` ne définit pas arrête mm au démarrage ; écrivez `\{{date}}` pour en garder un comme texte. | ||
| 85 | +- Les versions plus anciennes de mm ignorent les nouvelles clés sans rien dire. | ||