Skip to main content
The Slack side is in Subagents. A subagent’s id is sa_ followed by 12 characters. Fields of the Subagent object: API schema.

Events

A subagent with background: true can outlive the turn that launched it. When it ends after its turn did, the harness starts a new turn for the result, with trigger: "subagent", the subagentId, and no author.

List and read

Stop

subagents.stop (POST /sessions/{id}/subagents/{subagentId}/stop) stops a running subagent, as the Stop button on the Slack agents panel does. Suspending a session also stops its running subagents.
The result is the subagent and a seq. A subagent.ended event follows with status: "stopped" and stoppedBy.