Skip to content

microagent connect

microagent connect <name> [--send "<line>"] [--state-dir <dir>]

connect opens an interactive serial console for a workspace. With --send it writes one line to the console and prints any new output, which is useful in scripts.

connect is supported by Apple VF only. For Firecracker workspaces, use logs for serial output.

FlagDescription
--send <line>Write one line to the console and print new output
--state-dir <dir>State directory holding the workspace record
--supervisor <path>Override the Apple VF supervisor path

Interactive console:

Terminal window
microagent connect research

Script-friendly:

Terminal window
microagent connect research --send "cat /etc/os-release"
microagent connect research --send "cat /workspace/status; uname -m"