DocsAPI reference

Interface@astack-tech/components

AgentConfig

Defined in: packages/components/src/agents/types.ts:169

Agent options.

Properties

Property Type Description Defined in
maxIterations? number Maximum number of model calls per run. Defaults to 10. packages/components/src/agents/types.ts:179
memory? Memory Memory instance. Defaults to a new DefaultMemory. packages/components/src/agents/types.ts:177
model ModelProvider Model provider, for example new Deepseek({ apiKey }). packages/components/src/agents/types.ts:171
supportsToolCalls? boolean Deprecated Has no effect. Tools are always offered to the model when tools is not empty. packages/components/src/agents/types.ts:185
systemPrompt? string System prompt. Defaults to You are a helpful assistant.. packages/components/src/agents/types.ts:175
tools? AgentTool[] Tools the model may call. packages/components/src/agents/types.ts:173
verbose? boolean Writes diagnostics to the console. Defaults to false. packages/components/src/agents/types.ts:181