jassi004's picture
Upload agent (1).py
1d76826 verified
raw
history blame contribute delete
223 Bytes
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)