Skip to main content

Interface: RegisteredAgent

Defined in: packages/orchestration/src/types.ts:74

Extends

Properties

additionalTools?

optional additionalTools?: Record<string, Processable<unknown, unknown> | ToolDefinition<(...args) => unknown> | ZodToolDefinition<any, any>>

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

Tools lent to this agent for the duration of every run the orchestrator dispatches to it, passed through as ProcessOptions.additionalTools.

The agent is registered as-is — it keeps its own model, system prompt, tools and sandbox, and its own tools win a name clash. This is how Crew adds worker collaboration tools (workerTools: true) without replacing the processable the caller handed it.

Inherited from

AgentRegistration.additionalTools


budgetPerTicket?

optional budgetPerTicket?: number

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

Maximum spend in USD per ticket (optional)

Inherited from

AgentRegistration.budgetPerTicket


budgetTotal?

optional budgetTotal?: number

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

Maximum total spend (optional)

Inherited from

AgentRegistration.budgetTotal


capabilities

capabilities: string[]

Defined in: packages/orchestration/src/types.ts:51

Capabilities this agent has (used for auto-assignment)

Inherited from

AgentRegistration.capabilities


currentRuns

currentRuns: number

Defined in: packages/orchestration/src/types.ts:76


id

id: string

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


maxConcurrent?

optional maxConcurrent?: number

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

Maximum concurrent runs

Inherited from

AgentRegistration.maxConcurrent


name

name: string

Defined in: packages/orchestration/src/types.ts:47

Unique name for this agent

Inherited from

AgentRegistration.name


processable?

optional processable?: Processable<unknown, unknown>

Defined in: packages/orchestration/src/types.ts:53

The actual Baleybot or Processable instance. Provide exactly one of processable or processableFactory.

Inherited from

AgentRegistration.processable


processableFactory?

optional processableFactory?: (ticket) => Processable<unknown, unknown> | Promise<Processable<unknown, unknown>>

Defined in: packages/orchestration/src/types.ts:55

Factory that creates a fresh Processable per ticket dispatch. Provide exactly one of processable or processableFactory.

Parameters

ticket

Ticket

Returns

Processable<unknown, unknown> | Promise<Processable<unknown, unknown>>

Inherited from

AgentRegistration.processableFactory


role

role: string

Defined in: packages/orchestration/src/types.ts:49

Human-readable role description

Inherited from

AgentRegistration.role


status

status: "available" | "busy" | "over_budget" | "disabled"

Defined in: packages/orchestration/src/types.ts:78


totalSpent

totalSpent: number

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