Early access. Cloud sessions and managed agent runs are not open to every account yet: we are
letting accounts in gradually while we test. They run in a cloud sandbox operated by Mutagent, so
there is nothing to host. A sandbox with nothing to do for 15 minutes stops; send an interactive
session a message and it wakes up, delivers your message and carries on in the same conversation.
A
-p task run cannot be woken; run it again.
Start by signing in:
Environments
An Environment holds the variables and secrets your cloud sessions need, such as a GitHub token or a database URL. Your local shell variables are not sent to the sandbox, so anything a tool reads from its environment goes here.--env ci. Environments belong to the workspace. Secrets are stored
encrypted and are never shown again.
Model keys do not go in an Environment. They come from your LLM providers.
More on Environments
Sandbox providers
A sandbox provider is where your cloud sessions run. Mutagent runs them in its own sandboxes, so there is nothing to set up. More on sandbox providersLLM providers
Your sessions call your models with your own API keys, so the workspace needs your LLM providers. If Helix already works on your machine, copy its setup:providers mirror shows what it will copy and asks first. From a script or coding agent, run
mutagent providers mirror --json to see the plan without sending anything, then
mutagent providers mirror --yes --json to apply it. It copies your API keys and model lists
into the workspace and, if the workspace has no default model yet, sets one. helix models lists the
models your sessions can use and marks the default with ★.
Without a local Helix setup, add an LLM provider directly:
Run Helix in the cloud
You can run Helix in two ways.Run a task
-p) is not
checkpointed and cannot be restored: its files go when the sandbox stops. When you need to restore the
work later, run it as a session (--mode rpc) instead.
mutagent helixruns the full Helix session, with its lifecycle stages and sub-agents.mutagent helix agent "<definition>"runs your own agent instead (agent mode).- Add
--primeto either one to use Prime, the experimental code-first mode. - Use
--mode jsoninstead of-pto get events, one JSON object per line.
Run a session
mutagent helix agent "<definition>" --rpc (--rpc is the short form of
--mode rpc). The session keeps running and
reads commands from stdin. The CLI prints the session’s reference, which starts with hs1_. Use it from any
terminal:
-p for a task, or --mode rpc and
session send for a session.
More on sessions
Run a managed agent
The full Helix session (mutagent helix), Prime (--prime) and your own agent definition
(mutagent helix agent) are three things you can run. The fourth is a
managed agent: an agent you write as an agent.md folder with its own tools, skills and files,
deploy to the workspace, and run by its address, as a task with -p or as a session with --rpc.
Options for tasks and sessions
Your repository and local files are not uploaded. The agent works inside the sandbox.
LLM providers and models
Mirror, add an LLM provider, and choose the default model.
Sessions
Send, watch, stop, checkpoint, and restore a session.
Command reference
Every Helix command and its flags.
Troubleshooting
Errors you may see and what to do about them.