Skip to main content

OpenMAS: A lightweight SDK for building Multi-Agent Systems

Project description

OpenMAS

PyPI version Python Version License: MIT Poetry Code style: black CI/CD codecov

Build Intelligent Agent Systems

OpenMAS is a lightweight Python SDK for building asynchronous Multi-Agent Systems (MAS) with first-class support for the Model Context Protocol (MCP).

It provides the essential tools and patterns to create sophisticated, independent agents that can communicate, coordinate, and interact with AI models and services.

Full Documentation: https://docs.openmas.ai

Key Features

  • Simplified Agent Development: Build agents inheriting from BaseAgent with a clear asynchronous lifecycle (setup, run, shutdown).
  • Flexible Communication: Pluggable communicators for HTTP, Model Context Protocol (SSE & Stdio), and experimental support for gRPC and MQTT, with lazy loading to keep dependencies minimal. Easily extend with custom communicators. See Communication.
  • Environment Configuration: Easily configure agents via environment variables or configuration files.
  • Testing Utilities: Includes tools like MockCommunicator and AgentTestHarness.
  • Deployment Ready: CLI tools to help generate Dockerfiles.
  • Agent Patterns: Built-in support for patterns like Orchestrator-Worker.
  • Package Management: Git-based dependency management for agents using openmas deps.
  • Structured Projects: Standardized directory layout (agents/, shared/, extensions/, packages/) generated by openmas init promotes modularity and maintainability. See Project Structure.

Installation

pip install openmas

OpenMAS has optional extras for different communication protocols ([mcp], [grpc], [mqtt], [all]).

See the full Installation Guide for details on prerequisites, virtual environments, and optional dependencies.

Quick Start

The best way to get started with OpenMAS is by following our detailed tutorial, which guides you through creating and running your first agent using the standard project structure:

This guide uses the openmas init command to set up a project with the proper directory structure and openmas run to execute the agent.

Contributing

Contributions are welcome! Please see the Contributing Guide for details on how to get involved, set up your development environment, run tests (tox), and submit pull requests.

License

OpenMAS is licensed under the MIT License.

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

openmas-0.1.0.tar.gz (114.7 kB view details)

Uploaded Source

Built Distribution

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

openmas-0.1.0-py3-none-any.whl (149.4 kB view details)

Uploaded Python 3

File details

Details for the file openmas-0.1.0.tar.gz.

File metadata

  • Download URL: openmas-0.1.0.tar.gz
  • Upload date:
  • Size: 114.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.17 Linux/6.11.0-1012-azure

File hashes

Hashes for openmas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cdaa342832e739b9a7134124b843096b5f1035525a32789581dd68acfebff846
MD5 a20625224d51c0eaf80c87d736d5dd2e
BLAKE2b-256 62ae1dd4dd7cc7a597067932a5e01b721d4d975ecf5ff39e1401c220c75e1012

See more details on using hashes here.

File details

Details for the file openmas-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: openmas-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 149.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.17 Linux/6.11.0-1012-azure

File hashes

Hashes for openmas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45f671518a0436872b51d447edaddbc1d902473830ae24f946df377a63c50a9a
MD5 501536de7b753005965a32dbfc488b68
BLAKE2b-256 00710f29071ba84b1a1e2cb4a9ecc643dbb9449b913ac86106b0d1cd2670c26e

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