AgentDefinition
AgentDefinition<
Tools,TOutput> =object
Defined in: packages/core/src/agent/types.ts:13
Type Parameters
Section titled “Type Parameters”Tools extends ToolSet = ToolSet
TOutput
Section titled “TOutput”TOutput = unknown
Properties
Section titled “Properties”id:
string
Defined in: packages/core/src/agent/types.ts:14
instructions
Section titled “instructions”instructions:
AgentInstructions
Defined in: packages/core/src/agent/types.ts:15
memory?
Section titled “memory?”
optionalmemory?:AgentMemoryConfig
Defined in: packages/core/src/agent/types.ts:20
model:
LanguageModel
Defined in: packages/core/src/agent/types.ts:16
outputSchema?
Section titled “outputSchema?”
optionaloutputSchema?:z.ZodType<TOutput>
Defined in: packages/core/src/agent/types.ts:19
Default Zod schema for structured output on every episode.
tools?
Section titled “tools?”
optionaltools?:Tools
Defined in: packages/core/src/agent/types.ts:17