Modes
Pass a mode with the first positional argument or--mode:
text(default) — interactive text mode.json— emit one JSONChatStreamEventper line on stdout. Good for pipelines.rpc— JSON-RPC framing over stdio. For building your own client.daemon— start the background daemon.acp— Agent Communication Protocol mode.
Key flags
--list-models was removed. Use prime-agent model list instead.
Examples
One-shot summarization piped from stdin:jq:
packages/coding-agent/src/cli/args.ts.