rkat is designed for three main workflows:
- interactive terminal use
- scripts and CI
- Unix pipes and chained command composition
Global flags
All commands accept the same realm and convention-root flags:Common commands
| Command | Purpose |
|---|---|
rkat <PROMPT> | Run a task directly from the terminal |
rkat run <PROMPT> | Explicit form of the default prompt command |
rkat resume <SESSION_ID> <PROMPT> | Continue a saved session |
rkat continue <PROMPT> | Shortcut for resume last |
rkat sessions ... | Inspect, delete, or interrupt sessions |
rkat config ... | Read or update CLI/runtime config |
rkat mcp ... | Manage local/project MCP server config |
rkat mob ... | Pack, inspect, validate, deploy, and build mob artifacts |
rkat skills ... | Inspect available skills |
rkat models catalog | List available models with provider profiles |
rkat capabilities | Show runtime capabilities |
rkat doctor | Check local setup and common prerequisites |
rkat init | Create project config from the global template |
Prompt-first usage
Common run flags
-m, --model <MODEL>-p, --provider <anthropic|openai|gemini>-o, --output <text|json>--json-s, --stream--no-stream-d, --max-duration <DURATION>--max-tool-calls <N>-t, --tools <safe|workspace|full|none>--yolo--param <KEY=VALUE>repeatable--params-json <JSON>--schema <FILE_OR_JSON>--allow-tool <TOOL>repeatable--block-tool <TOOL>repeatable--stdin <auto|blob|lines|off>--line-format <text|json>--wait-for-mcp
Tool presets
rkat uses presets instead of many enable/disable booleans.
| Preset | Meaning |
|---|---|
safe | Builtins, skills, configured MCP, delegated-work-safe tools; no shell |
workspace | safe plus shell access |
full | All CLI-side capabilities, including memory and mob tools |
none | No tools |
--yolo is an alias for --tools full.
Provider and structured output controls
Use--param for common tuning and --params-json as the escape hatch:
--json is a convenience alias for --output json.
Streaming defaults
- In a TTY, text output streams by default.
- In pipes and scripts, streaming is off by default.
- JSON output stays non-streaming by default so stdout remains valid JSON unless
--streamis explicitly requested.
Stdin modes and Unix pipes
rkat treats piped stdin as a first-class interface:
autodefault: if stdin is piped, read it as one blob of contextblob: always read full stdin to EOF before runninglines: keep stdin open and process one line at a timeoff: ignore stdin even if something is piped in
--line-format json treats each incoming line as JSON instead of plain text.
resume
SESSION_ID accepts:
- a full UUID
- a short prefix
last~N
run, plus per-turn tool overlays and provider params.
continue
rkat resume last <PROMPT>.
sessions
config
mcp
rkat mcp is for local and project configuration only.
mob
rkat mob is the artifact and deployment surface, not a manual runtime-control console.
Trust policy
--trust-policy strictrejects unsigned packs and unknown signers--trust-policy permissiveallows unsigned packs with warnings but still rejects invalid signatures
Web build prerequisites
RKAT_WASM_PACK_BINRKAT_WEB_RUNTIME_CRATE_DIR
skills
models
meerkat-models catalog.
capabilities
doctor
- config readability
- common provider API keys
- MCP config loading
wasm-packavailability formob web build
init
.rkat/config.toml from the global template.