Skip to main content

Module delegate

Module delegate 

Source
Expand description

Delegation: one request type for every way a session starts a sub-agent — the model’s Agent call, a team member, an "agent" hook, a forked skill, a host’s session.startAgent — and the one trait that serves it. The mode says how the delegate runs; everything else about it is in the request.

The implementation lives in agents; this sits below team, skills and hooks, which consume it.

Structs§

CallSite
The parent’s tool call that started the delegate.
DelegateOutcome
DelegateRequest
LiveMember
A persistent member alive under a delegator, idle or running a message.
StartedAgent
TeamSeat
Which team a member works in, and its name there.

Enums§

AskRoute
Where a question the delegate’s permission leaves open goes.
DelegateEnd
DelegateError
DelegateMode
Matched exhaustively by the one dispatch in agents, across crates, so a new mode cannot compile without its rules.
Delegated
MemberLifetime
StopsWith
Workdir

Traits§

Delegator