# fabstech-lab/agents-open-code architecture

> Architecture diagram of the GitHub repository fabstech-lab/agents-open-code, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fabstech-lab/agents-open-code
- Repository: https://github.com/fabstech-lab/agents-open-code

## Overview

This repository is an OpenCode team kit: Markdown agent definitions and a command coordinate a user’s development request through planning, implementation, review, and testing. The README documents the role order, permissions, verdicts, and handoff files. The source excerpts were unavailable, so relationships below are limited to those explicitly described in the README; generated project files are shown as outputs, not as inspected implementation.

Main entry points: [`.opencode/agents/chef.md`](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/chef.md) (Team lead), [`.opencode/agents/dev.md`](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/dev.md) (Developer), [`.opencode/agents/tech-lead.md`](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/tech-lead.md) (Tech lead), [`.opencode/agents/testeur.md`](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/testeur.md) (Tester)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Request entry"]
  node_opencode["OpenCode"]
  node_team_command["Team command<br/>[equipe.md]"]
end

subgraph group_roles["Team roles"]
  node_chef["Team lead<br/>[chef.md]"]
  node_architecte["Architect<br/>[architecte.md]"]
  node_dev["Developer<br/>[dev.md]"]
  node_tech_lead["Tech lead<br/>[tech-lead.md]"]
  node_testeur["Tester<br/>[testeur.md]"]
end

subgraph group_artifacts["Handoff artifacts"]
  node_plan["Implementation plan"]
  node_project_code["Project code"]
  node_review["Review verdict"]
  node_test_report["Test report"]
end

node_user(("User"))

node_user -->|"describes request"| node_opencode
node_opencode -->|"runs command"| node_team_command
node_user -->|"selects agent"| node_chef
node_team_command -->|"starts workflow"| node_chef
node_chef -->|"dispatches first"| node_architecte
node_chef -->|"dispatches second"| node_dev
node_chef -->|"dispatches third"| node_tech_lead
node_chef -->|"dispatches fourth"| node_testeur
node_architecte -->|"writes plan"| node_plan
node_dev -->|"uses plan"| node_plan
node_dev -->|"writes code"| node_project_code
node_tech_lead -->|"reviews code"| node_project_code
node_tech_lead -->|"writes verdict"| node_review
node_testeur -->|"tests code"| node_project_code
node_testeur -->|"writes results"| node_test_report
node_tech_lead -.->|"returns for rework"| node_dev
node_testeur -.->|"returns for rework"| node_dev

click node_team_command "https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/commands/equipe.md"
click node_chef "https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/chef.md"
click node_architecte "https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/architecte.md"
click node_dev "https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/dev.md"
click node_tech_lead "https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/tech-lead.md"
click node_testeur "https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/testeur.md"

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_opencode,node_team_command,node_user toneBlue
class node_chef,node_architecte,node_dev,node_tech_lead,node_testeur toneAmber
class node_plan,node_project_code,node_review,node_test_report toneMint
```

## Components

### Request entry

- **OpenCode**
- [Team command](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/commands/equipe.md): `.opencode/commands/equipe.md`

### Team roles

- [Team lead](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/chef.md): `.opencode/agents/chef.md`
- [Architect](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/architecte.md): `.opencode/agents/architecte.md`
- [Developer](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/dev.md): `.opencode/agents/dev.md`
- [Tech lead](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/tech-lead.md): `.opencode/agents/tech-lead.md`
- [Tester](https://github.com/fabstech-lab/agents-open-code/blob/main/.opencode/agents/testeur.md): `.opencode/agents/testeur.md`

### Handoff artifacts

- **Implementation plan**
- **Project code**
- **Review verdict**
- **Test report**

### Other components

- **User**

## Connections

- User → OpenCode: describes request (evidence: `README.md`)
- OpenCode → Team command: runs command (evidence: `README.md`)
- User → Team lead: selects agent (evidence: `README.md`)
- Team command → Team lead: starts workflow (evidence: `README.md`)
- Team lead → Architect: dispatches first (evidence: `README.md`)
- Team lead → Developer: dispatches second (evidence: `README.md`)
- Team lead → Tech lead: dispatches third (evidence: `README.md`)
- Team lead → Tester: dispatches fourth (evidence: `README.md`)
- Architect → Implementation plan: writes plan (evidence: `README.md`)
- Developer → Implementation plan: uses plan (evidence: `README.md`)
- Developer → Project code: writes code (evidence: `README.md`)
- Tech lead → Project code: reviews code (evidence: `README.md`)
- Tech lead → Review verdict: writes verdict (evidence: `README.md`)
- Tester → Project code: tests code (evidence: `README.md`)
- Tester → Test report: writes results (evidence: `README.md`)
- Tech lead → Developer: returns for rework (evidence: `README.md`)
- Tester → Developer: returns for rework (evidence: `README.md`)
