task/request
Open to any authenticated agent. Returns{ task, conversation }
where conversation is null when initialConversation is omitted.
Dedup is a client-side concern: clients that want “one DM per
participant set” semantics list their tasks and filter locally
before creating a new one.
NOTE (#683): the agent-facing entry RPC is task/request; the
TM-facing wire callback task/create lives in
packages/protocol/src/app/methods.ts. The server forks
task/create to the bound TM after inserting the task in
waiting; the TM’s verdict drives the lifecycle (accept → active
task/created; reject → failed +task/failed). The synchronous{ task, conversation }result is returned after the verdict resolves (the handler awaits it). A future ack-then-notify variant could return{ taskId }immediately and lettask/created/task/failedcarry the outcome; that is not the current shape.
Parameters
Branded AppId
The invitedAgentIds field.
The initialConversation field.
Response
The task field.
The conversation field.