__ __ ___ _ ___
| \/ | __ _ ___| \ \ | | |_ _|
| |\/| | / _` | / __| |\ \| | | |
| | | || (_| || (__| | \ \ |___ | |
|_| |_| \__,_| \___|_| \_\____| |___|
S W A R M D I R E C T O R
Crafted by Roedy Rustam
A Cyberpunk-Inspired Neural Uplink for AI Swarm Orchestration
This project features native integration with the Vibes-Plug ecosystem, allowing agents to automatically learn new "skills" from simple Markdown files.
- Multi-Provider Support: Switch between Gemini, LLaMA (via Groq), Claude, GPT, Grok, or DeepSeek models effortlessly using
LiteLLM. - Markdown Skill Injection: Define expert skills in Markdown (
skills/directory) and they will be automatically injected into your agent's system prompt. - Beautiful Terminal UI: Uses
Richfor gorgeous tables, colors, and loading animations. - YAML Configuration: Easily define your agents, their roles, and step-by-step workflows in
agents.yaml. - Beginner Friendly: No heavy abstractions like LangGraph or AutoGen—just pure, transparent Python code that is easy to study and modify.
Using PowerShell:
irm https://raw.githubusercontent.com/roedyrustam/multi_agent_cli/main/install.ps1 | iex
Using CMD (requires curl):
curl -sSL https://raw.githubusercontent.com/roedyrustam/multi_agent_cli/main/install.bat -o install.bat && install.bat(Note: Don't forget to replace YOUR_USERNAME with your actual GitHub username before sharing these links!)
If you have Docker and Docker Compose installed, you can skip Python environment setup entirely!
# Ensure you have your .env file ready docker-compose up -d # To attach to the interactive chat session: docker attach multi_agent_cli_cli_1
-
Clone the repository
git clone https://github.com/roedyrustam/multi_agent_cli.git cd multi-agent-cli -
Create a virtual environment & Install
python -m venv venv # Windows: .\venv\Scripts\activate # Mac/Linux: source venv/bin/activate pip install -e .
-
Set up Environment Variables & Default Model The application comes with an interactive setup wizard! Simply run the setup command to configure your API keys and your
DEFAULT_MODEL(e.g.,gemini/gemini-2.5-flash,xai/grok-beta, ordeepseek/deepseek-chat):macli setup
Or you can manually rename
.env.exampleto.envand add them yourself.
To completely remove the Swarm Director, remove the PATH registry and delete the environment, simply run the built-in uninstaller from the installation directory:
Using PowerShell:
cd /path/to/multi-agent-cli .\uninstall.ps1
Using CMD:
cd \path\to\multi-agent-cli
uninstall.batmacli --help
macli list-agents
List all skills currently loaded in your skills/ directory:
macli list-skills
Turn the CLI into a dynamic Swarm (like OpenDevin or Hermes). The Swarm Director will dynamically parse your prompt, delegate to agents, and the agents can execute real Python code, search the web, and read/write files!
macli swarm "Search the web for the latest Python version, write a simple script to print it, and execute it to verify."Execute a multi-agent workflow defined strictly in agents.yaml. By default, it runs the research_and_write workflow.
macli run "Build a simple Hello World in Python" --workflow research_and_writeWant to chat directly with a single agent to test its skills? You can enter an interactive chat mode!
macli chat Researcher
Type exit or quit to leave the chat.
Every time you run a workflow or chat with an agent, the full conversation is automatically exported as a Markdown file in the outputs/ directory.
The CLI provides a built-in generator to help you create new skills easily:
macli create-skill
This will launch a wizard asking for the skill name and description, and will automatically generate a .md file in the skills/ directory with the proper YAML frontmatter.
For example, a python-expert.md skill looks like this:
--- name: python-expert description: You are a Python 3.10+ expert. --- # Guidelines 1. Always use type hints. 2. Write clean, PEP8 compliant code.
Then, assign python-expert to any agent in agents.yaml.
Contributions, issues, and feature requests are welcome! This is an educational project aimed at helping beginners understand AI agents without being overwhelmed by massive frameworks.
This project is MIT licensed.