Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,26 +1,25 @@
|
|
| 1 |
-
-
|
| 2 |
-
tags:
|
| 3 |
-
- ml-intern
|
| 4 |
-
---
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
| 9 |
-
## Generated by ML Intern
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
- Source code: https://github.com/huggingface/ml-intern
|
| 15 |
-
|
| 16 |
-
## Usage
|
| 17 |
|
| 18 |
```python
|
| 19 |
-
from
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
model = AutoModelForCausalLM.from_pretrained(model_id)
|
| 24 |
-
```
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Mythos — Multi-Agent Framework
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
A Python framework for building dynamic, memory-aware multi-agent systems with formal orchestration.
|
| 4 |
|
| 5 |
+
## Core Concepts
|
|
|
|
| 6 |
|
| 7 |
+
- **Agent**: A role-based reasoning unit with memory, tools, and communication capabilities
|
| 8 |
+
- **Pantheon**: A collection of agents with defined relationships and workflows
|
| 9 |
+
- **Oracle**: The orchestration engine that routes tasks, manages state, and adapts topology
|
| 10 |
+
- **Memory**: MIRIX-inspired 4-component memory (Core, Episodic, Semantic, Procedural)
|
| 11 |
+
- **Tool**: MCP-native tool abstraction
|
| 12 |
|
| 13 |
+
## Quick Start
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
```python
|
| 16 |
+
from mythos import Agent, Pantheon, Oracle
|
| 17 |
|
| 18 |
+
researcher = Agent(name="Athena", role="Researcher", goal="Find accurate information")
|
| 19 |
+
writer = Agent(name="Homer", role="Writer", goal="Create compelling narratives")
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
pantheon = Pantheon(agents=[researcher, writer])
|
| 22 |
+
oracle = Oracle(pantheon=pantheon, process="sequential")
|
| 23 |
+
|
| 24 |
+
result = oracle.run("Write a story about ancient Greece")
|
| 25 |
+
```
|