Early access. Cloud sessions and managed agent runs can change between releases.
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.client.managedAgents. They list, inspect, deploy, activate and retire
managed agents, and read the status of a deploy or activate operation. For what a managed agent is,
see Managed agents.
Create the client
Managed agent calls take your API key. They act in the workspace of a workspace API key. With an organization API key, also send thex-workspace-id header. Every call takes request options as its
last argument, for example { headers: { 'x-workspace-id': '<workspace-id>' } }.
The workflow
Themutagent agent CLI documents every step of the workflow: check and pack an
agent.md folder, deploy it as a revision, activate or roll back a revision, retire a slot, and run a
deployed agent with mutagent agent run @<slug> "<task>".