Skip to main content
Every slash command is sent as the message field in a stream request. The runtime parses the leading / and dispatches the command. Arguments follow the command name, separated by spaces.

Reference table

Sending each command

All commands use the same sdk.agent.stream() call. The only thing that changes is the message string.

/plan

/goal

/mode

/sandbox

/proof

/thread, /artifacts, /receipt

Reading action events

Commands that return action events emit structured events you can listen for in the stream loop:
See Stream Protocol for the full list of event types and their fields.