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.
| Flag | Description |
|---|---|
--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 |
Examples
Section titled “Examples”Interactive console:
microagent connect researchScript-friendly:
microagent connect research --send "cat /etc/os-release"microagent connect research --send "cat /workspace/status; uname -m"