djunaim/codeAgent
0
1from huggingface_hub import login2from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel3 4login()5 6 7agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())8 9agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")