Skip to content

microagent clone

microagent clone <source> <target> [--state-dir <dir>]

clone copies a prepared or stopped workspace into a new workspace record. The target gets its own rootfs and workspace-owned disks. Runtime process state is not copied.

FlagDescription
--state-dir <dir>State directory holding the workspace records
  • The source must be prepared or stopped.
  • The target workspace must not already exist.
  • Files under workspaces/<source>/ are copied.
  • Disk paths inside the source workspace directory are rewritten to the target workspace directory.
  • External disk paths are left unchanged.
Terminal window
microagent clone template research
microagent start research