from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel if __name__ == '__main__': agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel()) agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")