File size: 1,137 Bytes
adb69cc
 
 
 
 
 
 
4863507
 
 
8666b1b
4863507
 
 
8666b1b
4863507
d313324
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
---
license: mit
language:
- en
base_model:
- Qwen/Qwen3-4B-Instruct-2507
---
<img src="sophos.png" alt="Sophos Logo" width="500"/>

# Sophos 

## -- Wisdom --
### Artificial General Intelligence Agent Framework

Sophos is a near-AGI level Agent designed for tool usage and autonomous task completion. It uses `qwen-3` as a default language model, but can be configured to use any model by changing the `sophos_models.py` file.

Sophos intelligence is limited only by the language model it uses. It is designed to be a flexible and powerful AI agent that can be used for a wide variety of tasks.

# Example

```python

from sophos import Agent
from sophos_tools import get_weather, get_time, function_tool

@function_tool
def favourite_color() -> str:
    '''fetches the user's favorite color.'''
    return "My favorite color is crimson red."

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

response = agent.run("What is my favorite color? and what is the weather in New York?")
print(response)

```