AGI-4 / main.py
AGofficial's picture
Upload 3 files
6abfd02 verified
from agi.sophos import Agent
from agi.sophos_tools import *
toolbox = all_tools()
agent = Agent(
name="Sophos Agent",
instructions="You are an AI Agent.",
model="agi/Qwen3-4B-Instruct-2507-Q3_K_S.gguf",
tools=toolbox,
)
tasks = [
"Write a Python function to calculate the factorial of a number. (inside a file)",
"Create a simple HTML page (inside a file)",
"Make an html file for a simple game (inside a file)"
]
for task in tasks:
response = agent.run(task, enforce_file_creation=True)
print(response)