Tools¶
web_search_tool ¶
Return the configured web search tool.
With SEARCH_BACKEND=mcp, max_results and search_depth do not apply: the MCP
server decides how much it returns.
Raises:
| Type | Description |
|---|---|
RuntimeError
|
Tavily is selected and TAVILY_API_KEY is not set. Searching nothing quietly would let an agent answer from memory while looking like it searched. |
Source code in src/agentic_architectures/tools/search.py
python_repl_tool ¶
Execute a snippet of Python code and return stdout (or the error).
Use this when you need to compute something deterministic — math, string manipulation, parsing, simple data transformation.
Source code in src/agentic_architectures/tools/code_exec.py
SimulatorTool ¶
SimulatorTool(simulate: Callable[[str], str], name: str = 'simulate_action', description: str = 'Simulate an action and return the predicted outcome WITHOUT executing it in the real world. Use this to weigh options before committing.')
Wrap a domain-specific simulator function in a LangChain tool.