from huggingface_hub import login login(token="your_token_here") from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel()) agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")