Skip to content

Introduction

MAESTRO-SSOT is a multi-agent software engineering framework where specialized LLM agents collaborate around a shared structured state instead of passing messages — coordinated by an autonomous control loop and guarded by a restrictive execution harness.

Core Philosophy

Shared State over Messages

Traditional multi-agent systems (AutoGen, ChatDev) treat collaboration as message passing: agents chat in a group, then try to reconcile their individual work. This causes:

  • Integration failures: Agent A assumes Agent B implemented X, but B never did
  • Redundant communication: N agents require O(N²) message pairs
  • Opaque execution: No audit trail of who changed what and when

MAESTRO replaces chat with a Single Source of Truth (SSOT) — a SQLite-backed structured store for:

DomainPurpose
Requirements TreeHierarchical tasks with dependencies and status
Contract RegistryAPI schema agreements between agents
Execution LogImmutable audit trail of every action
Agent MemoryPer-agent key-value working memory

Guarded Execution

Every agent action passes through a Harness pipeline:

Agent Tool Call


┌─────────────┐
│   ACL Check │  ← File path allow/deny lists
│   (fnmatch) │
└──────┬──────┘


┌─────────────┐
│  Validator  │  ← Dangerous pattern detection
│  (regex)    │
└──────┬──────┘


┌─────────────┐
│   Budget    │  ← Token/step/time limits
│   Tracker   │
└──────┬──────┘


┌─────────────┐
│   Sandbox   │  ← Subprocess execution
│   (Local)   │
└─────────────┘

Autonomous Orchestration

The Auto-Loop is an LLM-driven controller that observes the full SSOT state and decides the next action dynamically:

  • DECOMPOSE: Break requirements into sub-tasks
  • ASSIGN: Match tasks to the best agent
  • EXECUTE: Run agents on their assigned tasks
  • VERIFY: Validate contracts, run tests, review code
  • COMMIT: Snapshot the successful state
  • DONE: Terminate when all work is complete

When to Use MAESTRO

MAESTRO is designed for cross-module software engineering tasks that require multiple specialized agents:

  • Backend API + Frontend UI coordination
  • Database schema + Migration + Test generation
  • Multi-service microservices with contract validation
  • Bug fixes that span multiple files

For simple single-file tasks, a single-agent approach may be more efficient.

Released under the MIT License.