OpenMAS: Easily Build Smart Multi-Agent Systems
Project description
OpenMAS
Easily Build Smart Multi-Agent Systems
OpenMAS streamlines asynchronous Multi-Agent System (MAS) development in Python. By providing a lightweight framework, standardized structure, and helpful CLI tools, it handles the foundational setup, freeing you to concentrate on what matters most: designing and implementing sophisticated agent behaviors.
Inspired by modern development ecosystems and driven by real-world use cases like coding and gaming agents, OpenMAS aims to streamline the entire MAS lifecycle, with particular attention to integrating communication protocols like the Model Context Protocol (MCP) alongside standard web protocols.
Full Documentation: https://docs.openmas.ai
Key Features
- Simplified Agent Development: Build agents inheriting from
BaseAgentwith a clear asynchronous lifecycle (setup,run,shutdown). - Flexible Communication: Pluggable communicators for HTTP, Model Context Protocol (SSE & Stdio), gRPC, MQTT, with lazy loading to keep dependencies minimal. Easily extend with custom communicators. See Communication.
- Structured Projects: Standardized directory layout (
agents/,shared/,extensions/,packages/) generated byopenmas initpromotes modularity and maintainability. See Project Structure. - Layered Configuration: Robust system loading configuration from files (
openmas_project.yml,config/*.yml),.env, and environment variables. See Configuration Guide. - Agent Reasoning Agnosticism: While
BaseAgentinherently supports heuristic-based logic, OpenMAS facilitates integrating diverse reasoning mechanisms. Follow guides for LLM Integration (using official LLM client libraries like OpenAI, Anthropic, Google Gemini) or explore built-in support for BDI Patterns (includingBdiAgentand SPADE-BDI integration examples). - Workflow Implementation: Implement various agent interaction patterns (see Building Effective Agents). While specific helpers exist for the Orchestrator-Worker pattern, the core framework enables building custom workflows like prompt chaining, routing, and parallel execution, with more helpers planned for future releases. See Agent Patterns.
- Developer Workflow Tools: Use the
openmasCLI tool for initializing projects (openmas init), validating configuration (openmas validate), running agents locally (openmas run), managing dependencies (openmas deps), and generating deployment artifacts (openmas generate-dockerfile,openmas generate-compose). See CLI Docs. - Extensibility: Design encourages local project extensions (
extensions/) and shareable external packages (packages/). - Testing Utilities: Includes
MockCommunicatorandAgentTestHarnessto facilitate unit and integration testing. See Testing Your Agents.
Model Context Protocol (MCP) Support
OpenMAS now supports MCP 1.7.1, providing a more stable and resilient integration with Anthropic's Model Context Protocol. The MCP integration allows agents to:
- Call tools provided by other agents
- Register tools for other agents to call
- Handle errors gracefully
- Communicate using either SSE (HTTP) or STDIO transports
See the MCP 1.7.1 Integration Guide for more details.
Installation
pip install openmas
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openmas-0.1.5.tar.gz.
File metadata
- Download URL: openmas-0.1.5.tar.gz
- Upload date:
- Size: 118.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.10.17 Linux/6.11.0-1012-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
759fcd33fda9b5d4a66d31f3349fcb324654004be77cc516d436580d307db5f6
|
|
| MD5 |
fcd2514cf3fd64fb1af8f9a854618ae1
|
|
| BLAKE2b-256 |
3b8d34e9d76ce6343051b7597b40e7731e1d4f578284c50a5b23acb44d362c70
|
File details
Details for the file openmas-0.1.5-py3-none-any.whl.
File metadata
- Download URL: openmas-0.1.5-py3-none-any.whl
- Upload date:
- Size: 154.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.10.17 Linux/6.11.0-1012-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f46af1381c681ff55cffdfb29f77051ccdd282a1b13947f255438b86bdaa779
|
|
| MD5 |
b6acd770191397190a0448d7693d431f
|
|
| BLAKE2b-256 |
3fdc6da45904e9f745f4e2942dd3e98498b9224a25283089165c5178e7923184
|