jassi004 commited on
Commit
fcc2f3e
·
verified ·
1 Parent(s): 81917a3

Upload agent.py

Browse files
Files changed (1) hide show
  1. agent.py +8 -0
agent.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from smol_agent import SmolAgent
2
+
3
+ # Define a basic agent with commonly useful tools
4
+ tools = ["search", "calculator", "python", "code"]
5
+ agent = SmolAgent(tools=tools)
6
+
7
+ def run_agent(question):
8
+ return agent.run(question)