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

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

Download ZIP
🛟 Updated. a334114 · on main · k33g · 10d ago
agent.yaml · 124 lines · 5.1 KBYAML Blame HistoryRaw
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# I'm Smollm3 — a coding agent: reads and changes the project, runs commands.
#
# Written by `mm init`. Every value says why it has that value; change
# them as you watch the agent work:
# https://rickub.com/bots-garden/mini-me/blob/main/guides/agent-settings-for-small-models.md
#
#   model family: smollm3
#   usage:        developer
#   machine:      small — a laptop, models up to about 8B
#   model facts:  read from llmman: native window 65536 tokens; reasoning switch enable_thinking
#
# Where the numbers come from (the tag before their comment):
#   [card]     from the model card or the GGUF, not measured — re-read the new card
#   [guide]    the settings guide's row for this machine
#   [rule]     a rule of thumb, not specific to this model
#
#   mm          or   mm tui          started from the project root (it finds .mm/agent.yaml)

provider: llmman
# The model. Chosen for it (family smollm3): sampling (temperature, top_p,
# max_tokens) and sampling.chat_template_kwargs (enable_thinking). Change the
# model and redo them together — running mm init again is the quick way.
model: "hf.co/unsloth/SmolLM3-3B-GGUF:Q4_K_M"
# No baseUrl: llmman's defaults apply. For the record:
# baseUrl: "http://127.0.0.1:17434/v1"
# fallback: "http://host.docker.internal:17434/v1"   # tried when baseUrl does not answer

# 0 = mm asks the server for the window it serves (the model's native window
# is 65536 tokens; the server may serve less)
contextWindow: 0
# your answer: every command and file change waits for your answer
yolo: false
# usage developer
bashTool: true
editTools: true
planTool: true
askUserTool: true
# family smollm3: its chat template reads the tools from xml_tools and writes
# its calls as <tool_call> text — mm sends them there and reads the calls
# back
toolFormat: xml_tools
# no skills: add a .mm/skills/ folder and set skillsDir: .mm/skills to use
# some (see
# https://rickub.com/bots-garden/mini-me/blob/main/docs/en/how-to/add-a-skill.md)
skillsDir: no-skills
# usage developer
maxTurns: 40
# [guide] settings guide, row "Small model (≤ 8B), short tasks"
maxOutput: 8000
firstTokenTimeout: 3m
# [guide] aligned on bashTimeout, as the settings guide says when bash is on
# (section 3)
watchdogTimeout: 30s
# [guide] settings guide, row "Small model (≤ 8B), short tasks"
bashTimeout: 30s

sampling:
  # [rule] precise temperature for a developer agent without reasoning (family
  # smollm3)
  temperature: 0.2
  # [card] family smollm3: SmolLM3-3B model card ("We recommend setting
  # temperature=0.6 and top_p=0.95 in the sampling parameters";
  # generation_config.json: temperature 0.6, top_p 0.95) — one
  # recommendation, used for both modes; reasoning on by default in the
  # template (enable_thinking defaults to true; a /think or /no_think flag in
  # the system prompt overrides the kwarg); precise: rule
  top_p: 0.95
  # [rule] room for an answer or a whole file in one tool call
  max_tokens: 4096
  # one tool call per reply: small models run a check before the change it
  # checks has landed otherwise
  parallel_tool_calls: false
  chat_template_kwargs:
    # reasoning off: family smollm3 is kept off — see the note at the end of
    # the file (read from the chat template)
    enable_thinking: false

context:
  # compress the history before the window is full (settings guide, every row)
  enabled: true
  # mm's default: 75 % of the window the server serves, a quarter left for the
  # next question and its tool outputs
  threshold: 75

sessions:
  # your answer: every conversation is saved; /sessions lists them, /resume
  # reopens one
  enabled: true
  # relative to the directory mm is started from: one folder per project
  dir: .mm/sessions

trace:
  enabled: true
  dir: .mm/traces

agentsMd:
  # An AGENTS.md in the project directory is added to the system prompt.
  enabled: true

acp:
  name: i'm smollm3
  title: "I'm Smollm3 (developer)"

system: |
  Your name is I'm Smollm3.
  You are a coding agent working in a terminal, in the user's project.
  You have a bash tool, file tools (read_file, write_file, edit_file) and a
  plan tool.
  Read before you change: look at the files and run the commands that tell
  you how the project works. Make the smallest change that does the job,
  then run the tests or the build to check it.
  Never state the output of a command you did not run in this answer.
  When a task has several steps, make a plan and update it as you go.

# This model is kept with reasoning off (enable_thinking: false), whatever
# the usage: measured 2026-11-13 on SmolLM3-3B Q4_K_M with toolFormat:
# xml_tools, with reasoning on it repeats its call after the tool's answer
# (3 runs out of 3), with it off it answers (6 out of 6). Tasks of several
# steps stay fragile at 3B.

# Next: skills      https://rickub.com/bots-garden/mini-me/blob/main/docs/en/how-to/add-a-skill.md
#       MCP servers https://rickub.com/bots-garden/mini-me/blob/main/docs/en/tutorials/mcp-getting-started.md
#       hooks       https://rickub.com/bots-garden/mini-me/blob/main/docs/en/how-to/guard-the-agent-with-hooks.md
#       sessions    https://rickub.com/bots-garden/mini-me/blob/main/docs/en/how-to/keep-sessions.md