Skip to content

microagent pause

Last updated: 2026-06-27

microagent pause <name> [--state-dir <dir>]

pause freezes a running workspace and records its state as paused. The VM’s vCPUs stop executing, but guest memory, the workspace rootfs, attached disks, identity, and events.json are all preserved. The runtime process keeps running and the host-side network, port forwarding, and vsock paths stay in place, so the workspace can be resumed in place with resume.

This is memory pause, not a disk-preserving shutdown. Unlike halt, a paused workspace keeps its live memory state; resume continues exactly where it left off rather than booting again.

While a workspace is paused, exec, connect, and stats are rejected with a message directing you to resume it first.

pause requires the workspace to be running.

Freeze a workspace, then thaw it:

Terminal window
microagent pause research
microagent resume research

You’ll rarely need flags here - --state-dir only when the workspace lives outside the default ~/.microagent/.

FlagDescription
--name <name>Workspace name; positional name is also accepted
--id <id>Workspace ID alias for --name
--state-dir <dir>State directory holding the workspace record (default ~/.microagent/)
--backend <name>Backend identity override
--supervisor <path>Override the installed host backend supervisor path

See global flags for --json/--text/--output/--mode/--supervisor.

pause exits 0 when the VM is frozen; nonzero when the workspace cannot be found, is not running, or when the backend cannot freeze the VM. In AX mode a failure is written as a structured error envelope.

  • resume - thaw the paused workspace
  • status - confirm the paused state
  • halt - disk-preserving shutdown instead
  • stop - graceful shutdown