Skip to content

OpenMAS CLI

OpenMAS includes a command-line interface (CLI) to help you manage your multi-agent system projects. The CLI provides tools for project initialization, validation, agent listing, dependency management, and running agents locally.

Available Commands

Installation

The CLI is automatically installed when you install the OpenMAS package:

pip install openmas

Usage

# Show help
openmas --help

# Show help for a specific command
openmas run --help

Environmental Requirements

Running agents using the CLI requires:

  1. A properly structured OpenMAS project (created with openmas init or following the same conventions)
  2. A openmas_project.yml file in the project root
  3. Agent directories containing agent.py files with BaseAgent subclasses

For more details on project structure and conventions, see the Getting Started guide.