Skip to main content

TeamAgentSpec

Agent Runtimes


Agent Runtimes / types/teams / TeamAgentSpec

Interface: TeamAgentSpec

Defined in: types/teams.ts:9

Specification for an agent within a team.

Properties

approval?

optional approval?: string

Defined in: types/teams.ts:27

Approval policy: 'auto' or 'manual'


goal?

optional goal?: string

Defined in: types/teams.ts:17

Goal or objective for this agent


id

id: string

Defined in: types/teams.ts:11

Agent identifier within the team


mcpServer?

optional mcpServer?: string

Defined in: types/teams.ts:21

MCP server used by this agent


model?

optional model?: string

Defined in: types/teams.ts:19

AI model identifier


name

name: string

Defined in: types/teams.ts:13

Display name for the team agent


role?

optional role?: string

Defined in: types/teams.ts:15

Role within the team (e.g., 'Primary · Initiator', 'Secondary', 'Final')


tools?

optional tools?: string[]

Defined in: types/teams.ts:23

Tools available to this agent


trigger?

optional trigger?: string

Defined in: types/teams.ts:25

Trigger condition for this agent