Mirasim Documentation
Team spaces
A hosted Linux or Mac space where your coding agents stay on: sessions keep running after you close your laptop, and your team works together.
What a team space is
A team space is an always-on environment Mirasim hosts for your coding agents. Its workspaces, sessions, terminals and files live there, so sessions keep running when you close your laptop, lose the network or switch devices, and every device sees the same thing.
- Basic
- Linux · 2 cores · 4 GB RAM · 30 GB disk (expandable).
- Lite
- Linux · 4 cores · 8 GB RAM · 50 GB disk (expandable).
- Standard
- Linux · 8 cores · 16 GB RAM · 100 GB disk (expandable).
- Pro
- macOS · Apple silicon · 10 cores · 16 GB RAM — for work that needs macOS or Xcode.
- People
- 5 collaborator seats per space for admins and collaborators (the owner takes none), plus up to 100 observers who take no seat. To add seats, write to support@mirasim.ai. Chapter 12 covers adding people.
- Models
- Platform models run on space credit or personal credit; shared API keys are billed by their provider — see “Models and credits” below.
Getting a team space
Team spaces come with Collaboration: Basic, Lite, Standard and Pro run in our cloud and come with credits, and the plan on your own computer is free (chapter 13 covers attaching it). Prices are on the Pricing page (mirasim.ai/pricing).
Your account has a team space allowance: how many of each spec you can create. Without one, “New collaboration space” under “Add a space” says “Your account has no cloud spaces available”; once all are in use it says “All available cloud spaces are in use”. For more members or more spaces, write to support@mirasim.ai.
Create one
- Open the space menu
Click the space name at the top of the sidebar. “All spaces” in the menu lists this computer, your team spaces, and any space or computer shared with you.
- All spaces › Add a space › New collaboration space
“Add a space” asks where it comes from. “New collaboration space” is the one we host for your team; it shows how many you have left. On this computer before it is a collab space, “Get a cloud space” under All spaces opens the same choice.
- Pick a spec
“Collaboration space” or “Collaboration space · Mac”. A spec your account does not include says “Not enabled”. Once it is assigned, the team space appears in your space list.
- Set up its environment
Once it is ready, this window opens its Space settings › Environment & sync: its spec and runtime components, Agents and sign-ins, and its workspaces. You can come back to it from the space's settings at any time.

Under “Bring over from this computer”, “Sync” copies a local workspace up: its files, its sessions and the agents' memory. It is a one-time copy; the two sides do not sync afterwards, so move code between them with git. Credentials, ~/.ssh and ~/.aws are not copied.
Opening it
Click the space name at the top of the sidebar, then click a team space under “Recent” or on the “All spaces” page. It opens in its own window, or that window comes forward if it is already open. The window you clicked from stays as it was. The top of the sidebar shows which space a window is on.

- Opened
- It has a window already; under “Manage spaces” its row also shows who is online and how many sessions are running there.
- Available
- Click to open it in a new window.
- Offline
- The team space cannot be reached right now.
If the connection drops, the window reconnects by itself and the space menu shows when it will retry; “Reconnect now” tries at once. The team space keeps running while you are disconnected.
Working in a team space
A team space window is the same workbench as on your own computer — sessions, panes, files, Git, terminals — only everything runs in the team space. A few things are specific to it:
- Coding agents such as Claude Code and Codex are already installed. Project toolchains are yours to install, from the team space's terminal.
- Running pages: when an agent or your terminal starts a dev server, its localhost port is listed under “Running pages” on the tool rail at the right of the window — click to open it in the preview. A localhost link in a conversation opens in the preview too.
- Remote desktop: “Remote desktop” on the same tool rail shows the team space's screen, for example for a browser sign-in inside the space.

Pushing code as yourself
Settings › Connections › Code hosting connects GitHub and GitLab. After that, agents and terminals in team spaces clone, pull and push as you. Each person connects their own account, and every git operation runs as whoever started it.
Calling AWS as yourself
To connect AWS in Settings › Connections, enter the AWS account ID. Once connected, agents and terminals in team spaces access AWS as you (the AWS CLI, SDKs, kubectl, Terraform). Each person connects one AWS account.
The connect dialog links to the AWS console, where a signed-in session shows the account ID; you can also find it in the account menu at the top right of the console, in your company’s AWS access portal, or with aws sts get-caller-identity.
If you do not have access to the account yet, the dialog shows the AWS account, your email and the account’s External ID. Send these together with the next section to the account administrator; if you manage the account, follow it yourself. When it is done, select “Verify again”. The administrator does not need a Mirasim account.
For the AWS account administrator
- Role
mirasim-access, a fixed name.- Permissions
- None until you attach policies. Mirasim adds no restrictions of its own: what the role allows is what members can do.
- Authorized users
- The
sts:SourceIdentitycondition in the role’s trust policy: members’ Mirasim sign-in emails in lowercase, or*@acme.comfor a whole domain. - External ID
- One per AWS account. The member’s connect dialog shows it.
- Sessions
- One hour each, renewed before they expire.
- Create the role
Use “Create the role in AWS” in the member’s connect dialog: it opens CloudFormation with the External ID and the member’s email filled in (template: https://mirasim-public-templates.s3.us-east-2.amazonaws.com/aws-connect/access.yaml). Or add the Terraform below, replacing the External ID and emails with the values from the dialog.
- Attach permissions
Attach the policies Mirasim may use to the role.
- Add members
Add each member’s Mirasim sign-in email to the authorized users, then tell them to select “Verify again”.
resource "aws_iam_role" "mirasim" {
name = "mirasim-access"
max_session_duration = 3600
assume_role_policy = jsonencode({
Version = "2012-10-17"
Statement = [
{
Effect = "Allow"
Principal = { AWS = "arn:aws:iam::475554723467:role/mirasim-aws-connect" }
Action = "sts:AssumeRole"
Condition = {
StringEquals = { "sts:ExternalId" = "<External ID>" }
StringLike = { "sts:SourceIdentity" = ["alice@acme.com", "bob@acme.com"] }
}
},
{
Effect = "Allow"
Principal = { AWS = "arn:aws:iam::475554723467:role/mirasim-aws-connect" }
Action = ["sts:SetSourceIdentity", "sts:TagSession"]
},
]
})
}- If a member sees that the Mirasim role needs an update, check the trust policy against the Terraform above and keep the existing authorized users.
- To revoke access, remove the email from the authorized users; the next request is refused. Credentials already issued expire within an hour; to end them immediately, revoke the role’s active sessions in the IAM console.
- In CloudTrail, every call carries the member’s email as
sourceIdentity. - When a member connects, Mirasim checks that the role refuses requests without the External ID, from someone not on the list, and without a source identity. These three appear in CloudTrail as denied AssumeRole calls whose session names start with
mirasim-check-.
Models and credits
The team can use two kinds of models in the same space:
- Platform models
- Run on Mirasim credits. The credits that come with your plan go straight into the space credit and are shared by the whole team; anyone can add more from their personal credit.
- Shared API keys
- The owner or an admin connects any provider or relay under Settings › Model config. With “Share with members” ticked, everyone can pick it, billed to that key.
Setting up agents, keys and credits for the team is covered in chapter 12.
Where your data is
- Workspaces, sessions and the team's chat are stored in the team space.
- When a team space is reclaimed, everything in it is erased. Push code you want to keep to a remote repository.
Something wrong or missing on this page? Tell us