# arguv/multi-agent-system architecture

> Architecture diagram of the GitHub repository arguv/multi-agent-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/arguv/multi-agent-system
- Repository: https://github.com/arguv/multi-agent-system

## Overview

This repository is a portable Markdown framework for coordinating an AI software-delivery team, not an application that builds or runs the user’s project itself. The main workflow is user-triggered: the Orchestrator clarifies requirements, plans, and delegates to specialist roles; they hand off numbered reports and iterate on failed checks before user-triggered cleanup. The README documents the team, stack-specific rules, runner adapters, and on-demand project and report folders. Edges reflect those documented relationships; the workflow file and most role instructions were not sampled.

Main entry points: [`agents/orchestrator.md`](https://github.com/arguv/multi-agent-system/blob/main/agents/orchestrator.md) (Orchestrator), [`stacks`](https://github.com/arguv/multi-agent-system/tree/main/stacks) (Stack Rules), [`agents/engineer.md`](https://github.com/arguv/multi-agent-system/blob/main/agents/engineer.md) (Engineer), [`agents/architect.md`](https://github.com/arguv/multi-agent-system/blob/main/agents/architect.md) (Architect)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_coordination["Workflow Coordination"]
  node_orchestrator["Orchestrator<br/>[orchestrator.md]"]
  node_workflow["Lifecycle Rules<br/>[workflow.md]"]
end

subgraph group_specialists["Delivery Roles"]
  node_architect["Architect<br/>[architect.md]"]
  node_devops["DevOps<br/>[devops.md]"]
  node_engineer["Engineer<br/>[engineer.md]"]
  node_test_engineer["Test Engineer<br/>[test-engineer.md]"]
  node_reviewer["Reviewer<br/>[reviewer.md]"]
  node_qa_auto["QA Automation<br/>[qa-automation.md]"]
  node_qa_manual["Manual QA<br/>[qa-manual.md]"]
end

subgraph group_shared["Shared Guidance"]
  node_stack_rules["Stack Rules"]
  node_runner_adapters["Runner Adapters"]
end

subgraph group_artifacts["Project Artifacts"]
  node_reports["Numbered Reports"]
  node_project_files["Project Workspace"]
end

subgraph group_validation["Framework Validation"]
  node_validator["Framework Validator<br/>[validate.py]"]
end

node_user(("User"))

node_user -->|"describes task"| node_orchestrator
node_user -->|"starts work"| node_orchestrator
node_orchestrator -->|"writes plan"| node_reports
node_orchestrator -->|"delegates design"| node_architect
node_orchestrator -->|"delegates setup"| node_devops
node_orchestrator -->|"delegates implementation"| node_engineer
node_orchestrator -->|"delegates testing"| node_test_engineer
node_orchestrator -->|"delegates review"| node_reviewer
node_orchestrator -->|"delegates automation QA"| node_qa_auto
node_orchestrator -->|"delegates manual QA"| node_qa_manual
node_architect -->|"records design"| node_reports
node_devops -->|"records environment"| node_reports
node_engineer -->|"writes project"| node_project_files
node_engineer -->|"records progress"| node_reports
node_test_engineer -->|"records test results"| node_reports
node_reviewer -->|"records review"| node_reports
node_qa_auto -->|"records QA results"| node_reports
node_qa_manual -->|"records QA results"| node_reports
node_orchestrator -->|"reads active stack"| node_stack_rules
node_architect -->|"reads active stack"| node_stack_rules
node_devops -->|"reads active stack"| node_stack_rules
node_engineer -->|"reads active stack"| node_stack_rules
node_test_engineer -->|"reads active stack"| node_stack_rules
node_reviewer -->|"reads active stack"| node_stack_rules
node_qa_auto -->|"reads active stack"| node_stack_rules
node_qa_manual -->|"reads active stack"| node_stack_rules
node_orchestrator -->|"returns failed checks"| node_engineer
node_user -->|"finishes work"| node_orchestrator
node_orchestrator -->|"clears on finish"| node_reports
node_orchestrator -->|"clears on finish"| node_project_files
node_runner_adapters -->|"guides loading"| node_orchestrator
node_validator -->|"checks stack files"| node_stack_rules

click node_orchestrator "https://github.com/arguv/multi-agent-system/blob/main/agents/orchestrator.md"
click node_workflow "https://github.com/arguv/multi-agent-system/blob/main/workflow.md"
click node_architect "https://github.com/arguv/multi-agent-system/blob/main/agents/architect.md"
click node_devops "https://github.com/arguv/multi-agent-system/blob/main/agents/devops.md"
click node_engineer "https://github.com/arguv/multi-agent-system/blob/main/agents/engineer.md"
click node_test_engineer "https://github.com/arguv/multi-agent-system/blob/main/agents/test-engineer.md"
click node_reviewer "https://github.com/arguv/multi-agent-system/blob/main/agents/reviewer.md"
click node_qa_auto "https://github.com/arguv/multi-agent-system/blob/main/agents/qa-automation.md"
click node_qa_manual "https://github.com/arguv/multi-agent-system/blob/main/agents/qa-manual.md"
click node_stack_rules "https://github.com/arguv/multi-agent-system/tree/main/stacks"
click node_runner_adapters "https://github.com/arguv/multi-agent-system/tree/main/adapters"
click node_validator "https://github.com/arguv/multi-agent-system/blob/main/scripts/validate.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_orchestrator,node_workflow,node_user toneBlue
class node_architect,node_devops,node_engineer,node_test_engineer,node_reviewer,node_qa_auto,node_qa_manual toneAmber
class node_stack_rules,node_runner_adapters toneMint
class node_reports,node_project_files toneRose
class node_validator toneIndigo
```

## Components

### Workflow Coordination

- [Orchestrator](https://github.com/arguv/multi-agent-system/blob/main/agents/orchestrator.md): `agents/orchestrator.md`
- [Lifecycle Rules](https://github.com/arguv/multi-agent-system/blob/main/workflow.md): `workflow.md`

### Delivery Roles

- [Architect](https://github.com/arguv/multi-agent-system/blob/main/agents/architect.md): `agents/architect.md`
- [DevOps](https://github.com/arguv/multi-agent-system/blob/main/agents/devops.md): `agents/devops.md`
- [Engineer](https://github.com/arguv/multi-agent-system/blob/main/agents/engineer.md): `agents/engineer.md`
- [Test Engineer](https://github.com/arguv/multi-agent-system/blob/main/agents/test-engineer.md): `agents/test-engineer.md`
- [Reviewer](https://github.com/arguv/multi-agent-system/blob/main/agents/reviewer.md): `agents/reviewer.md`
- [QA Automation](https://github.com/arguv/multi-agent-system/blob/main/agents/qa-automation.md): `agents/qa-automation.md`
- [Manual QA](https://github.com/arguv/multi-agent-system/blob/main/agents/qa-manual.md): `agents/qa-manual.md`

### Shared Guidance

- [Stack Rules](https://github.com/arguv/multi-agent-system/tree/main/stacks): `stacks`
- [Runner Adapters](https://github.com/arguv/multi-agent-system/tree/main/adapters): `adapters`

### Project Artifacts

- **Numbered Reports**
- **Project Workspace**

### Framework Validation

- [Framework Validator](https://github.com/arguv/multi-agent-system/blob/main/scripts/validate.py): `scripts/validate.py`

### Other components

- **User**

## Connections

- User → Orchestrator: describes task (evidence: `README.md`)
- User → Orchestrator: starts work (evidence: `README.md`)
- Orchestrator → Numbered Reports: writes plan (evidence: `README.md`)
- Orchestrator → Architect: delegates design (evidence: `README.md`)
- Orchestrator → DevOps: delegates setup (evidence: `README.md`)
- Orchestrator → Engineer: delegates implementation (evidence: `README.md`)
- Orchestrator → Test Engineer: delegates testing (evidence: `README.md`)
- Orchestrator → Reviewer: delegates review (evidence: `README.md`)
- Orchestrator → QA Automation: delegates automation QA (evidence: `README.md`)
- Orchestrator → Manual QA: delegates manual QA (evidence: `README.md`)
- Architect → Numbered Reports: records design (evidence: `README.md`)
- DevOps → Numbered Reports: records environment (evidence: `README.md`)
- Engineer → Project Workspace: writes project (evidence: `README.md`)
- Engineer → Numbered Reports: records progress (evidence: `README.md`)
- Test Engineer → Numbered Reports: records test results (evidence: `README.md`)
- Reviewer → Numbered Reports: records review (evidence: `README.md`)
- QA Automation → Numbered Reports: records QA results (evidence: `README.md`)
- Manual QA → Numbered Reports: records QA results (evidence: `README.md`)
- Orchestrator → Stack Rules: reads active stack (evidence: `README.md`)
- Architect → Stack Rules: reads active stack (evidence: `README.md`)
- DevOps → Stack Rules: reads active stack (evidence: `README.md`)
- Engineer → Stack Rules: reads active stack (evidence: `README.md`)
- Test Engineer → Stack Rules: reads active stack (evidence: `README.md`)
- Reviewer → Stack Rules: reads active stack (evidence: `README.md`)
- QA Automation → Stack Rules: reads active stack (evidence: `README.md`)
- Manual QA → Stack Rules: reads active stack (evidence: `README.md`)
- Orchestrator → Engineer: returns failed checks (evidence: `README.md`)
- User → Orchestrator: finishes work (evidence: `README.md`)
- Orchestrator → Numbered Reports: clears on finish (evidence: `README.md`)
- Orchestrator → Project Workspace: clears on finish (evidence: `README.md`)
- Runner Adapters → Orchestrator: guides loading (evidence: `README.md`)
- Framework Validator → Stack Rules: checks stack files (evidence: `scripts/validate.py`)
