appendToSystemMessage

fun Prompt.appendToSystemMessage(text: String): Prompt

Creates a new Prompt with text appended to the first system message. If no system message exists, the prompt is returned unchanged.

"First" means the agent-level system prompt for every current caller (ACE, ReasoningBank — both run at strategy start, before any subgraph can append its own instruction as a second one).