The runtime for Micro, a personal assistant.
Ask on the web, send an email, or message it from your phone. Mu runs the assistant, its tools, and your saved conversations in one Go binary that you can host yourself. Try the hosted instance at micro.mu.
The web starts with one input. Ask a question or give an instruction; the answer appears below it. The prompt moves up on the first request and stays there while you read and continue the conversation.
- Inbox keeps saved conversations and incoming messages together. Return to a web conversation and continue where you left off.
- Account holds your profile, connections, client credentials, and billing.
- Admin, visible to administrators, holds users, settings, logs, and server controls.
One shared stylesheet (/mu.css) and browser script (/mu.js) serve the pages.
HTML is rendered in Go. There is no frontend build step. The site includes a
manifest and service worker so it can be installed as a PWA.
Open Contact in the footer, or Account → Reach Micro, for the addresses and numbers configured on your instance. Add Micro to your phone's contacts from that page.
| Channel | How it fits |
|---|---|
| Web | Start a conversation or reopen one from Inbox. |
Send or forward a message to agent@your-domain from your verified email address. Include what you want the assistant to do. |
|
| SMS | Verify your phone number in Account, then text the configured number. |
| Use your verified number to message the configured WhatsApp sender. | |
| XMPP | Connect with your account and a Chat token from Client access, then message the agent. |
Email, SMS, WhatsApp, and XMPP require the corresponding server configuration. SMS and WhatsApp use Twilio; they are not enabled merely by installing Mu. Contact lists the configured ways to reach the assistant. Incoming mail must pass the sender checks; account identity comes from verified addresses and numbers, not from whatever a message claims.
Conversations from the different channels appear in one inbox, but are still separate threads. Switching from a web conversation to a fresh SMS does not automatically continue that exact thread. Replies retain their channel context. Forwarding mail to your own mailbox stores it; addressing an agent asks it to act. WhatsApp replies are subject to the provider's messaging window.
Micro is the default agent. Agents have instructions and a permitted set of tools. Services provide those tools: mail, files, calendar, search, weather, notes, shell, and more. You ask for an outcome; the agent chooses the tools.
Optional Google connections provide access to Gmail, Calendar, Contacts, and
Drive with your consent. User-created agents can have different instructions
and access; mail to you+research@your-domain addresses your Research agent.
Google reads use the signed-in account's connection and granted scope. Gmail searches default to the last 30 days unless an explicit date range is supplied. The assistant carries at most 24 recent messages within a 16,000-character history budget. Older conversations and saved notes are read through permitted tools when needed, rather than automatically added to every question. Disconnecting Google stops new reads; it does not erase answers already saved in your Inbox.
An explicitly requested job can run in the background and return its result to
the originating conversation. Execution lives under agent/work; task records
live in service/tasks. The personal daily brief remains available. Other
unsolicited model-generated feeds are disabled.
Account → Client access shows connection details and creates tokens with an explicit choice of Mail, Chat, or both.
- IMAP reads the inbox; SMTP submission sends mail using a Mail token.
- XMPP uses a Chat token.
- SFTP transfers stored files using a registered SSH key.
- SSH opens an interactive terminal in your account's sandbox using that key. It does not grant access to the host machine. Remote exec and port forwarding are not supported.
SSH/SFTP must be enabled by the operator. Legacy SHELL_SHARED execution is
blocked; existing shared workspaces need migration to per-account containers. Mail and XMPP public TLS endpoints
require the proxy setup described in the installation guide. The page reports
configured settings; it cannot verify that external DNS, ports, or proxies work.
curl -fsSL https://raw.githubusercontent.com/micro/mu/main/install.sh | sh
mu setup
mu --serveOpen http://localhost:8080. Initial administrator setup depends on the instance's bootstrap configuration; see the installation guide.
Configure an AI provider with mu setup. Supported settings include
ANTHROPIC_API_KEY, ATLASCLOUD_API_KEY, GEMINI_API_KEY,
OPENROUTER_API_KEY, or an OpenAI-compatible OPENAI_BASE_URL.
Individual tools may need provider keys, such as BRAVE_API_KEY for web search
or YOUTUBE_API_KEY for video. Google sign-in and payments are optional.
From source:
git clone https://github.com/micro/mu
cd mu
go install
mu setup
mu --serveOr run docker compose up from the checkout. See the
installation guide for domains, TLS, mail, messaging,
sandbox configuration, and deployment.
The binary also acts as a client. It defaults to the hosted instance; set
MU_URL or use mu login https://your.host for your own server.
mu ask "What needs my attention?"
mu inbox list
mu helpCLI and API operations require a credential with the appropriate API or service permissions. Client access offers separate Mail/Chat protocol tokens, Assistant API / MCP tokens with selected capabilities and optional actions, and tokens restricted to selected services. Protocol tokens do not grant CLI, agent API, or MCP access. Agent API access can execute your account’s agents with their configured tools; use service scopes when a client should reach only specific capabilities.
The JSON API at /api/v1 and MCP protocol at /mcp retain Agent, Work, and Inbox
operations. Service-scoped credentials select service operations instead. The
old browser API and MCP documentation pages have been removed.
curl "$MU_URL/api/v1/agent/ask" \
-H "Authorization: Bearer $MU_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"prompt":"What needs my attention?"}'The response includes data.text and data.thread; send the thread identifier
back to continue. Requests and credentials belong in request bodies and headers.
A separately configured x402 host provides paid service calls.
go build ./...Pages, styles, scripts, and bundled service data are embedded in the binary; changes require rebuilding. Server settings are available in Admin → Settings.
VERSION names the release. Updating it on main runs the release workflow,
which builds Linux and macOS binaries, creates the version tag, and publishes
the release. A version-tag push or manual workflow dispatch is also supported.
AGPL 3.0
App builds are queued and return an ID immediately. Use Apps.BuildStatus with
that ID, Apps.Read with the returned slug, or the build status URL to follow the
result. Reuse request_key when retrying a submission; without one, identical
requests by the same account resolve to the same build. Build records and model
output are checkpointed under the data directory. Recovery retains the same ID,
counts interrupted model calls against the three-attempt limit, and never
restarts a completed model call just to retry saving. Generated apps start private.
An interrupted provider request can still incur a charge. This queue assumes one
server process owns the data directory; it is not a distributed worker queue.
Anonymous model prompts are disabled by default. ALLOW_GUEST_AI=true explicitly
re-enables them with guest limits: 10 calls per browser, 30 per IP and 100 across
the instance per hour (GUEST_MAX_PER_CLIENT, GUEST_MAX_PER_IP,
GUEST_MAX_TOTAL, GUEST_WINDOW_MINUTES). These count admitted guest requests,
not individual model/tool calls, and reset on restart. Public pages remain
readable; these controls do not prevent all scraping. Configure TRUSTED_PROXY
correctly so client addresses are resolved at the intended boundary.
Dynamic HTTP routes are limited before page handling. Public reading stays open; priced service operations require an authenticated, verified/approved account or an authenticated x402 wallet using the existing payment gate. Assistant runs have separate account budgets, including failed attempts. Account and operator billing exemptions do not bypass these attempt budgets.
| Setting | Default |
|---|---|
HTTP_MAX_PER_MINUTE |
300 per IP, including authenticated traffic |
HTTP_GUEST_MAX_PER_MINUTE |
60 per IP |
HTTP_GUEST_MAX_PER_HOUR |
300 per IP |
AUTH_MAX_PER_15_MINUTES |
20 non-GET authentication requests per IP |
ASSISTANT_MAX_PER_HOUR |
60 runs per account |
ASSISTANT_MAX_PER_DAY |
300 runs per account |
ASSISTANT_MAX_CONCURRENT |
2 runs per account |
PAID_MAX_PER_HOUR |
300 priced service attempts per account |
PAID_MAX_PER_DAY |
1,000 priced service attempts per account |
These are fixed windows beginning with the first attempt, not monetary spending
caps. Positive settings override defaults; zero does not disable protection.
Known /mu.css, /mu.js, manifest, favicon, robots and /static/ assets bypass
HTTP limits. IPv6 clients share a /64 limit. Configure TRUSTED_PROXY for your
actual reverse proxies; forwarded chains are read from the trusted end.
Attempt counters are committed to abuse.db before work starts. They survive a
process restart when the same data directory is retained. Expired rows are
pruned; the store caps identities at 20,000 and refuses new ones when full.
Storage failure refuses protected requests. Daily successful-operation counts
are also persisted. This supports one server process per data directory, not
multiple independent replicas. Existing credit billing remains separate.
HTTP limits return 429 and Retry-After; protection-storage or admission-queue
failures return 503 and Retry-After. Tool protocol errors retain their native
format. /admin/traffic?window=day includes a 24-hour view, HTTP status/endpoint
counts and instrumented model call counts. Requests rejected before identity
validation appear under unattributed and http-refused, not under a guessed
account. New counters start at deployment;
2xx HTTP responses can still contain application or MCP errors. Agent model
counts are reported when the run records its usage; an interrupted run may not
report them. These application limits bound ordinary abuse, not distributed
volumetric attacks or all copying of public content.