|
|
--- |
|
|
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) |
|
|
|
|
|
``` |