Skip to content
providerkit
GitHub

AgentDefinition

type AgentDefinition<T, H> = AgentConfig<H> & object;

Defined in: agents/src/types.ts:533

T is this agent’s output. H is its handoff targets’ output, never checked as T.

optional output?: ResultSchema<T>;
Type Parameter Default type
T string
H never