Interface: CrewAgentConfig
Defined in: packages/orchestration/src/crew/types.ts:5
Properties
budgetPerTicket?
optionalbudgetPerTicket?:number
Defined in: packages/orchestration/src/crew/types.ts:32
USD.
budgetTotal?
optionalbudgetTotal?:number
Defined in: packages/orchestration/src/crew/types.ts:34
USD.
capabilities
capabilities:
string[]
Defined in: packages/orchestration/src/crew/types.ts:10
Used for auto-assignment.
maxConcurrent?
optionalmaxConcurrent?:number
Defined in: packages/orchestration/src/crew/types.ts:35
name
name:
string
Defined in: packages/orchestration/src/crew/types.ts:7
Unique within the crew.
owned?
optionalowned?:boolean
Defined in: packages/orchestration/src/crew/types.ts:30
Whether the crew owns this agent's lifetime, and so releases its host
resources (sandbox container, tool-bridge port) in Crew.dispose(). Off by
default: an agent you constructed and handed in is yours, and a crew
closing it would tear down a bot you may still be running elsewhere.
Only the producer knows this, so it is stated here rather than sniffed
(ASK-DONT-SNIFF). Set it for a bot built for one crew that nobody else
holds a reference to, as the server's crew tool does. An agent built by
processableFactory is never owned: the crew never holds it.
Default
false
processable?
optionalprocessable?:Processable<unknown,unknown>
Defined in: packages/orchestration/src/crew/types.ts:12
The agent that runs its tickets. Provide exactly one of processable or processableFactory.
processableFactory?
optionalprocessableFactory?: (ticket) =>Processable<unknown,unknown> |Promise<Processable<unknown,unknown>>
Defined in: packages/orchestration/src/crew/types.ts:14
Builds the agent for each run, from the ticket as the run claimed it. Provide exactly one of processable or processableFactory.
Parameters
ticket
Returns
Processable<unknown, unknown> | Promise<Processable<unknown, unknown>>
role
role:
string
Defined in: packages/orchestration/src/crew/types.ts:8
ticketTools?
optionalticketTools?:boolean
Defined in: packages/orchestration/src/crew/types.ts:16
Lend the agent its own ticket's tools on every run (AgentRegistration.ticketTools).