A generic, reusable multi-agent software development framework powered by Claude Code subagents
Project description
SOP(Team) Framework
A generic, reusable multi-agent software development framework powered by Claude Code subagents. Inspired by MetaGPT, this framework orchestrates a complete software team: Product Manager → Architect → Engineer → QA → DevOps.
Overview
This framework implements a strict SOP (Standard Operating Procedure) pipeline that transforms any software requirement into complete deliverables:
Requirement Input
↓
Product Manager → PRD.md
↓
Architect → ARCHITECTURE.md + TASKS.md
↓
Engineer → src/ (all code)
↓
QA Engineer → tests/ + QA_REPORT.md
↓
DevOps → DEPLOYMENT.md + deploy/
↓
Final Report → FINAL_REPORT.md
Features
- Fully Generic: No assumptions about technology, industry, or project type
- Sequential Pipeline: Strict SOP ensures consistent, high-quality output
- Multi-Agent: Specialized agents for each phase of development
- Self-Contained: All outputs written to the workspace directory
- Retry Logic: Failed steps are automatically retried
Quick Start
Option 1 — Python SDK
pip install -r requirements.txt
python agent.py "Build a REST API for user authentication"
Option 2 — Shell Script
chmod +x run.sh
./run.sh "Create a data pipeline for ETL processing"
Option 3 — Direct Claude CLI
claude
> Use the coordinator agent at .claude/agents/coordinator.md
> Then provide your requirement
Agents
Agent Models
Setup 2 — Alibaba Coding Plan (Default): coordinator → kimi-k2.5 (SWE-Bench 76.8% — agentic orchestration) product-manager → qwen3.5-plus (Deep Thinking + Vision — requirement analysis) architect → MiniMax-M2.5 (SWE-Bench 80.2% — strongest design model) engineer → qwen3-coder-next (SWE-Bench 70.6% — purpose-built coding) qa-engineer → glm-4.7 (SWE-Bench 73.8% — strong bug detection) devops → qwen3-coder-plus (Lightweight — fast config generation)
Setup 1 — Claude Models (Fallback): coordinator → claude-opus-4-5 (SWE-Bench 80.9%) product-manager → claude-sonnet-4-5 (SWE-Bench 77.2%) architect → claude-opus-4-5 (SWE-Bench 80.9%) engineer → claude-sonnet-4-5 (SWE-Bench 77.2%) qa-engineer → claude-haiku-4-5 (Fast + cheap) devops → claude-haiku-4-5 (Fast + cheap)
Switching Setups
To use Alibaba models (Setup 2 — default): export ALIBABA_API_KEY=your-alibaba-coding-plan-key python agent.py "your requirement"
To use Claude models (Setup 1 — fallback): export SOP_SETUP=1 export ANTHROPIC_API_KEY=your-anthropic-key python agent.py "your requirement"
Output Files
All outputs are written to the workspace/ directory:
workspace/
├── docs/
│ ├── PRD.md # Product Requirements Document
│ ├── ARCHITECTURE.md # System Architecture
│ ├── TASKS.md # Implementation Tasks
│ ├── CODE_SUMMARY.md # Code Documentation
│ └── DEPLOYMENT.md # Deployment Guide
├── src/ # All source code
├── tests/ # All test files
├── reports/
│ ├── QA_REPORT.md # Test Results
│ ├── FINAL_REPORT.md # Complete Summary
│ └── SOP_LOG.md # Execution Log
└── deploy/ # Deployment configs
The SOP
- Requirements Phase — Product Manager analyzes and documents requirements
- Architecture Phase — Architect designs the complete system
- Implementation Phase — Engineer writes production-quality code
- QA Phase — QA Engineer writes tests, runs them, reports results
- Deployment Phase — DevOps creates deployment documentation and configs
- Final Report — Coordinator summarizes everything
Directory Structure
sop-team-framework/
├── .claude/
│ └── agents/
│ ├── coordinator.md # Master orchestrator
│ ├── product-manager.md # PRD writer
│ ├── architect.md # System designer
│ ├── engineer.md # Code implementer
│ ├── qa-engineer.md # Test writer
│ └── devops.md # Deployment planner
├── workspace/
│ ├── docs/ # Documentation output
│ ├── src/ # Source code output
│ ├── tests/ # Test files output
│ ├── reports/ # Reports output
│ └── deploy/ # Deployment configs
├── agent.py # Python entry point
├── run.sh # Shell launcher
├── requirements.txt # Python dependencies
└── README.md # This file
Usage Examples
# Web application
python agent.py "Build a blog platform with user authentication and comments"
# API development
python agent.py "Create a GraphQL API for an e-commerce product catalog"
# Data pipeline
python agent.py "Build an ETL pipeline that processes CSV files into a PostgreSQL database"
# Mobile backend
python agent.py "Design and implement a backend API for a fitness tracking mobile app"
# Automation
python agent.py "Create an automated invoice generation and email system"
Requirements
- Python 3.8+
claude-agent-sdk(auto-installed if missing)python-dotenv
Environment Variables
Set these in a .env file if using the Python SDK:
ALIBABA_API_KEY=your-alibaba-coding-plan-key
For Claude models, set:
SOP_SETUP=1
ANTHROPIC_API_KEY=your-anthropic-key
License
MIT License — Free to use, modify, and distribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sop_team_framework-0.1.0.tar.gz.
File metadata
- Download URL: sop_team_framework-0.1.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db32ece91d9ae9c9b6f102e3610064430ab230fca1f028c544e2734b0422cfcc
|
|
| MD5 |
80af4b63897e5a7b8fba69ee69d6b2c9
|
|
| BLAKE2b-256 |
328e48802eb82a60279725addbe3ac8cbc89069b829c6c7d50329d79c2cee188
|
File details
Details for the file sop_team_framework-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sop_team_framework-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26022439e561dd8b06070d0fecb9e0554a8463fb31c9f674b2e7b94aecf5ffc9
|
|
| MD5 |
9c876a7833fa7090a3644e701e96f90e
|
|
| BLAKE2b-256 |
fd6d4cf998f82d254445440a316649e577e811d84c9c54d63aad7213a888033a
|