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¶
- openmas init: Initialize a new OpenMAS project with standard directory structure
- openmas validate: Validate the OpenMAS project configuration
- openmas list agents: List agents defined in the project
- openmas run: Run an agent from the OpenMAS project
- openmas deps: Manage project dependencies
- openmas generate-dockerfile: Generate a Dockerfile for an agent
Installation¶
The CLI is automatically installed when you install the OpenMAS package:
Usage¶
Environmental Requirements¶
Running agents using the CLI requires:
- A properly structured OpenMAS project (created with
openmas init
or following the same conventions) - A
openmas_project.yml
file in the project root - Agent directories containing
agent.py
files withBaseAgent
subclasses
For more details on project structure and conventions, see the Getting Started guide.