Skip to main content

A comprehensive, extensible AI agent framework with local LLM integration

Reason this release was yanked:

wrong release

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:

  1. basic_usage.py: Demonstrates core functionality
  2. design_agent_example.py: Shows advanced design capabilities
  3. custom_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.14

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aegis_framework-0.1.15.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aegis_framework-0.1.15-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file aegis_framework-0.1.15.tar.gz.

File metadata

  • Download URL: aegis_framework-0.1.15.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for aegis_framework-0.1.15.tar.gz
Algorithm Hash digest
SHA256 4ff88eb371f3588bdc65d078c0e9ae4bb148c4121352e19ed074ddf63de0c52b
MD5 8c52e4c4431cd55b308f5f398867632a
BLAKE2b-256 178cd3e73f4b59ff21900078b8a1f497de87b35cba97407fe13b525ee04a0b1d

See more details on using hashes here.

File details

Details for the file aegis_framework-0.1.15-py3-none-any.whl.

File metadata

File hashes

Hashes for aegis_framework-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 6de0f44221503145780e811be8d93df2abc5ccb2aebdb8aac98b8dcb9d1eb234
MD5 5fe214d868a6b8c116050e3ff1a52dc6
BLAKE2b-256 56cdb0600723cf88042f3a04e1b9ddee381c12c147974549e11370a1a551bdaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page