File size: 329 Bytes
0c6c22e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from sophos import Agent
from sophos_tools import *

toolbox = all_tools()

agent = Agent(
    name="Sophos Agent",
    instructions="You are an AI Agent.",
    model="Qwen3-4B-Instruct-2507-Q3_K_S.gguf",
    tools=toolbox,
)

prompt = "roll a dice, also whats the weather in Tokyo?"
response = agent.run(prompt)
print(response)