Agent¶
agent
¶
Builder module for creating agent instances with a fluent interface.
This module provides builder classes and utility functions to simplify the creation and configuration of agents.
Provider
¶
Bases: str, Enum
Supported LLM providers for the agent framework.
Use these enum values with with_model() for type-safe configuration:
Example
builder.with_model(Provider.ANTHROPIC, "claude-3-sonnet-20240229") - Or with string format: builder.with_model("anthropic:claude-3-sonnet-20240229")
values
classmethod
¶
ContextPruningStrategy
¶
Bases: str, Enum
Strategies for context pruning during agent execution.
Use these enum values with with_context_pruning_strategy() for type-safe configuration:
Example
builder.with_context_pruning_strategy(ContextPruningStrategy.BALANCED)
values
classmethod
¶
ToolUsePolicy
¶
Bases: str, Enum
Policies controlling when and how tools are used.
Use these enum values with with_tool_use_policy() for type-safe configuration:
Example
builder.with_tool_use_policy(ToolUsePolicy.ADAPTIVE)
values
classmethod
¶
BuilderValidationError
¶
Bases: ValueError
Exception raised when builder configuration is invalid.
Provides detailed error messages with suggestions for valid values.
Source code in reactive_agents/app/builders/agent.py
ToolConfig
¶
Bases: BaseModel
Configuration for a tool
ConfirmationConfig
¶
Bases: BaseModel
Configuration for the confirmation system
ReactiveAgentBuilder
¶
Unified builder class for creating ReactiveAgent instances with full framework integration.
This class provides comprehensive support for: - Dynamic reasoning strategies (reflect_decide_act, plan_execute_reflect, reactive, adaptive) - Task classification and adaptive strategy switching - Natural language configuration - Vector memory integration - Enhanced event system with dynamic event handlers - Advanced tool management (MCP + custom tools) - Real-time control operations (pause, resume, stop, terminate) - Comprehensive context management
Examples:
Basic reactive agent:
agent = await (ReactiveAgentBuilder()
.with_name("Reactive Agent")
.with_model("ollama:qwen3:4b")
.with_reasoning_strategy("reflect_decide_act")
.with_mcp_tools(["brave-search", "sqlite"])
.build())
Adaptive agent with strategy switching:
agent = await (ReactiveAgentBuilder()
.with_name("Adaptive Agent")
.with_reasoning_strategy("adaptive")
.with_dynamic_strategy_switching(True)
.with_mcp_tools(["brave-search", "time"])
.build())
Natural language configuration:
agent = await (ReactiveAgentBuilder()
.with_config_prompt(
"Create an agent that can research topics and analyze data"
)
.build())
With vector memory:
agent = await (ReactiveAgentBuilder()
.with_name("Memory Agent")
.with_vector_memory("research_memories")
.with_reasoning_strategy("plan_execute_reflect")
.build())
Event-driven agent:
agent = await (ReactiveAgentBuilder()
.with_name("Event Agent")
.with_reasoning_strategy("reflect_decide_act")
.on_tool_called(lambda event: print(f"Tool: {event['tool_name']}"))
.on_session_started(lambda event: print("Session started"))
.build())
Source code in reactive_agents/app/builders/agent.py
Strategies
¶
Static class providing autocomplete for available reasoning strategies.
get_all
staticmethod
¶
Get all available strategy names.
from_prompt
¶
Create an agent from a prompt.
Source code in reactive_agents/app/builders/agent.py
with_name
¶
with_role
¶
with_model
¶
with_model(model_name_or_provider: Union[str, Provider], model: Optional[str] = None) -> ReactiveAgentBuilder
Set the model to use for the agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model_name_or_provider
|
Union[str, Provider]
|
Either: - Full model spec string: "provider:model" (e.g., "anthropic:claude-3-sonnet") - Provider enum: Provider.ANTHROPIC, Provider.OPENAI, etc. |
required |
model
|
Optional[str]
|
Model name when using Provider enum (required if using enum) |
None
|
Returns:
| Type | Description |
|---|---|
ReactiveAgentBuilder
|
self for method chaining |
Raises:
| Type | Description |
|---|---|
BuilderValidationError
|
If provider or model format is invalid |
Examples:
String format (existing pattern)¶
builder.with_model("anthropic:claude-3-sonnet")
Type-safe enum format¶
builder.with_model(Provider.ANTHROPIC, "claude-3-sonnet")
Source code in reactive_agents/app/builders/agent.py
with_model_provider_options
¶
Set the model provider options for the agent
with_instructions
¶
with_max_iterations
¶
Set the maximum number of iterations for the agent
with_reflection
¶
with_log_level
¶
Set the log level (debug, info, warning, error, critical)
Source code in reactive_agents/app/builders/agent.py
with_quiet_mode
¶
Enable quiet mode to suppress all logging except critical errors.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
enabled
|
bool
|
If True, suppress all output except CRITICAL level logs |
True
|
Returns:
| Type | Description |
|---|---|
ReactiveAgentBuilder
|
Self for method chaining |
Source code in reactive_agents/app/builders/agent.py
with_reasoning_strategy
¶
with_reasoning_strategy(strategy: Union[ReasoningStrategies, str] = ReasoningStrategies.ADAPTIVE) -> ReactiveAgentBuilder
Set the initial reasoning strategy for the agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
strategy
|
Union[ReasoningStrategies, str]
|
Either a ReasoningStrategies enum or a string strategy name. Default: ReasoningStrategies.ADAPTIVE |
ADAPTIVE
|
Available strategies: - REACTIVE: Quick reactive responses (fastest) - REFLECT_DECIDE_ACT: Reflect, decide, then act (most robust) - PLAN_EXECUTE_REFLECT: Plan first, execute, then reflect - SELF_ASK: Question decomposition approach - GOAL_ACTION_FEEDBACK: GAF pattern - ADAPTIVE: Switch strategies based on task complexity
Raises:
| Type | Description |
|---|---|
BuilderValidationError
|
If strategy is invalid |
Examples:
Using enum (recommended)¶
builder.with_reasoning_strategy(ReasoningStrategies.REACTIVE)
Using string (still supported)¶
builder.with_reasoning_strategy("reactive")
Source code in reactive_agents/app/builders/agent.py
get_available_strategies
staticmethod
¶
Get a list of all available reasoning strategies.
Returns:
| Type | Description |
|---|---|
List[str]
|
List[str]: List of available strategy names |
Example
Source code in reactive_agents/app/builders/agent.py
get_strategy_descriptions
staticmethod
¶
Get descriptions of all available reasoning strategies.
Returns:
| Type | Description |
|---|---|
Dict[str, str]
|
Dict[str, str]: Dictionary mapping strategy names to descriptions |
Example
Source code in reactive_agents/app/builders/agent.py
with_dynamic_strategy_switching
¶
Enable or disable dynamic reasoning strategy switching during execution
Source code in reactive_agents/app/builders/agent.py
with_reactive_execution
¶
Enable or disable reactive execution engine
with_vector_memory
¶
Enable ChromaDB vector memory for semantic memory search.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
collection_name
|
Optional[str]
|
Name of the ChromaDB collection (defaults to agent_name) |
None
|
Source code in reactive_agents/app/builders/agent.py
with_mcp_tools
¶
Configure the MCP client with specific server-side tools
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
server_filter
|
List[str]
|
List of MCP tool names to include |
required |
Source code in reactive_agents/app/builders/agent.py
with_custom_tools
¶
Add custom tools to the agent
These tools should be decorated with the @tool() decorator from tools.decorators
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tools
|
List[Any]
|
List of custom tool functions or objects |
required |
Source code in reactive_agents/app/builders/agent.py
with_tools
¶
with_tools(tools: Optional[List[Any]] = None, *, mcp_tools: Optional[List[str]] = None, custom_tools: Optional[List[Any]] = None) -> ReactiveAgentBuilder
Configure tools for the agent with automatic type detection.
This method intelligently detects tool types:
- Strings are treated as MCP server names (e.g., "brave-search", "time")
- Functions/objects with tool_definition are treated as custom tools
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tools
|
Optional[List[Any]]
|
Mixed list of tools - strings for MCP servers, decorated functions for custom tools |
None
|
mcp_tools
|
Optional[List[str]]
|
(Deprecated) Explicit list of MCP tool names |
None
|
custom_tools
|
Optional[List[Any]]
|
(Deprecated) Explicit list of custom tool functions |
None
|
Examples:
Auto-detection (recommended):¶
.with_tools([my_custom_tool, "brave-search", another_tool, "time"])
Explicit separation (legacy, still supported):¶
.with_tools(mcp_tools=["brave-search"], custom_tools=[my_tool])
Source code in reactive_agents/app/builders/agent.py
with_tool_caching
¶
with_mcp_client
¶
Use a pre-configured MCP client
This allows using an MCP client that has already been initialized with specific configurations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mcp_client
|
MCPClient
|
An initialized MCPClient instance |
required |
Source code in reactive_agents/app/builders/agent.py
with_mcp_config
¶
Use an MCP server configuration
This allows using an MCP client that has already been initialized with specific configurations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mcp_config
|
MCPConfig
|
An initialized MCPConfig instance |
required |
Source code in reactive_agents/app/builders/agent.py
with_confirmation
¶
with_confirmation(callback: ConfirmationCallbackProtocol, config: Optional[Union[Dict[str, Any], ConfirmationConfig]] = None) -> ReactiveAgentBuilder
Configure the confirmation system
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
callback
|
ConfirmationCallbackProtocol
|
The confirmation callback function |
required |
config
|
Optional[Union[Dict[str, Any], ConfirmationConfig]]
|
Optional configuration for the confirmation system |
None
|
Source code in reactive_agents/app/builders/agent.py
with_advanced_config
¶
Set any configuration options directly
This allows setting any configuration options that don't have specific methods
Source code in reactive_agents/app/builders/agent.py
with_workflow_context
¶
with_response_format
¶
Set the response format specification for the agent's final answer
with_max_context_messages
¶
Set the maximum number of context messages to retain.
with_max_context_tokens
¶
Set the maximum number of context tokens to retain.
with_context_pruning
¶
with_context_summarization
¶
Enable or disable context summarization.
with_context_pruning_strategy
¶
Set the context pruning strategy.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
strategy
|
Union[ContextPruningStrategy, str]
|
Either a ContextPruningStrategy enum or a string strategy name. |
required |
Available strategies: - CONSERVATIVE: Minimal pruning, keeps more context - BALANCED: Moderate pruning (default) - AGGRESSIVE: Maximum pruning for token efficiency
Raises:
| Type | Description |
|---|---|
BuilderValidationError
|
If strategy is invalid |
Examples:
Using enum (recommended)¶
builder.with_context_pruning_strategy(ContextPruningStrategy.BALANCED)
Using string (still supported)¶
builder.with_context_pruning_strategy("balanced")
Source code in reactive_agents/app/builders/agent.py
with_context_token_budget
¶
with_context_pruning_aggressiveness
¶
with_context_pruning_aggressiveness(aggressiveness: Union[ContextPruningStrategy, str]) -> ReactiveAgentBuilder
Set the aggressiveness of context pruning.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aggressiveness
|
Union[ContextPruningStrategy, str]
|
Either a ContextPruningStrategy enum or a string value. |
required |
Available levels: - CONSERVATIVE: Minimal pruning (keeps more context) - BALANCED: Moderate pruning (default) - AGGRESSIVE: Maximum pruning (prioritizes token efficiency)
Raises:
| Type | Description |
|---|---|
BuilderValidationError
|
If aggressiveness level is invalid |
Examples:
Using enum (recommended)¶
builder.with_context_pruning_aggressiveness(ContextPruningStrategy.AGGRESSIVE)
Using string (still supported)¶
builder.with_context_pruning_aggressiveness("aggressive")
Source code in reactive_agents/app/builders/agent.py
with_context_summarization_frequency
¶
Set the number of iterations between context summarizations.
with_tool_use_policy
¶
Set the tool use policy.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
policy
|
Union[ToolUsePolicy, str]
|
Either a ToolUsePolicy enum or a string policy name. |
required |
Available policies: - ALWAYS: Always attempt to use tools when available - REQUIRED_ONLY: Only use tools when explicitly required - ADAPTIVE: Dynamically decide based on task requirements (default) - NEVER: Never use tools
Raises:
| Type | Description |
|---|---|
BuilderValidationError
|
If policy is invalid |
Examples:
Using enum (recommended)¶
builder.with_tool_use_policy(ToolUsePolicy.ADAPTIVE)
Using string (still supported)¶
builder.with_tool_use_policy("adaptive")
Source code in reactive_agents/app/builders/agent.py
with_tool_use_max_consecutive_calls
¶
Set the maximum consecutive tool calls before forcing reflection/summarization.
Source code in reactive_agents/app/builders/agent.py
research_agent
async
classmethod
¶
Create a pre-configured research agent optimized for information gathering
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
Optional[str]
|
Optional model name to use (default: ollama:cogito:14b) |
None
|
Source code in reactive_agents/app/builders/agent.py
database_agent
async
classmethod
¶
Create a pre-configured database agent optimized for database operations
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
Optional[str]
|
Optional model name to use (default: ollama:cogito:14b) |
None
|
Source code in reactive_agents/app/builders/agent.py
crypto_research_agent
async
classmethod
¶
crypto_research_agent(model: Optional[str] = None, confirmation_callback: Optional[Callable] = None, cryptocurrencies: Optional[List[str]] = None) -> ReactiveAgent
Create a specialized agent for cryptocurrency research and data collection
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
Optional[str]
|
Optional model name to use (default: ollama:cogito:14b) |
None
|
confirmation_callback
|
Optional[Callable]
|
Optional callback for confirming sensitive operations |
None
|
cryptocurrencies
|
Optional[List[str]]
|
List of cryptocurrencies to track (default: ["Bitcoin", "Ethereum"]) |
None
|
Source code in reactive_agents/app/builders/agent.py
reactive_research_agent
async
classmethod
¶
Create a pre-configured reactive research agent optimized for information gathering
Source code in reactive_agents/app/builders/agent.py
adaptive_agent
async
classmethod
¶
Create a pre-configured adaptive agent that switches strategies based on task complexity
Source code in reactive_agents/app/builders/agent.py
add_custom_tools_to_agent
async
classmethod
¶
Add custom tools to an existing agent instance
This utility method provides a clean way to add custom tools to an agent that has already been created, such as one from a factory method.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
agent
|
ReactiveAgent
|
An existing ReactiveAgent instance |
required |
custom_tools
|
List[Any]
|
List of custom tool functions or objects |
required |
Returns:
| Type | Description |
|---|---|
ReactiveAgent
|
The updated agent with the new tools added |
Example
Source code in reactive_agents/app/builders/agent.py
1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 | |
debug_tools
¶
Get diagnostic information about the tools configured for this agent
This method helps with debugging tool registration issues by providing information about which tools are registered and their sources.
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
Dict[str, Any]: Diagnostic information about registered tools |
Example
Source code in reactive_agents/app/builders/agent.py
diagnose_agent_tools
async
staticmethod
¶
Diagnose tool registration issues in an existing agent
This static method examines an agent that has already been created to check for tool registration issues and provides detailed diagnostics.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
agent
|
ReactiveAgent
|
The ReactiveAgent instance to diagnose |
required |
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
Dict[str, Any]: Diagnostic information about the agent's tools |
Example
agent = await ReactiveAgentBuilder().with_mcp_tools(["brave-search"]).build()
# Diagnose after building
diagnosis = await ReactiveAgentBuilder.diagnose_agent_tools(agent)
if diagnosis["has_tool_mismatch"]:
print("Warning: Tool registration mismatch detected!")
print(f"Tools in context: {diagnosis['context_tools']}")
print(f"Tools in manager: {diagnosis['manager_tools']}")
Source code in reactive_agents/app/builders/agent.py
1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 | |
with_subscription
¶
with_subscription(event_type: AgentStateEvent, callback: EventCallback[Any]) -> ReactiveAgentBuilder
Register a callback function for any event type using a more generic interface.
This provides a more dynamic way to subscribe to events without using specific helper methods.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_type
|
AgentStateEvent
|
The type of event to observe (from AgentStateEvent enum) |
required |
callback
|
EventCallback[Any]
|
The callback function to invoke when the event occurs |
required |
Returns:
| Type | Description |
|---|---|
ReactiveAgentBuilder
|
self for method chaining |
Example
Source code in reactive_agents/app/builders/agent.py
with_async_subscription
¶
with_async_subscription(event_type: AgentStateEvent, callback: AsyncEventCallback[Any]) -> ReactiveAgentBuilder
Register an async callback function for any event type using a more generic interface.
This provides a more dynamic way to subscribe to async events without using specific helper methods.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_type
|
AgentStateEvent
|
The type of event to observe (from AgentStateEvent enum) |
required |
callback
|
AsyncEventCallback[Any]
|
The async callback function to invoke when the event occurs |
required |
Returns:
| Type | Description |
|---|---|
ReactiveAgentBuilder
|
self for method chaining |
Example
Source code in reactive_agents/app/builders/agent.py
with_event_callback
¶
Register a callback function for a specific event type.
This allows setting up event observers before the agent is built.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_type
|
AgentStateEvent
|
The type of event to observe |
required |
callback
|
EventCallback
|
The callback function to invoke when the event occurs |
required |
Returns:
| Type | Description |
|---|---|
ReactiveAgentBuilder
|
self for method chaining |
Example
Source code in reactive_agents/app/builders/agent.py
with_async_event_callback
¶
with_async_event_callback(event_type: AgentStateEvent, callback: AsyncEventCallback) -> ReactiveAgentBuilder
Register an async callback function for a specific event type.
This allows setting up async event observers before the agent is built.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event_type
|
AgentStateEvent
|
The type of event to observe |
required |
callback
|
AsyncEventCallback
|
The async callback function to invoke when the event occurs |
required |
Returns:
| Type | Description |
|---|---|
ReactiveAgentBuilder
|
self for method chaining |
Example
Source code in reactive_agents/app/builders/agent.py
on_session_started
¶
Register a callback for session started events
Source code in reactive_agents/app/builders/agent.py
on_session_ended
¶
Register a callback for session ended events
Source code in reactive_agents/app/builders/agent.py
on_task_status_changed
¶
Register a callback for task status changed events
Source code in reactive_agents/app/builders/agent.py
on_iteration_started
¶
Register a callback for iteration started events
Source code in reactive_agents/app/builders/agent.py
on_iteration_completed
¶
on_iteration_completed(callback: EventCallback[IterationCompletedEventData]) -> ReactiveAgentBuilder
Register a callback for iteration completed events
Source code in reactive_agents/app/builders/agent.py
on_tool_called
¶
Register a callback for tool called events
on_tool_completed
¶
Register a callback for tool completed events
Source code in reactive_agents/app/builders/agent.py
on_tool_failed
¶
Register a callback for tool failed events
on_reflection_generated
¶
on_reflection_generated(callback: EventCallback[ReflectionGeneratedEventData]) -> ReactiveAgentBuilder
Register a callback for reflection generated events
Source code in reactive_agents/app/builders/agent.py
on_final_answer_set
¶
Register a callback for final answer set events
Source code in reactive_agents/app/builders/agent.py
on_metrics_updated
¶
Register a callback for metrics updated events
Source code in reactive_agents/app/builders/agent.py
on_error_occurred
¶
Register a callback for error occurred events
Source code in reactive_agents/app/builders/agent.py
on_session_started_async
¶
on_session_started_async(callback: AsyncEventCallback[SessionStartedEventData]) -> ReactiveAgentBuilder
Register an async callback for session started events
Source code in reactive_agents/app/builders/agent.py
on_session_ended_async
¶
Register an async callback for session ended events
Source code in reactive_agents/app/builders/agent.py
build
async
¶
Build and return a configured ReactiveAgent instance.
This method: 1. Handles optional builder prompt for dynamic configuration 2. Creates an AgentConfig from builder fields 3. Creates an AgentContext with the config 4. Uses ComponentFactory to create and wire all components 5. Injects components into the context 6. Creates and initializes the ReactiveAgent
Returns:
| Name | Type | Description |
|---|---|---|
ReactiveAgent |
ReactiveAgent
|
A fully configured agent ready to use |
Source code in reactive_agents/app/builders/agent.py
1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 | |
quick_create_agent
async
¶
quick_create_agent(task: str, model: str = 'ollama:cogito:14b', tools: List[str] = ['brave-search', 'time'], interactive: bool = False) -> ExecutionResult
Create and run a ReactiveAgent with minimal configuration
This is the simplest possible way to create and run an agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task
|
str
|
The task for the agent to perform |
required |
model
|
str
|
The model to use |
'ollama:cogito:14b'
|
tools
|
List[str]
|
List of tool names to include |
['brave-search', 'time']
|
interactive
|
bool
|
Whether to require confirmation for tool usage |
False
|
use_reactive_v2
|
Whether to use ReactiveAgentV2 (default: True) |
required |
Returns:
| Type | Description |
|---|---|
ExecutionResult
|
The result dictionary from the agent run |