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
- 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).
- 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.
- 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).
- Name shown: mini-me's (
- 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
PATHat 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!(andwhoamifails): its files were written by an mm without the account fix ofmm dockerinit. Update mini-me, then, in the agent's folder, write the files again and rebuild the image:rm Dockerfile compose.yaml && mm dockerinit, thendocker compose up -d --build(Sidekicks' own create command does not rebuild an image that exists). Open a new terminal: the prompt showsmm@…. - 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
agentsFolderin Settings, for exampleagentsFolder: ~/agents. The next agents are created there.
See also
- How to add an agent — any program, any folder, with every field.
- How to run an agent in a Docker container · How to run an agent in an sbx sandbox
- How it works:
CreatorService
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 |
|