Skip to main content

Interface: TeamGroupChatOptions

Defined in: packages/orchestration/src/team/types.ts:65

Options for team.groupChat() — the peer-discussion topology, where members talk to each other in a shared thread with no coordinator decomposing work.

Budgets on the roster (budgetPerTicket / budgetTotal / maxConcurrent) are ignored in peer mode — group chat has no per-ticket accounting; every selected member speaks on the facilitator's schedule. Use the coordinator (chat) or direct-dispatch paths when you need budget enforcement.

Properties​

facilitator?​

optional facilitator?: "auto" | FacilitatorAdapter

Defined in: packages/orchestration/src/team/types.ts:69

Speaker-selection strategy. 'auto' = round-robin; or supply an adapter.


maxContextMessages?​

optional maxContextMessages?: number

Defined in: packages/orchestration/src/team/types.ts:75

Max thread messages included in each agent prompt. Default: 20.


maxTurns?​

optional maxTurns?: number

Defined in: packages/orchestration/src/team/types.ts:67

Max total agent turns before the session ends. Default 20.


members?​

optional members?: string[]

Defined in: packages/orchestration/src/team/types.ts:79

Restrict to a subset of the roster by member name. Default: all.


onUserJoin?​

optional onUserJoin?: "pause-facilitator"

Defined in: packages/orchestration/src/team/types.ts:81

When a user joins mid-session, pause the facilitator loop until the user message is handled.


reactPhase?​

optional reactPhase?: boolean

Defined in: packages/orchestration/src/team/types.ts:77

When true, non-selected agents get a react turn after primary responders.


sandbox?​

optional sandbox?: SandboxConfig

Defined in: packages/orchestration/src/team/types.ts:73

For agent shell/file tools.


workspace?​

optional workspace?: WorkspaceAdapter

Defined in: packages/orchestration/src/team/types.ts:71

Shared artifact workspace. Default: in-memory.