> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replicas.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Motherships

> Long-lived orchestrators that delegate a domain's work to ship workspaces.

A Mothership is a named workspace dedicated to one domain, such as billing or onboarding. It plans and delegates: each piece of work goes to a ship, while the Mothership keeps its own context lean and reports back as its ships finish.

## Create a Mothership

1. Click **+** next to **Motherships** in the left sidebar and pick an [environment](https://docs.replicas.dev/features/environments.md). The Mothership is created right away and opens.
2. Rename it from its header. Until you do, your first message names it.
3. Send it work in any of its chats. It replies right away with what it delegated, then acts on each result as it arrives.

The first time you open a Mothership you created, a short tour shows what it does and how it works with Slack and Linear.

Every chat in a Mothership runs as its orchestrator.

To create one from the [API](https://docs.replicas.dev/api-reference/replica/create-replica.md) or the `create_replica` [MCP](https://docs.replicas.dev/features/mcp.md) tool, set `kind` to `mothership` and use a personal API key.

## Convert a workspace

To turn one of your own workspaces into a Mothership, right-click it in the sidebar and choose **More** → **Make Mothership**, or press and hold it in the [mobile app](https://docs.replicas.dev/features/mobile-app.md) and tap **Make Mothership**. You can also use the [API](https://docs.replicas.dev/api-reference/replica/make-replica-a-mothership.md) or the `make_mothership` [MCP](https://docs.replicas.dev/features/mcp.md) tool.

* It keeps its chats, sandbox and history. Its next turn in every chat runs as the Mothership; a turn already running finishes as it started.
* Ships, archived workspaces and environment setup workspaces can't be converted.
* A `delete_when_done` or `archive_when_done` workspace switches to the default lifecycle so it isn't removed after its next turn.
* It can't be turned back into a regular workspace.

## Ship updates

After delegating, the Mothership replies and ends its turn. News from its ships starts a new turn, or reaches it mid-turn if it's still working: a finished turn, or pull requests that are ready or need attention.

## Sidebar

The **Motherships** section lists your Motherships with their status: needs attention, working (the Mothership or any of its ships is working or following up pull requests), ready, or idle. Drag a Mothership to reorder the section, the same way as **Pinned**; the order syncs across your devices, and new Motherships join at the bottom. Motherships always stay in this section, so they can't be pinned or moved to another one.

Each Mothership gets its own icon when it's created. To change it, click the icon in its header and pick another icon or choose **Upload image** (JPG, PNG, WebP or GIF under 5 MB). **Remove image** switches it back to an icon from the set.

## Slack

Give a Mothership its own Slack channel from the Slack button in its header, or with the `add_mothership_slack_channel` [MCP](https://docs.replicas.dev/features/mcp.md) tool. Mention @Replicas in that channel to message it, and it replies under its own name and icon. See [Mothership channels](https://docs.replicas.dev/features/slack.md#mothership-channels).

## Linear

Send [Linear](https://docs.replicas.dev/features/linear.md) tickets to a Mothership by telling it which ones you want, like "send me support-labeled tickets in the current REP cycle", or from the Linear button in its header. Pick a team and, optionally, the current cycle, labels, a project and an assignee; a ticket must match all of them, and have at least one of the labels. New tickets that match, and tickets that start matching later (moved into the cycle, labeled, assigned), arrive once each with their description and the reason they matched. Finished tickets and tickets already delegated to an agent are skipped. If two of your Motherships match a ticket, the one linked first gets it.

## Sharing

[Share](https://docs.replicas.dev/features/workspaces/overview.md) a Mothership to run it together. Teammates you share it with see it in their **Motherships** section with its ships, get its notifications, and can reach its ships from the [API](https://docs.replicas.dev/features/api.md) and CLI. Ships still run as the Mothership's creator.

## Notes

A Mothership keeps notes on its domain, ongoing work and decisions in `~/.replicas/canvas/mothership-notes.md`. It reads them at the start of each turn and updates them when something durable changes. The file survives the workspace sleeping, and you can read it in the [Canvas](https://docs.replicas.dev/features/workspaces/canvas.md).

## Ships

Each ship is its own [workspace](https://docs.replicas.dev/features/workspaces/overview.md) with its own sandbox, built from its Mothership's environment. To change that environment, open the Mothership's info panel and click **Change** next to **Environment**. Ships you spawn afterwards use the new environment; existing ships keep theirs, and the Mothership's own sandbox keeps the repositories it started with. A Mothership can also start a ship in another environment its owner can use, such as a backend-only one for a backend task: ask it to, or it picks one whose repositories fit the task. The Ships pane shows a ship's environment on hover when it isn't the Mothership's. It receives only the task the Mothership writes for it, and it does not see uncommitted changes in the Mothership.

In the sidebar, ships with open work are listed under their Mothership with their state (working, ready for review, or blocked) and open pull requests. A pull request is ready for review once its ship finishes its turn, even while CI runs; its checks show next to it. Click a pull request to review it. The Mothership's row shows when a pull request is ready for review. A blocked ship is the Mothership's to handle: the Mothership's row only needs you when the Mothership itself asks you something.

The Mothership's right pane opens on the **Ships** tab, which groups ships and their pull requests under **Needs you**, **Ready to merge**, **Ready to review**, **Ships working**, and **Shipping** (merged and deploying); hover a pull request to see its checks. Click a ship's name to open it in the right pane, where you can follow its work, message it directly, or open its full workspace. On smaller screens, use the **Ships** button in the header. Replies to your own messages stay in the ship's workspace.

A Mothership can hold up to 20 ships that are not archived. The Mothership archives a ship once its pull requests are merged or closed, and messaging an archived ship restores it. Ships cannot spawn their own ships.

## Pull request follow-through

A ship that opens a pull request is not done until the pull request is ready. [CI failures](https://docs.replicas.dev/features/github.md#ci-failure-response) and [review comments](https://docs.replicas.dev/features/github.md#auto-respond-to-review-bots-and-users) are still fixed automatically in the ship's workspace, and the Mothership tracks them instead of calling the work finished.

Once activity settles, the Mothership gets one report per ship:

* **Ready**: CI passes, automatic fixes are done, and nothing but a human review or branch protection blocks the merge. The report summarizes what was fixed along the way.
* **Needs attention**: CI still fails with no fix running, the pull request is a draft, has conflicts or another merge blocker such as requested changes, or fixes have not settled within an hour. The Mothership messages the ship or asks you.
* **Merged or closed**: the ship's task is done, and the Mothership archives it. The Mothership acts on it only when other work waits on it, such as starting the next task once a pull request merges.

When every ship's pull request is ready, the Mothership gives you one consolidated summary. Replicas also notifies you when a pull request is ready for review or the Mothership needs you: a toast in the dashboard, or a notification from the [desktop app](https://docs.replicas.dev/features/desktop-app.md) when it is in the background.

## Tools

The Mothership manages ships with these tools from the [Replicas MCP server](https://docs.replicas.dev/features/mcp.md). They are not available in Cursor chats.

| Tool | Description |
| - | - |
| `spawn_subagent` | Start a ship with a self-contained task. It uses the Mothership chat's coding agent, model, and thinking level unless `coding_agent`, `model`, or `thinking_level` is set. `service_tier` (`fast` or `ultrafast`), `goal_mode`, and `plan_mode` set its speed and mode |
| `message_subagent` | Send a follow-up to a ship, waking it if it is asleep. A working ship is steered mid-turn when its agent supports it, unless `queue` is set, a setting changes, or goal mode is on. `coding_agent`, `model`, `thinking_level`, `service_tier`, `goal_mode`, and `plan_mode` change how it runs from that follow-up on |
| `list_subagents` | List ships with their state, settings, pull requests, CI status, and pending fixes |
| `read_subagent` | Read a ship's settings, pull request status, and latest response |
| `archive_subagent` | Archive a finished ship. Refuses one that is working or has open pull requests unless `force` is set |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.