Skip to content

AgentData

Defined in: src/types/agent.ts:26

Interface for objects that provide agent state. Allows ToolContext to work with different agent types.

state: AppState;

Defined in: src/types/agent.ts:30

App state storage accessible to tools and application logic.


messages: Message[];

Defined in: src/types/agent.ts:35

The conversation history of messages between user and assistant.