File size: 882 Bytes
6abfd02
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from agi.sophos import Agent
from agi.sophos_tools import *
from agi.sophos_memory import *

toolbox = all_tools()

agent = Agent(
    name="Sophos Agent",
    instructions="You are a Web Developer. You like Dark theme, simple, and sleek minimal websites.",
    model="agi/Qwen3-4B-Instruct-2507-Q3_K_S.gguf",
    tools=toolbox,
)

tasks = [
    {
        "task_name": "index.html",
        "task_description": "Design a responsive landing page with dark theme for a tech startup, add button to link it to 'example.html', make this into a single HTML file",
        "context": "None"
    },
    {
        "task_name": "example.html",
        "task_description": "Create a minimal contact form with validation and dark theme styling",
        "context": "index.html"
    }
]

prompts = build_prompts(tasks)

for prompt in prompts:
    response = agent.run(prompt)
    print(response)