from smolagents import ToolCallingAgent from utils import * from basic_tools import * from smolagents.tools import Tool langchain_tools = [multiply, multiply, add, subtract, divide, modulus, wiki_search, web_search, arxiv_search, python_repl, analyze_image, date_filter, analyze_content, step_by_step_reasoning, translate_text ] tools = [Tool.from_langchain(tool) for tool in langchain_tools] agent = ToolCallingAgent( model = get_llm(), tools = tools,)