Skip to main content

Interface: TeamGroupChatOptions

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

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?: FacilitatorAdapter | "auto"

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

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


maxContextMessages?

optional maxContextMessages?: number

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

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


maxTurns?

optional maxTurns?: number

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

Max total agent turns before the session ends. Default: ensemble default (20).


members?

optional members?: string[]

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

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:127

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


reactPhase?

optional reactPhase?: boolean

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

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


sandbox?

optional sandbox?: SandboxConfig

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

Sandbox config for agent shell/file tools.


workspace?

optional workspace?: WorkspaceAdapter

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

Shared artifact workspace. Default: in-memory.