komrad hook stop

Deliver an agent's unread mail as its turn ends

komrad hook

komrad hook stop

The agent CLI runs this on its Stop event. It reads the agent's mail and prints it back as additional context, which the CLI hands the model as another turn. An agent with no mail, or a panel that cannot be reached, prints nothing and lets the turn end.

Inherited flags#

FlagTypeDescription
--configstringArray

path to a config TOML, repeatable, later files win over earlier ones

--enginestring

engine to reach, named after a file in the config's engines directory, layered over the config