A lightweight, skill-based agentic software engineering team for AI coding environments (Antigravity, Gemini CLI, Claude, Codex, Copilot, Qwen).
AITeam coordinates an automated development workflow through structured quality gates—from PRD intake and task breakdown to implementation, code review, black-box QA, and git integration—while streaming live progress to a local dashboard.
flowchart TD
Start(["User Request"]) --> Intake["1. Intake & Requirements<br/><i>(PRD Generation)</i>"]
Intake --> GatePRD{"🛑 PRD Gate<br/><i>User Sign-Off</i>"}
GatePRD -->|Approved| Arch["2. Architecture & Design<br/><i>(TRD Specification)</i>"]
GatePRD -->|Feedback| Intake
Arch --> GateTRD{"🛑 TRD Gate<br/><i>User Sign-Off</i>"}
GateTRD -->|Approved| Plan["3. Task Breakdown<br/><i>(TASK_LEDGER.md)</i>"]
GateTRD -->|Feedback| Arch
Plan --> TaskLoop["Iterate Tasks (1..N)"]
subgraph TaskExecution ["Per-Task 4-Gate Quality Loop"]
direction TB
Impl["Programmer<br/><i>Implementation & Unit Tests</i>"]
Review["Reviewer<br/><i>Static Analysis & Code Review</i>"]
QA["QA Engineer<br/><i>Automated Black-Box & Visual Playwright</i>"]
QAEval{"Actionable Human<br/>Test Steps?"}
GateQA{"🛑 Human QA Gate<br/><i>Screenshot & Evidence Review</i>"}
Commit["Maintainer<br/><i>Git Commit & Fingerprint Verification</i>"]
Impl --> Review
Review -->|Pass| QA
Review -->|Fail: Rework| Impl
QA -->|Pass| QAEval
QA -->|Fail: Rework| Impl
QAEval -->|Yes| GateQA
QAEval -->|No: Autonomous Bypass| Commit
GateQA -->|Approved| Commit
GateQA -->|Feedback / Issues| Impl
end
TaskLoop --> Impl
Commit --> CheckMore{"More Tasks<br/>Remaining?"}
CheckMore -->|Yes| Impl
CheckMore -->|No: Milestone Done| Done(["🎉 Project / Milestone Complete"])
subgraph LiveObserver ["AITeam Watcher Dashboard (:22924)"]
WatchServer["Real-Time Watcher Server<br/><i>WebSocket & SSE</i>"] -.->|Visual QA Screenshot Viewer| GateQA
WatchServer -.->|Gate Approvals & Feedback| GatePRD
WatchServer -.->|Live Task Timeline & Event Logs| TaskExecution
end
- Lightweight & Skill-Native: Zero heavy runtime dependencies. Operates as an agent skill (
SKILL.md) with explicit prompt contracts inskill/contracts/. - Structured Quality Gates & Intelligent Sign-Off: Hard stops for PRD, TRD, and per-task QA sign-offs enforced by the state bridge (
AITEAM_GATE_BLOCKED). Pre-implementation acceptance obligations (actual-input, rendered-property, native motion evidence, human review) are recorded in server-owned state. Tasks with visual or gameplay obligations cannot be marked complete without behavioral evidence and cannot bypass human review via empty checks. Headless and nonvisual tasks retain clean autonomous bypass. - Behavioral Evidence & Native Motion Previews: Distinguishes component tests, integrated execution, actual-input traversal, rendered measurements, and human aesthetic judgments. Validates and serves native
.webm/.mp4motion captures demonstrating normal operation, contact/interaction, retry pacing, and completion. - Build Fingerprint Binding & Stale Evidence Invalidation: Binds QA evidence and human approval to SHA-256 source code fingerprints. Material changes to implementation files automatically invalidate affected approvals and return tasks to rework with an actionable reason.
- 4-Gate Quality Loop: Every task strictly passes Implementation, static Code Review, automated black-box QA, QA sign-off, and SHA-256 verified Git integration.
- Visual QA Screenshot Evidence: Black-box and Playwright visual verification screenshots are automatically cataloged, linked, and displayed directly inside test reports and the Watcher UI.
- Real-Time Live Dashboard: Lightweight HTTP/WebSocket watcher server (
bin/aiteam-watch) visualizing task status, active logs, phase progress, gate prompts/approvals, visual screenshot evidence, and generated artifacts in your browser. - Brownfield Safety: Automatically archives existing PRD and TRD documents when starting new milestone iterations to preserve prior project specifications.
- State Bridge: Clean CLI & programmatic bridge (
skill/lib/state-bridge.mjs) tracking.aiteam/session.jsonand.aiteam/events.jsonlwithout process locks or daemon overhead.
On Linux / macOS:
./install.shOn Windows (PowerShell):
.\install.ps1This installs aiteam-watch and aiteam-install into ~/.local/bin.
To enable AITeam in a target project:
aiteam-install /path/to/target-repoThis sets up:
.agents/skills/aiteam: Symlinked or copied skill directory containingSKILL.mdand contracts..aiteam/: Run and artifact directory (automatically excluded in.git/info/exclude).AGENTS.md: Quick-trigger agent prompt instructions.
Run the dashboard in the target project repository:
aiteam-watch .aiteam-watch automatically reuses an existing Watcher for the repository or launches a verified Watcher on an available port in 4317–4332 and prints its exact URL.
MCP start/status/advance calls also reuse a watcher only after verifying its repository. They search ports 4317–4332, skip occupied ports, and verify a new watcher is ready before returning its URL. If discovery or startup fails, the tool reports an error instead of returning a fallback address. Use the URL returned by the tool; port 4317 may belong to another project.
In your AI assistant prompt (or conversation), say:
"Using AITeam, I want to build
<feature/project>"
Or if resuming an existing workflow:
"resume aiteam"
The coordinator agent will activate aiteam skill, consult .aiteam/session.json, execute the required gates, and log progress to .aiteam/.
.
├── bin/
│ ├── aiteam-install # Shell installer linking skill into target projects
│ ├── aiteam-watch # Live progress watcher launcher (bash)
│ ├── aiteam-watch.cmd # Windows cmd launcher
│ └── aiteam-watch.ps1 # Windows PowerShell launcher
├── skill/
│ ├── SKILL.md # Skill definition and coordinator instructions
│ ├── contracts/ # Role prompt contracts (programmer, reviewer, qa, maintainer)
│ ├── lib/
│ │ ├── state-bridge.mjs # State & event persistence bridge for .aiteam/
│ │ ├── runner-adapter.mjs # Subprocess CLI adapter (if dispatching external CLIs)
│ │ └── fingerprint.mjs # SHA-256 change fingerprinting
│ └── templates/
│ └── AGENTS.skill.md # Template instructions for target repositories
├── src/
│ ├── watch-server.mjs # Standalone HTTP dashboard server
│ └── watch-dashboard.html # Single-page live progress UI
└── test/
├── skill-integration.test.mjs # Skill state-bridge & dashboard tests
└── watch-server.test.mjs # Dashboard server tests
Run the test suite:
npm test