from huggingface_hub import login from smolagents import CodeAgent, InferenceClientModel, DuckDuckGoSearchTool sys_prompt = open("sys_prompt.txt", "r").read() agent = CodeAgent(tools=[DuckDuckGoSearchTool], model=InferenceClientModel(), system_prompt=sys_prompt) if __name__ == "__main__": agent.run("Search for the best music recommendations for a party at the Wayne's mansion.")