Skip to content
microPublic

About

A self-hosted personal workspace

Topics

Resources

Contributing

Stars

445 stars

Watchers

0 watching

Forks

Latest commit

 

History

6,013 Commits

Folders and files

Repository files navigation

Mu

Your personal space, self-hosted. Open or make apps for everyday tasks, with mail and the Micro assistant in the same space.

Install Mu · Explore apps

What is Mu?

Mu brings your everyday tools together on a server you control. Open an app, read your mail, catch up on your day or ask Micro, the built-in assistant, for help. Access your space from a phone, tablet or computer.

Use apps for learning, creating and everyday tasks. Generate an app from a description, bring one you made elsewhere, or adapt one from micro/xyz. Share a public app by link without sharing your private conversations or account data.

Try a free public app without signing in. Sign in to add an app to Home and find it again on your other devices.

Why does it exist?

Your email address, conversations and everyday tools can become tied to a provider's account. Losing access to that account can mean losing access to much more than one application. Mu gives you a place to bring these things together on infrastructure you control, with your own domain and a choice of services.

Ownership does not require operating every piece of infrastructure. Mu can deliver outbound mail through an SMTP relay, and its assistant can read recent mail from a connected Gmail account. A complete connected-mailbox experience is still being built; adopting Mu need not start with moving your existing mailbox.

Apps make the space useful directly. Assistants can help you use its capabilities or create new interfaces. You choose the tools and model providers rather than having the entire space depend on one assistant.

Self-hosting also means responsibility for backups, updates and recovery. External providers still receive the data needed for the operations you enable.

How does it work?

Mu runs as one Go binary. It hosts accounts, data, services, apps and agents, with a web interface that brings them together.

Part What it does
Home Open apps, return to recent activity and see previews of your day.
Inbox Read correspondence and agent conversations.
Apps Focused interfaces for activities such as learning or keeping a list.
Services Capabilities and data such as mail, events, files, search and video.
Agents Use instructions and permitted service tools to help with requests. Micro is the default.

Services own capabilities and data. Apps provide interfaces; agents add assistance. Home and Inbox compose the experience above those layers. Reading mail or using an app does not inherently require a model call.

Accounts and groups control access. Hosted apps have their own storage and can use supported services through the Apps SDK. Private service access remains restricted; publishing an app shares its interface, not the author's data or credentials. Sharing a shopping-list app does not yet make the list collaborative.

The full web interface provides the broadest experience. Other clients expose selected parts of the space. HTTP APIs, MCP and SDKs let other software and assistants connect to the same server.

Get started

curl -fsSL https://raw.githubusercontent.com/micro/mu/main/install.sh | sh
~/.local/bin/mu --serve --address 127.0.0.1:8080

Open http://localhost:8080 to create your account. Add a model provider when you want to use the assistant. See Install Mu, then hosting and maintenance and mail and custom domains for an internet-facing installation.

What works today

Mu provides a web interface, accounts, mail with SMTP/IMAP, apps, agents and service APIs. Custom-domain mail requires operator configuration of DNS, TLS, sender authentication and delivery; inbound filtering also affects which mail is accepted. See mail and messaging before moving a mailbox.

Browse the app catalogue from Apps to install published XYZ apps. The index refreshes independently of Mu releases; installation is explicit and apps start private.

Apps can be generated, manually authored or imported as JSON packages. Maintained examples live in micro/xyz. Public apps can be shared without a login; connected services keep their own access requirements.

Mu is not yet a complete Google Workspace replacement. Guided mailbox migration, comprehensive export/restore workflows, child profiles and collaborative office editing are not promised here. The product direction records the next priorities.

Build on your space

Connect an external assistant to https://YOUR_SERVER/mcp with a Services token restricted to the capabilities it needs. The server's /tools page lists its MCP tools and connection instructions. For app creation, discover apps_create, apps_read, apps_edit, apps_build and apps_share: Create saves supplied HTML, Build generates it, and Share explicitly publishes an app you own. Read returns source for owned apps so another assistant can edit it.

MCP exposes tools to assistants. HTTP APIs and the TypeScript and Python SDKs let applications use the same services and permissions. Use the Apps SDK for interfaces hosted within Mu. Service calls use /api/v1/<service>/<method>; /api on your server documents their contracts.

To talk to Mu's assistant instead of calling services, use /agent or /agent/NAME. The focused /mcp/assistant endpoint carries assistant and Inbox operations; it does not expose the service catalogue or app-authoring tools.

Architecture

Go Micro supplies the underlying framework. Mu's runtime hosts the personal space and enforces its account, storage and service boundaries. Services remain independently callable; they do not depend on agent execution.

MUCP (Micro Communication Protocol) carries typed client/server operations. Mu's product contracts describe Home, Inbox, assistant interactions and services. MCP is a separate interface for external assistants to call tools. See Architecture, MUCP and the proto contracts for implementation details.

Clients

Choose an interface for the part of your space you need. The full web interface provides Home, Inbox, Apps, Agents and Services. The Android, desktop and standalone web clients currently focus on assistant interactions and selected views; they do not yet reproduce every part of the full web interface. Mail clients connect through IMAP and SMTP. APIs and the CLI support scripts and integrations.

See the client map for implementation details.

API

curl "$MU_URL/agent" \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"prompt":"What needs my attention?"}'

The response includes text and thread; send the thread identifier back to continue. Requests and credentials belong in request bodies and headers. To embed an agent in your app and supply surrounding conversation messages, see Agent integration. The Mu runtime contracts provide Home, Inbox, agent and service discovery interfaces, with durable personal requests and typed results. These are Mu's product contracts, separate from the general MUCP transport. Service contracts describe individual capabilities; the runtime profile identifies which direct MUCP bindings are implemented. Service HTTP APIs and MCP tools remain separately available. A separately configured x402 host provides paid service calls.

CLI

The binary 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 help

Use the TypeScript SDK or Python SDK to call Mu from your own applications and agents.

The standalone Mu CLI connects to a remote runtime with mu-cli login, mu-cli ask and mu-cli chat, without installing the server.

Web

Open http://localhost:8080 to create your account and choose an AI provider.

The full web experience at /home installs as the Mu PWA. The separate React/TypeScript client runs independently with npm run dev or from the mu-web.zip release using node serve.mjs. Mu also serves its production build at /app/, reusing your website sign-in. Desktop apps package this client for Windows, Mac and Linux.

Mobile

The Android app provides voice and text interaction with your agents. It connects to micro.mu by default; choose your own server in Settings. Use the web client on iPhone and iPad, or install the runtime PWA for the full web experience. Find available apps on the downloads page.

Commercial

Mu’s runtime and client applications are available under the GNU AGPL v3, which permits personal and commercial use, including charging for a hosted service. No commercial licence is required when you comply with the AGPL.

The AGPL includes source-sharing obligations:

  • When distributing Mu or a covered derivative, provide the corresponding source to recipients as required by the licence.
  • When running a modified version over a network, prominently offer its corresponding source to the users interacting with it.

For a proprietary product based on Mu, a written commercial agreement can provide alternative terms for rights Micro is authorised to license. See commercial licensing and support for scope and the proposed future runtime licensing boundary. That proposal is not yet in effect; the AGPL permissions above continue to apply.

About

A self-hosted personal workspace

Topics

Resources

Contributing

Stars

445 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages