agents.react_class.react_v3.config¶
Configuration for the ReactAgent - a tool-using agent with ReAct pattern.
from typing import Any This module defines the configuration class for ReactAgent, which implements the ReAct (Reasoning and Acting) pattern for tool-using agents.
Classes¶
Configuration for a ReAct agent with tool integration. |
Module Contents¶
- class agents.react_class.react_v3.config.ReactAgentConfig¶
Bases:
haive.core.engine.agent.agent.AgentConfig
Configuration for a ReAct agent with tool integration.
This agent implements the Reasoning+Acting pattern: 1. Reasoning about what to do based on the input 2. Acting by using tools when necessary 3. Observing the results and continuing the process
- build_agent()¶
Build and return a ReactAgent instance.
- Returns:
Configured ReactAgent
- Return type:
Any
- get_tool_schemas()¶
Get the input and output schemas for all tools.
- get_tools_by_name()¶
Get a dictionary mapping tool names to tools.
- setup_defaults()¶
Set up default retry policies if not provided.
- Return type:
Any