File size: 223 Bytes
1d76826
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from smol_agent import SmolAgent

# Define a basic agent with commonly useful tools
tools = ["search", "calculator", "python", "code"]
agent = SmolAgent(tools=tools)

def run_agent(question):
    return agent.run(question)