Skip to main content

双Agent协作框架 - 产品经理与开发的分离式协作工具

Project description

双Agent协作开发系统

基于 OpenCode 的双 Agent 协作框架,实现产品经理与开发的分离式协作。

目录结构

dual-agent-collaboration-system/
├── docs/
│   ├── 01-requirements/          # 需求阶段文档
│   │   ├── requirements_v*.md    # 需求文档
│   │   ├── system_design_v*.md   # 系统设计
│   │   ├── requirements_review_*.md  # 评审意见
│   │   └── requirements_signoff.md    # 签署确认
│   ├── 02-design/                # 设计阶段文档
│   ├── 03-test/                  # 测试阶段文档
│   ├── 04-changelog/             # 变更记录
│   └── COLLABORATION_GUIDE.md    # 协作流程指南
├── state/
│   └── project_state.yaml        # 项目状态文件
├── src/                          # 源代码
├── scripts/                      # 辅助脚本
└── .gitignore

快速开始

Agent 1 (产品经理) 初始化项目

cd dual-agent-collaboration-system
git pull
# 创建需求文档
# 更新状态文件
git add .
git commit -m "feat(requirements): initial requirements"
git push

Agent 2 (开发) 开始评审

cd dual-agent-collaboration-system
git pull
# 阅读需求文档
# 创建评审意见
git add .
git commit -m "review(requirements): initial review"
git push

协作流程

  1. 需求评审 → Agent1 创建需求 → Agent2 Review → 双方确认
  2. 设计评审 → Agent1 创建设计 → Agent2 Review → 双方确认
  3. 开发测试 → Agent2 开发 → Agent1 黑盒测试 → 通过确认
  4. 部署发布 → Agent1 部署 → 更新变更记录

状态文件

每次操作后更新 state/project_state.yaml,记录当前阶段和状态。

标签规范

  • requirements-v1-approved - 需求确认
  • design-v1-approved - 设计确认
  • test-v1-passed - 测试通过
  • release-v1.0.0 - 正式发布

详细说明

参见 协作流程指南

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencode_collaboration-0.2.1.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencode_collaboration-0.2.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file opencode_collaboration-0.2.1.tar.gz.

File metadata

  • Download URL: opencode_collaboration-0.2.1.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for opencode_collaboration-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1c158947f9bd89891d3c1068718f419e1c6f300adb6accbe5993bad3d9920ec9
MD5 17d0f9cbe6ecff0e79accf8a5d1501e9
BLAKE2b-256 e0e9cf011cdd0d938f75817f3417f4c9ce15f9d70f7a51c70b7a1f74d4ab2cd9

See more details on using hashes here.

File details

Details for the file opencode_collaboration-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for opencode_collaboration-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68203dd487132ad8ed148b43bee8bec71172c733c9e6fd2b421c071e0b544ed4
MD5 5bd3a2e6cf17735ca29892e0901866a5
BLAKE2b-256 500bb079e8ad147ca9d5a3de97345b683481d5b54c96288e85992cb20097e66d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page