Catalog PyPI
PACKAGE EXPLORERView in registry

agent-maestro

PyPI

Multi-agent task orchestration — delegate work from an orchestrator to specialized sub-agents via a file-based queue.

agentai-agentsautomationcopilotmulti-agentorchestrationtask-queuevscode
Versions collected1
Direct dependencies3From release 0.1.1
Last observed20 Oct, 22:38 UTC

README

Version 0.1.1 documentation

Agent Maestro

Tests PyPI version Python 3.10+ License: MIT

🎼 Multi-agent task orchestration — delegate work from an orchestrator to specialized sub-agents via a file-based queue.

Architecture

Orchestrator (Antigravity) → maestro delegate → .agent_bridge/pending/ → watcher → Copilot CLI → .agent_bridge/completed/
                                                                                      ↓
                                                                            --agent <name>
                                                                                      ↓
                                                                        .github/agents/*.agent.md

Custom Agents

Agent Maestro leverages VS Code Copilot's custom agents for specialized roles:

AgentRoleHandoffs
OrchestratorPlan tasks, coordinate sub-agents→ Implementer, Tester, Reviewer
ImplementerWrite code changes(worker)
TesterWrite and run tests(worker)
ReviewerRead-only code review(worker)

Agent definitions live in .github/agents/ and are routed via --agent <name> when the watcher invokes Copilot CLI.

Installation

pip install agent-maestro

Option 2: From GitHub (Latest)

pip install git+https://github.com/migoueel/multi_agents.git

Option 3: For Development

git clone https://github.com/migoueel/multi_agents.git
cd multi_agents
pip install -e ".[dev]"

Quick Start

# 1. Scaffold config + custom agents (in your project)
maestro init

# 2. (Optional) Edit config.yaml and .github/agents/*.agent.md

# 3. Start the watcher daemon
maestro start

# 4. Delegate a task
maestro delegate "Add error handling to auth module" \
  --files src/auth.py \
  --agent-type implementer

# 5. Check status
maestro status <task-id>
maestro list
maestro stats

CLI Reference

CommandDescription
maestro initScaffold .agent_bridge/, config.yaml, .github/agents/
maestro startStart the background watcher daemon
maestro delegate "<instructions>"Delegate a task to a sub-agent
maestro status <id>Check task status
maestro list [--status PENDING]List all tasks
maestro statsShow queue statistics

Delegate Options

maestro delegate "..." [OPTIONS]

  --files, -f      Target files for the agent
  --action, -a     Task type: implement, test, refactor, fix, review
  --agent-type, -t Custom agent: orchestrator, implementer, tester, reviewer
  --context, -c    Extra context string
  --priority       Priority level (0=normal, higher=urgent)

Configuration

Edit config.yaml in your project root:

bridge:
  poll_interval_seconds: 3
  max_concurrent_tasks: 1
  task_timeout_seconds: 300
  agent_bridge_dir: ".agent_bridge"

runners:
  default: "copilot-cli"
  copilot_cli:
    command: "copilot"       # path to copilot.bat
    model: "gpt-5-mini"
    allow_all_tools: true

Package Structure

agent_maestro/
├── __init__.py           # Public API: delegate_task, check_status, list_tasks
├── __main__.py           # python -m agent_maestro
├── cli.py                # maestro CLI commands
├── protocol.py           # Task, TaskStatus, RunResult schemas
├── queue.py              # File-based task queue
├── config.py             # YAML config loader
├── watcher.py            # Background watcher daemon
├── runners/
│   ├── base.py           # Abstract BaseRunner
│   └── copilot_runner.py # Copilot CLI runner with --agent support
└── scaffold/
    ├── config.yaml       # Default config template
    └── agents/           # Custom agent templates
        ├── orchestrator.agent.md
        ├── implementer.agent.md
        ├── tester.agent.md
        └── reviewer.agent.md

How It Works

  1. Task Creation: maestro delegate (or delegate_task() from Python) writes a JSON file to .agent_bridge/pending/
  2. Watcher Pickup: The background watcher polls for pending tasks, claims the highest-priority one
  3. Runner Dispatch: The CopilotRunner invokes copilot -p <prompt> --agent <agent_type>
  4. Custom Agent: Copilot CLI loads the matching .github/agents/<name>.agent.md for specialized behavior
  5. Result Recording: Output moves to .agent_bridge/completed/ (or failed/)

Testing

pytest tests/ -v

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.111 Feb 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
migoueel/multi_agents

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:e612256122c5c8b7fa728572bccdc140ce112d44c4747a7f319aa45b2742efb6