Beta

Local daemon for Manyfold agents (claude-code / codex / gemini-cli / pi / antigravity-cli)

Usage: mf daemon [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
mf daemon registerRegister this machine as a Manyfold local daemon
mf daemon startStart the Manyfold daemon (installs init unit so it auto-starts on login)
mf daemon statusShow local daemon status
mf daemon stopStop the Manyfold daemon and remove its autostart unit
mf daemon logsTail the daemon log
mf daemon doctorProbe local frameworks and daemon terminal support
mf daemon hooksSession hooks Manyfold installs for claude, codex, pi and agy (act only inside Manyfold terminals)

mf daemon register

Register this machine as a Manyfold local daemon

Usage: mf daemon register [options]

Options

OptionsPurpose
--token <token>PAT issued from the web UI (”-” reads stdin; direct values may appear in shell history and process lists)
--name <name>human-readable machine name
--workspace-root <path>workspace base dir this daemon manages (default: the shared ~/.manyfold/workspaces)
--skills-dir <path>skill store dir this daemon manages (default: the shared ~/.manyfold/skills)
-y, --yesskip confirmation: start the daemon and install the session hooks after registering
--no-hooksdo not install the claude / codex / pi / agy session hooks (they act only inside Manyfold terminals)
-h, --helpdisplay help for command

mf daemon start

Start the Manyfold daemon (installs init unit so it auto-starts on login)

Usage: mf daemon start [options]

Options

OptionsPurpose
--foregroundrun inline without touching the init unit (debug / used by the unit itself)
--systeminstall at system scope (boot-time; needs root/sudo; default as root)
--userinstall at user scope (per-login; default as non-root)
-h, --helpdisplay help for command

mf daemon status

Show local daemon status

Usage: mf daemon status [options]

Options

OptionsPurpose
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf daemon stop

Stop the Manyfold daemon and remove its autostart unit

Usage: mf daemon stop [options]

Options

OptionsPurpose
--systemtarget system scope (boot-time unit; needs root/sudo; default as root)
--usertarget user scope (per-login unit; default as non-root)
--keep-execsleave running execs alone for the next daemon to adopt (default: stop the process groups this daemon owns)
-h, --helpdisplay help for command

mf daemon logs

Tail the daemon log

Usage: mf daemon logs [options]

Options

OptionsPurpose
-f, --followfollow log output
-n, --lines <count>number of lines to show Default: 50.
-h, --helpdisplay help for command

mf daemon doctor

Probe local frameworks and daemon terminal support

Usage: mf daemon doctor [options]

Options

OptionsPurpose
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf daemon hooks

Session hooks Manyfold installs for claude, codex, pi and agy (act only inside Manyfold terminals)

Usage: mf daemon hooks [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
mf daemon hooks installInstall the session hooks for the frameworks on this machine and keep them current on daemon start
mf daemon hooks uninstallRemove the session hooks Manyfold installed
mf daemon hooks statusShow which frameworks have the session hooks installed
mf daemon hooks reportUsed by the installed hooks: forward the hook JSON on stdin to Manyfold (no-op outside a Manyfold terminal)

mf daemon hooks install

Install the session hooks for the frameworks on this machine and keep them current on daemon start

Usage: mf daemon hooks install [options]

Options

OptionsPurpose
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf daemon hooks uninstall

Remove the session hooks Manyfold installed

Usage: mf daemon hooks uninstall [options]

Options

OptionsPurpose
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf daemon hooks status

Show which frameworks have the session hooks installed

Usage: mf daemon hooks status [options]

Options

OptionsPurpose
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf daemon hooks report

Used by the installed hooks: forward the hook JSON on stdin to Manyfold (no-op outside a Manyfold terminal)

Usage: mf daemon hooks report [options] <framework> [event]

Arguments

ArgumentPurpose
<framework>
[event]

Options

OptionsPurpose
--jsonoutput the result as JSON
-h, --helpdisplay help for command
Was this page helpful?