from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel agent = CodeAgent( tools=[DuckDuckGoSearchTool()], model=HfApiModel() ) agent.run("What is the capital of France?")