Skip to main content

Lightweight and flexible library for creating multi-agent agents and conversations.

Project description

MiniAutoGen: A Lightweight and Flexible Library for Creating Agents and Multi-Agent Conversations

MiniAutoGen Logo

About MiniAutoGen

MiniAutoGen is an innovative, open-source library designed for the next generation of applications in Large Language Models (LLMs). Focused on enabling multi-agent conversations, MiniAutoGen is celebrated for its lightweight and flexible structure. It's ideal for developers and researchers who aim to explore and expand the frontiers of conversational AI.

Drawing inspiration from AutoGen, MiniAutoGen offers a comprehensive suite of tools:

  • Unified Conversation Interface (chat): Facilitates the creation and management of multi-agent conversations.
  • Coordination Mechanism (chatadmin): Ensures efficient synchronization and management of agents.
  • Customizable Agents (agent): Provides the flexibility to tailor agents according to specific needs.
  • Action Pipeline (pipeline): Automates and streamlines agent operations, enhancing scalability and maintenance.

Incorporating LiteLLM, MiniAutoGen already integrates with over 100 LLMs. Use Bedrock, Azure, OpenAI, Cohere, Anthropic, Ollama, Sagemaker, HuggingFace, Replicate.

Why Choose MiniAutoGen?

Multi-Agent Conversations

  • Complex Interactions: Foster sophisticated dialogues involving multiple intelligent agents, each with unique abilities.

Agent Customization

  • Tailored Behaviors: Adapt agents to meet specific interaction requirements, enhancing the versatility of conversations.

Flexibility and Modularity

  • Dynamic Conversations: Shape engaging and responsive dialogues, with provisions for both automated and manual interventions.

Effective Agent Coordination

  • Collaborative Goals: Utilize our framework to facilitate seamless collaboration among agents towards common objectives.

State-of-the-Art LLM Integration

  • Advanced AI Capabilities: Leverage the power of Large Language Models to enrich conversations with intelligent and context-aware responses.

Key Components

Agent

  • Dynamic Participants: Each agent is an autonomous entity, capable of complex interactions and behaviors.

Chat

  • Conversation Management: Handles group chat sessions, maintaining state and context for coherence and continuity.

ChatAdmin

  • Orchestration: Central to coordinating chat dynamics, ensuring efficient and harmonious agent collaboration.

Pipeline

  • Operational Efficiency: Streamlines agent operations, enabling scalable and maintainable system architectures.

LLM Clients

  • AI-Powered Interactions: Integrates diverse LLM clients, providing agents with sophisticated language processing tools.

Pipeline Components

  • Simplified Development: Our modular design makes it a breeze to create new pipeline components, empowering developers to tailor their conversational data processing and handling. This flexibility allows for the seamless integration of advanced AI features, including LLM responses, user interactions, and intricate decision-making processes, directly into the agent pipeline.

Explore our assortment of pre-built components, available here.

Exemples

Using Multi-Agent Conversations to Develop a New Component for MiniAutoGen Itself

Multi-agent conversations represent interactions involving multiple agents, whether autonomous or human, each endowed with autonomy and specialized abilities. They work together to solve complex problems, share information, or perform specific tasks.

In this example, we will set up a conversation between two agents: one playing the role of a Product Owner and the other acting as an expert in developing MiniAutoGen components in Python.

The main goal of this test is to demonstrate the flexibility, ease, and efficiency of MiniAutoGen in creating and coordinating multi-agent conversations, as well as the simplicity in developing new components, thanks to the library's flexible design.

The complete conversation history: chat_history.md

View the notebook here

Discover More Examples

For additional insights and inspiration, visit our Examples folder. Here, you'll find a variety of scenarios demonstrating the versatility and capabilities of MiniAutoGen in different contexts.

Contribute to MiniAutoGen

We invite AI enthusiasts, developers, and researchers to contribute and shape the future of multi-agent conversations. Your expertise can help evolve MiniAutoGen, creating more robust and diverse applications.

How You Can Contribute:

  • Feature Development: Enhance the framework by developing new features or refining existing ones.
  • Documentation & Tutorials: Create clear guides and tutorials to facilitate user adoption.
  • Testing & Feedback: Participate in testing and provide feedback for ongoing improvements.
  • Idea Sharing: Contribute your innovative ideas and experiences to foster a vibrant community.

See more: contribute


MiniAutoGen: Pioneering the future of intelligent, interactive conversations.

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

miniautogen-0.0.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

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

miniautogen-0.0.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file miniautogen-0.0.1.tar.gz.

File metadata

  • Download URL: miniautogen-0.0.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0

File hashes

Hashes for miniautogen-0.0.1.tar.gz
Algorithm Hash digest
SHA256 90f80988c97e12375011c4c0b0aca96e735093a16424f208c5b356647bd7b77a
MD5 6275dda1669c12bc6dabdce6204c4bcb
BLAKE2b-256 6dece5728dca9aadb1e0dd0a226076eb5b0f91ae5b2f114b6e7fdc98dbfc4fb8

See more details on using hashes here.

File details

Details for the file miniautogen-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: miniautogen-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0

File hashes

Hashes for miniautogen-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37715b9b4aecc9c0e1a1bb7000600f989d18627e4a8ba32a6c9bc514492b2442
MD5 9e5a897c9ebf01c71e132ddbbce9ce35
BLAKE2b-256 0e9e1d148dd6c8f3402f2819f6f736037bc64ae796b04cd58fcdd4892d6ae08f

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