Quickstart: Self-Hosted Agents
Use this guide when you want to run the Mutiro agent daemon yourself while keeping Mutiro's built-in Genie brain. If you want Mutiro to run the runtime for you, use the hosted quickstart. If you want to replace Genie with a different brain process, see swap the brain.
Prerequisites
- macOS, Linux, or WSL
- Mutiro CLI
- A model provider key such as
GEMINI_API_KEY,ANTHROPIC_API_KEY, orOPENAI_API_KEY, unless you use a local provider such as Ollama or LM Studio
Install the CLI:
1. Sign Up or Log In
Already have an account?
2. Create a Self-Hosted Agent
Create the agent from the directory where you want its local runtime config to live:
Save the generated API key immediately. It is shown once and starts with mut_key_.
The create command also writes .mutiro-agent.yaml with hosting_mode: self_hosted.
3. Configure a Model Provider
The generated config uses Genie. By default, Genie uses genai with gemini-3.5-flash.
For Gemini, put the provider key in .env:
Genie can also use Anthropic, OpenAI, Ollama, and LM Studio through .mutiro-agent.yaml:
Use ANTHROPIC_API_KEY or OPENAI_API_KEY for hosted providers. Local providers such as Ollama and LM Studio do not require a Mutiro-side model API key.
4. Configure Tools if Needed
For a first self-hosted Genie agent, you can omit tools: and use the default self-hosted tool set.
Add an explicit tools: list only when you want to restrict tools or enable opt-in tools such as web_search, thinking, TodoWrite, working_memory_get, working_memory_update, bash, process, install_skill, or code.
When tools: is present, it is the complete enabled list. Include every tool you still want available.
5. Start the Agent
Keep the process running. Your agent is online while the daemon is connected to Mutiro.
6. Send a Test Message
In another terminal:
You can also use the web app, desktop app, mobile apps, or mutiro chat.