🔄 Big News! bazed.ai is now sagentic.ai. Same vision, new name!

Skip to content

@sagentic-ai/sagentic-af / AgentOptions

AgentOptions ​

Basic options for an agent

Properties ​

eatToolResults? ​

ts
optional eatToolResults: boolean;

Eat tool results

Source ​

src/agent.ts:31


expectsJSON? ​

ts
optional expectsJSON: boolean;

Use JSON mode

Source ​

src/agent.ts:33


model? ​

ts
optional model: ModelType;

Model type for the agent to use

Source ​

src/agent.ts:23


systemPrompt? ​

ts
optional systemPrompt: string;

System prompt for the agent

Source ​

src/agent.ts:29


temperature? ​

ts
optional temperature: number;

Temperature for the LLM

Source ​

src/agent.ts:35


tools? ​

ts
optional tools: Tool[];

Tools for the agent to use

Source ​

src/agent.ts:27


topic? ​

ts
optional topic: string;

Topic for the agent

Source ​

src/agent.ts:25