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
Metadata
Release files for aegis-framework 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aegis_framework-0.1.18.tar.gz | 26.8 kB | Without provenance | Details for aegis_framework-0.1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aegis_framework-0.1.18-py3-none-any.whl | Python 3 | none | any | Details for aegis_framework-0.1.18-py3-none-any.whl |
Total release size: 52.8 kB
Release files / aegis_framework-0.1.18.tar.gz
| Download URL | aegis_framework-0.1.18.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b2765662da4c4f31bada6505832451b0def5971371dffec2b306b29d2c1d430
|
|
BLAKE2b-256 checksum How to use checksums |
d4d17f60d039011b809a3eb4d72f2195e350dfc7c95b8d30c2e5cb6294f4444d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / aegis_framework-0.1.18-py3-none-any.whl
| Download URL | aegis_framework-0.1.18-py3-none-any.whl |
|---|---|
| Size | 25.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78966ce348fe51b4b7aa57b685f1565781b9f07f4952c0179373b007e98475b9
|
|
BLAKE2b-256 checksum How to use checksums |
9582a707fa8f4a9cfa7cf164035d6debd0ecb57c01215f3872ef422c6fa87f61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for aegis-framework 0.1.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.