# loganathansellappa/multi-agent-workflow-kit architecture

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

- Interactive diagram: https://gitdiagram.com/loganathansellappa/multi-agent-workflow-kit
- Repository: https://github.com/loganathansellappa/multi-agent-workflow-kit

## Overview

This repository is a customizable multi-agent software-engineering workflow kit, not a turnkey application. Its principal workflow runs from a feature request through orchestration, component implementation, build/test and read-only review, then fixes, learning, and a guarded task-branch push. The graph also preserves the documented review-routing, memory, evidence, cost-governance, and hook capabilities. Some tools and integrations are represented as standalone components because the supplied excerpts do not establish their runtime connections.

Main entry points: [`agents/developers`](https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/agents/developers) (Developer agents), [`agents/reviewers`](https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/agents/reviewers) (Review agents), [`skills/quality-loop-harness/SKILL.md`](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/quality-loop-harness/SKILL.md) (Quality loop), [`kb`](https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/kb) (Knowledge base)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Agent workflow"]
  node_feature_orchestrator["Feature orchestrator"]
  node_review_orchestrator["Review orchestrator"]
  node_developers["Developer agents"]
  node_reviewers["Review agents"]
end

subgraph group_skills["Reusable skills"]
  node_quality_loop["Quality loop<br/>[SKILL.md]"]
  node_preflight["Preflight and budget<br/>[preflight_gate.py]"]
  node_push_skill["Push guard skill<br/>[push_guard.py]"]
  node_evidence["Evidence discipline<br/>[evidence_lint.py]"]
  node_findings["Review findings<br/>[SKILL.md]"]
end

subgraph group_guards["Runtime guards"]
  node_push_hook["Push hook<br/>[push-guard-hook.py]"]
  node_shell_hook["Shell guard hook"]
end

subgraph group_memory["Knowledge and state"]
  node_learning["Learning capture"]
  node_recall["Episodic recall<br/>[episodic_recall.py]"]
  node_kb[("Knowledge base")]
  node_kb_curate["KB curation<br/>[kb_lint.py]"]
  node_workflow_state["Workflow state<br/>[workflow_state.py]"]
  node_metrics["Delivery metrics<br/>[SKILL.md]"]
end

subgraph group_tools["Configuration tools"]
  node_agent_config["Agent configuration"]
  node_model_routing["Model routing"]
  node_install["Copilot installer"]
  node_sync["Live sync<br/>[sync_from_live.py]"]
  node_validation["Agent validation<br/>[validate_agents.py]"]
end

node_requester(("Feature requester"))
node_copilot["Copilot CLI / agent runner"]
node_git[("Git repository")]
node_settings[("Copilot settings store")]

node_requester -->|"submits request"| node_feature_orchestrator
node_feature_orchestrator -->|"delegates work"| node_developers
node_developers -->|"runs quality loop"| node_quality_loop
node_quality_loop -->|"requests review"| node_reviewers
node_reviewers -->|"returns findings"| node_developers
node_review_orchestrator -->|"routes diff"| node_reviewers
node_review_orchestrator -->|"reports findings"| node_requester
node_developers -->|"checks readiness"| node_preflight
node_quality_loop -->|"checks evidence"| node_evidence
node_reviewers -->|"formats findings"| node_findings
node_developers -->|"captures lessons"| node_learning
node_developers -->|"recalls prior work"| node_recall
node_learning -->|"appends lessons"| node_kb
node_recall -->|"reads lessons"| node_kb
node_kb_curate -->|"checks KB health"| node_kb
node_developers -->|"records run facts"| node_workflow_state
node_developers -->|"captures metrics"| node_metrics
node_developers -->|"checks push"| node_push_skill
node_developers -->|"pushes task branch"| node_git
node_copilot -->|"invokes hook"| node_push_hook
node_copilot -->|"invokes hook"| node_shell_hook
node_developers -.->|"uses routing config"| node_agent_config
node_model_routing -->|"reads routing"| node_agent_config
node_model_routing -->|"writes bindings"| node_settings
node_install -->|"installs hooks"| node_copilot
node_sync -.->|"synchronizes content"| node_copilot
node_validation -.->|"checks definitions"| node_agent_config

click node_feature_orchestrator "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/agents/orchestrators/feature-orchestrator.agent.md"
click node_review_orchestrator "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/agents/orchestrators/review-orchestrator.agent.md"
click node_developers "https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/agents/developers"
click node_reviewers "https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/agents/reviewers"
click node_quality_loop "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/quality-loop-harness/SKILL.md"
click node_preflight "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/agent-preflight-check/preflight_gate.py"
click node_push_skill "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/git-push-guard/push_guard.py"
click node_evidence "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/evidence-discipline/evidence_lint.py"
click node_findings "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/review-findings-output/SKILL.md"
click node_learning "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/learning-capture/capture_learning.py"
click node_recall "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/agent-preflight-check/episodic_recall.py"
click node_kb "https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/kb"
click node_kb_curate "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/kb-curate/kb_lint.py"
click node_workflow_state "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/workflow-state/workflow_state.py"
click node_metrics "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/delivery-metrics-capture/SKILL.md"
click node_push_hook "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/hooks/push-guard-hook.py"
click node_shell_hook "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/hooks/shell-guard-hook.py"
click node_agent_config "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/agents/agents.config.example.yaml"
click node_model_routing "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/apply_model_routing.py"
click node_install "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/install_to_copilot.py"
click node_sync "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/sync_from_live.py"
click node_validation "https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/validate_agents.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_feature_orchestrator,node_review_orchestrator,node_developers,node_reviewers toneBlue
class node_quality_loop,node_preflight,node_push_skill,node_evidence,node_findings,node_git,node_settings toneAmber
class node_push_hook,node_shell_hook,node_requester toneMint
class node_learning,node_recall,node_kb,node_kb_curate,node_workflow_state,node_metrics toneRose
class node_agent_config,node_model_routing,node_install,node_sync,node_validation,node_copilot toneIndigo
```

## Components

### Agent workflow

- [Feature orchestrator](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/agents/orchestrators/feature-orchestrator.agent.md): `agents/orchestrators/feature-orchestrator.agent.md`
- [Review orchestrator](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/agents/orchestrators/review-orchestrator.agent.md): `agents/orchestrators/review-orchestrator.agent.md`
- [Developer agents](https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/agents/developers): `agents/developers`
- [Review agents](https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/agents/reviewers): `agents/reviewers`

### Reusable skills

- [Quality loop](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/quality-loop-harness/SKILL.md): `skills/quality-loop-harness/SKILL.md`
- [Preflight and budget](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/agent-preflight-check/preflight_gate.py): `skills/agent-preflight-check/preflight_gate.py`
- [Push guard skill](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/git-push-guard/push_guard.py): `skills/git-push-guard/push_guard.py`
- [Evidence discipline](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/evidence-discipline/evidence_lint.py): `skills/evidence-discipline/evidence_lint.py`
- [Review findings](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/review-findings-output/SKILL.md): `skills/review-findings-output/SKILL.md`

### Runtime guards

- [Push hook](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/hooks/push-guard-hook.py): `hooks/push-guard-hook.py`
- [Shell guard hook](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/hooks/shell-guard-hook.py): `hooks/shell-guard-hook.py`

### Knowledge and state

- [Learning capture](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/learning-capture/capture_learning.py): `skills/learning-capture/capture_learning.py`
- [Episodic recall](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/agent-preflight-check/episodic_recall.py): `skills/agent-preflight-check/episodic_recall.py`
- [Knowledge base](https://github.com/loganathansellappa/multi-agent-workflow-kit/tree/main/kb): `kb`
- [KB curation](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/kb-curate/kb_lint.py): `skills/kb-curate/kb_lint.py`
- [Workflow state](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/workflow-state/workflow_state.py): `skills/workflow-state/workflow_state.py`
- [Delivery metrics](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/skills/delivery-metrics-capture/SKILL.md): `skills/delivery-metrics-capture/SKILL.md`

### Configuration tools

- [Agent configuration](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/agents/agents.config.example.yaml): `agents/agents.config.example.yaml`
- [Model routing](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/apply_model_routing.py): `scripts/apply_model_routing.py`
- [Copilot installer](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/install_to_copilot.py): `scripts/install_to_copilot.py`
- [Live sync](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/sync_from_live.py): `scripts/sync_from_live.py`
- [Agent validation](https://github.com/loganathansellappa/multi-agent-workflow-kit/blob/main/scripts/validate_agents.py): `scripts/validate_agents.py`

### Other components

- **Feature requester**
- **Copilot CLI / agent runner**
- **Git repository**
- **Copilot settings store**

## Connections

- Feature requester → Feature orchestrator: submits request (evidence: `README.md`)
- Feature orchestrator → Developer agents: delegates work (evidence: `README.md`)
- Developer agents → Quality loop: runs quality loop (evidence: `README.md`)
- Quality loop → Review agents: requests review (evidence: `README.md`)
- Review agents → Developer agents: returns findings (evidence: `README.md`)
- Review orchestrator → Review agents: routes diff (evidence: `README.md`)
- Review orchestrator → Feature requester: reports findings (evidence: `README.md`)
- Developer agents → Preflight and budget: checks readiness (evidence: `README.md`)
- Quality loop → Evidence discipline: checks evidence (evidence: `README.md`)
- Review agents → Review findings: formats findings (evidence: `README.md`)
- Developer agents → Learning capture: captures lessons (evidence: `README.md`)
- Developer agents → Episodic recall: recalls prior work (evidence: `README.md`)
- Learning capture → Knowledge base: appends lessons (evidence: `README.md`)
- Episodic recall → Knowledge base: reads lessons (evidence: `README.md`)
- KB curation → Knowledge base: checks KB health (evidence: `README.md`)
- Developer agents → Workflow state: records run facts (evidence: `README.md`)
- Developer agents → Delivery metrics: captures metrics (evidence: `README.md`)
- Developer agents → Push guard skill: checks push (evidence: `README.md`)
- Developer agents → Git repository: pushes task branch (evidence: `README.md`)
- Copilot CLI / agent runner → Push hook: invokes hook (evidence: `README.md`)
- Copilot CLI / agent runner → Shell guard hook: invokes hook (evidence: `README.md`)
- Developer agents → Agent configuration: uses routing config
- Model routing → Agent configuration: reads routing (evidence: `scripts/apply_model_routing.py`)
- Model routing → Copilot settings store: writes bindings (evidence: `scripts/apply_model_routing.py`)
- Copilot installer → Copilot CLI / agent runner: installs hooks (evidence: `README.md`)
- Live sync → Copilot CLI / agent runner: synchronizes content
- Agent validation → Agent configuration: checks definitions
