rkat is realm-first. All commands accept global scope flags:
Common commands
| Command | Purpose |
|---|---|
init | Initialize local project compatibility config (.rkat/config.toml) |
run | Create and run a session |
resume | Continue an existing session |
sessions list/show/delete | Inspect or remove sessions in active realm |
config get/set/patch | Read or mutate realm config |
mcp ... | Manage MCP server config |
mob ... | Manage mob lifecycle directly from CLI |
capabilities | Show resolved runtime capabilities |
Realm behavior by command
| Command surface | Default without --realm |
|---|---|
run, resume, sessions ... | Workspace-derived stable realm (ws-...) |
rkat-rpc | New opaque realm (realm-...) |
run
--model <MODEL>--provider <anthropic|openai|gemini>--stream--output <text|json>--max-tokens <N>--max-total-tokens <N>--max-duration <DURATION>--max-tool-calls <N>--enable-builtins--enable-shell(requires--enable-builtins)--no-subagents--hooks-override-json <JSON>--hooks-override-file <FILE>
run always composes a CLI-local mob tool surface into the agent tool list (mob_create, mob_list, mob_status, mob_spawn, mob_retire, mob_wire, mob_unwire, mob_external_turn, mob_events, mob_list_meerkats, mob_stop, mob_resume, mob_complete, mob_destroy).
These are available even when built-ins are disabled.
If external MCP servers define a tool with the same name, the CLI-local mob tool wins.
Comms options:
--comms-name <NAME>--comms-listen-tcp <ADDR>--no-comms--host--stdin
resume
run, resume composes the CLI-local mob_* tool surface.
mob
mob commands are the explicit lifecycle surface for persisted mob state in the local registry.
sessions
run and resume.
config
rkat-rpc
--realm when you want deterministic shared state with other surfaces or processes:
mcp
.rkat/mcp.toml (project) and ~/.rkat/mcp.toml (user).
capabilities
Available, DisabledByPolicy, NotCompiled, NotSupportedByProtocol).
