Skip to main content

A framework for building intelligent agent systems

Project description

Meta Agents

PyPI version Python 3.8+ License: MIT

A powerful framework for building intelligent meta-agent systems.

Features

  • 🤖 Easy-to-use Agent abstraction
  • 🎯 Agent configuration and management
  • 🔄 Multi-agent coordination
  • 📊 Task execution history
  • 🛠️ Extensible architecture

Installation

pip install meta-agent-kit

Quick Start

Basic Agent Usage

from meta_agent import Agent, AgentConfig

# Create an agent
config = AgentConfig(
    name="assistant",
    model="gpt-4",
    temperature=0.7
)
agent = Agent(config)

# Execute a task
result = agent.execute("Analyze this data")
print(result)

# View history
history = agent.get_history()

Multi-Agent Management

from meta_agent import Agent, AgentConfig, AgentManager

# Create a manager
manager = AgentManager()

# Add multiple agents
agent1 = Agent(AgentConfig(name="researcher", model="gpt-4"))
agent2 = Agent(AgentConfig(name="writer", model="gpt-3.5-turbo"))

manager.add_agent(agent1)
manager.add_agent(agent2)

# Execute tasks
result1 = manager.execute_task("researcher", "Research topic X")
result2 = manager.execute_task("writer", "Write a summary")

# Broadcast to all agents
results = manager.broadcast_task("Common task for all")

Configuration

AgentConfig Options

  • name (str): Agent name identifier
  • model (str): Model to use (default: "gpt-4")
  • temperature (float): Temperature setting (default: 0.7)
  • max_tokens (int): Maximum tokens (default: 2000)
  • system_prompt (str, optional): System prompt
  • tools (List[str], optional): Available tools

Development

Setup Development Environment

# Clone the repository
git clone https://github.com/yourusername/meta-agent-kit.git
cd meta-agent-kit

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black meta_agents/

# Type checking
mypy meta_agents/

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Roadmap

  • Add more agent types
  • Implement tool integration
  • Add async support
  • Enhanced logging and monitoring
  • Web UI for agent management

Changelog

0.1.0 (Initial Release)

  • Basic Agent implementation
  • AgentConfig for configuration
  • AgentManager for multi-agent coordination
  • Execution history tracking

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

meta_agent_kit-1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

meta_agent_kit-1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file meta_agent_kit-1.0.tar.gz.

File metadata

  • Download URL: meta_agent_kit-1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.9

File hashes

Hashes for meta_agent_kit-1.0.tar.gz
Algorithm Hash digest
SHA256 62f875a62e7b5e93579a0decdf3acd35435cc79f527ce9af6b70043b3a7c89da
MD5 f452ec3bc068de88001a915dc68984f0
BLAKE2b-256 8de67fefd0695f8fac953a7fa5afeb93cdd415aad9744de734e3274892a86123

See more details on using hashes here.

File details

Details for the file meta_agent_kit-1.0-py3-none-any.whl.

File metadata

  • Download URL: meta_agent_kit-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.9

File hashes

Hashes for meta_agent_kit-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4aa3cf780a5f375b4dae09b4e7c636256f47116bf5a81d64a6850d0025974f9
MD5 c0fa52caccd8c31cc2e9a9794c2bbe33
BLAKE2b-256 836353554cb798339c628aa493c76295d40391eb5afaf346a4672e8f5782b947

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