A comprehensive, extensible AI agent framework with local LLM integration
Project description
Aegis Multi-Agent Framework
A powerful, extensible platform for building and deploying AI agent systems with seamless local LLM integration.
Overview
The Aegis Multi-Agent Framework provides a robust foundation for creating sophisticated multi-agent systems while maintaining simplicity and flexibility. Perfect for both researchers and developers looking to build advanced AI agent applications.
Key Features
-
Modular Agent Architecture
- Plug-and-play agent components
- Customizable agent behaviors
- Extensible design patterns
-
Local LLM Integration
- Native Ollama support
- Multiple model compatibility
- Optimized inference pipeline
-
Advanced Task Management
- Real-time task monitoring
- Parallel task execution
- Priority-based scheduling
Quick Start
Installation
pip install aegis-framework
Basic Usage
from aegis_framework import MasterAIAgent, DesignAgent
# Initialize a master agent
agent = MasterAIAgent(model="gemma2:9b")
# Generate responses
response = agent.answer_question(
"What are the key principles of multi-agent systems?"
)
print(response)
# Create a specialized design agent
designer = DesignAgent(model="gemma2:9b")
design = designer.generate_new_design(
context="Create a microservices architecture",
constraints=["scalability", "fault-tolerance"]
)
print(design)
Creating Custom Agents
from aegis_framework import MasterAIAgent
from typing import Dict, Any, Optional
class DataAnalysisAgent(MasterAIAgent):
def __init__(
self,
model: str = "gemma2:9b",
custom_tasks: Optional[Dict[str, List[str]]] = None
):
super().__init__(model=model)
# Add specialized tasks
self.agent_task_map.update({
"data_analysis": [
"analyze data",
"statistical analysis",
"trend analysis",
"data visualization"
]
})
if custom_tasks:
self.agent_task_map.update(custom_tasks)
def analyze_data(
self,
data: str,
analysis_type: str = "comprehensive"
) -> Dict[str, Any]:
"""Perform data analysis with specified parameters."""
prompt = f"Analyze this {analysis_type} data: {data}"
return self.perform_task(prompt)
# Usage
analyst = DataAnalysisAgent()
results = analyst.analyze_data(
data="your_data_here",
analysis_type="statistical"
)
System Requirements
- Python 3.7+
- Ollama (for local LLM support)
- 8GB+ RAM (recommended)
- CUDA-compatible GPU (optional)
Example Scripts
The framework includes several example scripts to help you get started:
basic_usage.py: Demonstrates core functionalitydesign_agent_example.py: Shows advanced design capabilitiescustom_agent_example.py: Illustrates custom agent creation
Run any example with the --help flag to see available options:
python examples/basic_usage.py --help
Version History
Current Version: 0.1.15
Key Updates:
- Enhanced local LLM integration
- Improved design agent capabilities
- Better error handling
- More comprehensive examples
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
- Author: Metis Analytics
- Email: cjohnson@metisos.com
- GitHub Issues: Report a bug
Acknowledgments
Special thanks to:
- The Ollama team for their excellent LLM runtime
- Our contributors and early adopters
- The open-source AI community
Made with ❤️ by Metis Analytics
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aegis_framework-0.1.18.tar.gz.
File metadata
- Download URL: aegis_framework-0.1.18.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b2765662da4c4f31bada6505832451b0def5971371dffec2b306b29d2c1d430
|
|
| MD5 |
ed2f5a1e85ce2dda145f4b363021ab6e
|
|
| BLAKE2b-256 |
d4d17f60d039011b809a3eb4d72f2195e350dfc7c95b8d30c2e5cb6294f4444d
|
File details
Details for the file aegis_framework-0.1.18-py3-none-any.whl.
File metadata
- Download URL: aegis_framework-0.1.18-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78966ce348fe51b4b7aa57b685f1565781b9f07f4952c0179373b007e98475b9
|
|
| MD5 |
347e0e9aed76d930c331e516619e5300
|
|
| BLAKE2b-256 |
9582a707fa8f4a9cfa7cf164035d6debd0ecb57c01215f3872ef422c6fa87f61
|