bots-garden/sidekickspublic Fork
⑂ feature/116-mermaid
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

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

Download ZIP
#101 Agents créés dans Documents/Sidekicks-Agents 3bd0051 · on feature/116-mermaid · agent · 9d ago
create-a-mini-me-agent.md · 37 lines · 4.2 KBmarkdown
Blame HistoryOpen raw

How to create a mini-me agent

This guide shows how to create a new mini-me agent from the Sidekicks window, by answering questions, without writing a file or choosing a folder. It assumes mini-me (mm) 1.0.9 or later is installed, and that a model server runs (Docker Model Runner, llmman, Ollama…): the questions list its models. To add an agent that already exists, or another program than mini-me, use How to add an agent instead.

Steps

  1. Open the assistant: ✨ Create my first agent on the welcome screen, ✨ Create a mini-me agent under the agents list, or Create a mini-me agent in the command palette (⌘K, Ctrl+K on Linux and Windows).
  2. Answer the questions of mini-me, a few at a time: the model server, the model, what the agent is for, which machine runs the model, whether it asks before each command or file change, the agent's name… Each question comes with mini-me's default: Next → takes it. About these choices explains the options.
  3. When mini-me has written the agent, give its last details:
    • Name shown: mini-me's (Marcel (developer)), which you can change.
    • Name: what you call it with in a conversation (@marcel), and the name of its folder. It starts from the name you gave mini-me, then follows the Name shown when you change it, until you type it yourself; lowercase letters, digits, - and _, starting with a letter. A name already used is said before you click, with a free one to try.
    • Emoji: pick one, or type any emoji.
    • Where does it run? On this computer (the simplest), In a Docker container (Docker must be installed) or In a Docker Sandbox (sbx) (sbx must be installed).
  4. Click Add the agent. Its direct conversation opens: write to it.

The agent's folder is created in the Sidekicks-Agents folder of your Documents, named after the agent (~/Documents/Sidekicks-Agents/marcel). Its settings are in .mm/agent.yaml there; for a container or a sandbox, mini-me also writes Dockerfile and compose.yaml, or sbxenv.yaml, and Sidekicks creates the container or the sandbox the first time the agent starts.

When something goes wrong

  • "mini-me (mm) is not installed on this computer": install mini-me, then click Try again. If it is installed but Sidekicks was opened from the Finder, quit Sidekicks and open it again: it reads your shell's PATH at startup.
  • "mini-me 1.0.8 is installed, but this assistant needs mini-me 1.0.9 or later": update mini-me, then click Try again.
  • "No model server answered": the model is then asked as text. Start your model server, then click Start again; or type the model's name yourself if you know it.
  • "A folder with this name already exists" or "Another agent already has this name": change the Name and click Add the agent again. An existing folder is never changed.
  • The Terminal of an agent in a container shows I have no name! (and whoami fails): its files were written by an mm without the account fix of mm dockerinit. Update mini-me, then, in the agent's folder, write the files again and rebuild the image: rm Dockerfile compose.yaml && mm dockerinit, then docker compose up -d --build (Sidekicks' own create command does not rebuild an image that exists). Open a new terminal: the prompt shows mm@….
  • The questions stopped (after ← Previous question, for instance): click Continue to go on where you were, or Start again.

Variants

  • Go back: ← Previous question takes back your last answer and asks it again; Start again forgets every answer.
  • Give up: Cancel, or opening a channel, closes the assistant; what mini-me had written is removed.
  • Another folder: set agentsFolder in Settings, for example agentsFolder: ~/agents. The next agents are created there.

See also

 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
# How to create a mini-me agent

This guide shows how to create a new [mini-me](https://git.rickub.com/bots-garden/mini-me) agent from the Sidekicks window, by answering questions, without writing a file or choosing a folder. It assumes mini-me (`mm`) **1.0.9 or later** is installed, and that a model server runs (Docker Model Runner, llmman, Ollama…): the questions list its models. To add an agent that already exists, or another program than mini-me, use [How to add an agent](add-an-agent.md) instead.

## Steps

1. Open the assistant: **✨ Create my first agent** on the welcome screen, **✨ Create a mini-me agent** under the agents list, or **Create a mini-me agent** in the command palette (⌘K, Ctrl+K on Linux and Windows).
2. Answer the questions of mini-me, a few at a time: the model server, the model, what the agent is for, which machine runs the model, whether it asks before each command or file change, the agent's name… Each question comes with mini-me's default: **Next →** takes it. **About these choices** explains the options.
3. When mini-me has written the agent, give its last details:
   - **Name shown**: mini-me's (`Marcel (developer)`), which you can change.
   - **Name**: what you call it with in a conversation (`@marcel`), and the name of its folder. It starts from the name you gave mini-me, then follows the **Name shown** when you change it, until you type it yourself; lowercase letters, digits, `-` and `_`, starting with a letter. A name already used is said before you click, with a free one to try.
   - **Emoji**: pick one, or type any emoji.
   - **Where does it run?** **On this computer** (the simplest), **In a Docker container** (Docker must be installed) or **In a Docker Sandbox (sbx)** (sbx must be installed).
4. Click **Add the agent**. Its direct conversation opens: write to it.

The agent's folder is created in the **Sidekicks-Agents** folder of your Documents, named after the agent (`~/Documents/Sidekicks-Agents/marcel`). Its settings are in `.mm/agent.yaml` there; for a container or a sandbox, mini-me also writes `Dockerfile` and `compose.yaml`, or `sbxenv.yaml`, and Sidekicks creates the container or the sandbox the first time the agent starts.

## When something goes wrong

- **"mini-me (mm) is not installed on this computer"**: install mini-me, then click **Try again**. If it is installed but Sidekicks was opened from the Finder, quit Sidekicks and open it again: it reads your shell's `PATH` at startup.
- **"mini-me 1.0.8 is installed, but this assistant needs mini-me 1.0.9 or later"**: update mini-me, then click **Try again**.
- **"No model server answered"**: the model is then asked as text. Start your model server, then click **Start again**; or type the model's name yourself if you know it.
- **"A folder with this name already exists"** or **"Another agent already has this name"**: change the **Name** and click **Add the agent** again. An existing folder is never changed.
- **The Terminal of an agent in a container shows `I have no name!`** (and `whoami` fails): its files were written by an mm without the account fix of `mm dockerinit`. Update mini-me, then, in the agent's folder, write the files again and rebuild the image: `rm Dockerfile compose.yaml && mm dockerinit`, then `docker compose up -d --build` (Sidekicks' own create command does not rebuild an image that exists). Open a new terminal: the prompt shows `mm@…`.
- **The questions stopped** (after **← Previous question**, for instance): click **Continue** to go on where you were, or **Start again**.

## Variants

- **Go back**: **← Previous question** takes back your last answer and asks it again; **Start again** forgets every answer.
- **Give up**: **Cancel**, or opening a channel, closes the assistant; what mini-me had written is removed.
- **Another folder**: set [`agentsFolder`](../reference/configuration.md#top-level) in **Settings**, for example `agentsFolder: ~/agents`. The next agents are created there.

## See also

- [How to add an agent](add-an-agent.md) — any program, any folder, with every field.
- [How to run an agent in a Docker container](run-an-agent-in-docker.md) · [How to run an agent in an sbx sandbox](run-an-agent-in-a-sandbox.md)
- How it works: [`CreatorService`](../reference/agents-and-events.md#creatorservice)