VoltAgent/awesome-codex-subagents

GitHub: VoltAgent/awesome-codex-subagents

为 OpenAI Codex 收录的 160+ 个专用子智能体合集,按开发类别分类,以 .toml 配置形式即装即用。

Stars: 5180 | Forks: 582

codex

包含 13 个类别、超过 166 个 Codex subagents 的精选合集。

[![Awesome](https://awesome.re/badge.svg)](https://awesome.re) ![Subagent 数量](https://img.shields.io/badge/subagents-166-blue?style=classic) [![最近更新](https://img.shields.io/github/last-commit/VoltAgent/awesome-codex-subagents?label=Last%20update&style=classic)](https://github.com/VoltAgent/awesome-codex-subagents) [![Discord](https://img.shields.io/discord/1361559153780195478.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://s.voltagent.dev/discord)

# Codex Subagents 精选合集 本仓库是 [Codex Subagents](https://developers.openai.com/codex/subagents) 的权威合集,这些专用的 AI 助手专为特定的开发任务而设计。专为 Codex 编写,并与官方文档保持一致。 ## 安装说明 完全按照官方文档说明使用 Codex 的自定义 agent 目录: - `~/.codex/agents/` 用于全局 agent(在所有项目中可用) - `.codex/agents/` 用于特定项目的 agent(在该仓库中具有更高优先级) 1. 克隆此仓库。 2. 将你需要的 `.toml` agent 文件复制到上述任一目录中。 3. 如果需要,请重启或刷新你的 Codex 会话。 4. 在提示词中明确委派任务(Codex 不会自动生成自定义 subagents)。 示例: ``` mkdir -p ~/.codex/agents cp categories/01-core-development/backend-developer.toml ~/.codex/agents/ ``` ``` mkdir -p .codex/agents cp categories/04-quality-security/reviewer.toml .codex/agents/ ``` 如果你在 Codex 中使用 agent 配置,请按照官方文档的说明,将其保留在 `[agents]` 下的 `.codex/config.toml` 中。 ### Subagent 存储位置 | 类型 | 路径 | 可用范围 | 优先级 | |------|------|--------------|------------| | 项目 Subagents | `.codex/agents/` | 仅限当前项目 | 较高 | | 全局 Subagents | `~/.codex/agents/` | 所有项目 | 较低 | 注意:当发生命名冲突时,特定项目的 subagents 将覆盖全局的 subagents。 ## Subagent 结构 每个 subagent 都使用 Codex 原生的 `.toml` 格式: ``` name = "subagent-name" description = "When this agent should be invoked" model = "gpt-5.3-codex-spark" model_reasoning_effort = "medium" sandbox_mode = "read-only" [instructions] text = """ You are a [role description and expertise areas]... [Agent-specific checklists, patterns, and guidelines]... """ ``` ### 智能 Model 路由 每个 subagent 都包含一个 `model` 字段,它会自动将其路由到合适的 model —— 从而在质量和成本之间取得平衡: | Model | 使用场景 | 示例 | |-------|----------------|----------| | `gpt-5.4` | 深度推理 —— 架构审查、安全审计、金融逻辑 | `security-auditor`、`architect-reviewer`、`fintech-engineer` | | `gpt-5.3-codex-spark` | 快速扫描、综合以及较轻的研究任务 | `search-specialist`、`docs-researcher`、`agent-installer` | ### Sandbox Mode 理念 每个 subagent 的 `sandbox_mode` 字段用于控制文件系统的访问权限: - **只读 agent**(审查者、审计员):`sandbox_mode = "read-only"` - 在不进行修改的情况下进行分析 - **工作区写入 agent**(开发者、工程师):`sandbox_mode = "workspace-write"` - 创建和修改文件 ## 生态系统工具 用于构建的工具、平台和服务 - 如果你正在使用 TypeScript 构建 AI agent,VoltAgent 能为你开箱即用地提供工具使用、记忆和多 agent 协调功能。 voltagent-banner

👉 你可以在这里展示你的产品,并触达使用 Claude Code、Codex、Gemini 等 AI 编码 agent 的开发者。

## 分类 ### [01. 核心开发](categories/01-core-development/) 用于日常编码任务的基础开发 subagents。 - [**api-designer**](categories/01-core-development/api-designer.toml) - REST 和 GraphQL API 架构师 - [**backend-developer**](categories/01-core-development/backend-developer.toml) - 面向可扩展 API 的服务端专家 - [**code-mapper**](categories/01-core-development/code-mapper.toml) - 代码路径映射和归属边界分析 - [**electron-pro**](categories/01-core-development/electron-pro.toml) - 桌面应用程序专家 - [**frontend-developer**](categories/01-core-development/frontend-developer.toml) - React、Vue 和 Angular 的 UI/UX 专家 - [**fullstack-developer**](categories/01-core-development/fullstack-developer.toml) - 端到端功能开发 - [**graphql-architect**](categories/01-core-development/graphql-architect.toml) - GraphQL schema 和联邦专家 - [**microservices-architect**](categories/01-core-development/microservices-architect.toml) - 分布式系统设计师 - [**mobile-developer**](categories/01-core-development/mobile-developer.toml) - 跨平台移动端专家 - [**ui-designer**](categories/01-core-development/ui-designer.toml) - 视觉设计和交互专家 - [**ui-fixer**](categories/01-core-development/ui-fixer.toml) - 针对已复现 UI 问题的最小安全补丁 - [**websocket-engineer**](categories/01-core-development/websocket-engineer.toml) - 实时通信专家 ### [02. 语言专家](categories/02-language-specialists/) 具备深厚框架知识的特定语言专家。 - [**angular-architect**](categories/02-language-specialists/angular-architect.toml) - Angular 15+ 企业级模式专家 - [**cpp-pro**](categories/02-language-specialists/cpp-pro.toml) - C++ 性能专家 - [**csharp-developer**](categories/02-language-specialists/csharp-developer.toml) - .NET 生态系统专家 - [**django-developer**](categories/02-language-specialists/django-developer.toml) - Django 4+ Web 开发专家 - [**dotnet-core-expert**](categories/02-language-specialists/dotnet-core-expert.toml) - .NET 8 跨平台专家 - [**dotnet-framework-4.8-expert**](categories/02-language-specialists/dotnet-framework-4.8-expert.toml) - .NET Framework 遗留企业级专家 - [**elixir-expert**](categories/02-language-specialists/elixir-expert.toml) - Elixir 和 OTP 容错系统专家 - [**erlang-expert**](categories/02-language-specialists/erlang-expert.toml) - Erlang/OTP 和 rebar3 工程专家 - [**expo-react-native-expert**](categories/02-language-specialists/expo-react-native-expert.toml) - Expo 和 React Native 移动开发专家 - [**fastapi-developer**](categories/02-language-specialists/fastapi-developer.toml) - 现代异步 Python API 框架专家 - [**flutter-expert**](categories/02-language-specialists/flutter-expert.toml) - Flutter 3+ 跨平台移动端专家 - [**golang-pro**](categories/02-language-specialists/golang-pro.toml) - Go 并发专家 - [**java-architect**](categories/02-language-specialists/java-architect.toml) - 企业级 Java 专家 - [**javascript-pro**](categories/02-language-specialists/javascript-pro.toml) - JavaScript 开发专家 - [**kotlin-specialist**](categories/02-language-specialists/kotlin-specialist.toml) - 现代 JVM 语言专家 - [**laravel-specialist**](categories/02-language-specialists/laravel-specialist.toml) - Laravel 10+ PHP 框架专家 - [**symfony-specialist**](categories/02-language-specialists/symfony-specialist.toml) - Symfony 应用和 Doctrine 专家 - [**nextjs-developer**](categories/02-language-specialists/nextjs-developer.toml) - Next.js 14+ 全栈专家 - [**node-specialist**](categories/02-language-specialists/node-specialist.toml) - Node.js 后端专家 - [**php-pro**](categories/02-language-specialists/php-pro.toml) - PHP Web 开发专家 - [**powershell-5.1-expert**](categories/02-language-specialists/powershell-5.1-expert.toml) - Windows PowerShell 5.1 和完整 .NET Framework 自动化专家 - [**powershell-7-expert**](categories/02-language-specialists/powershell-7-expert.toml) - 跨平台 PowerShell 7+ 自动化与现代 .NET 专家 - [**python-pro**](categories/02-language-specialists/python-pro.toml) - Python 生态系统大师 - [**rails-expert**](categories/02-language-specialists/rails-expert.toml) - Rails 8.1 快速开发专家 - [**react-specialist**](categories/02-language-specialists/react-specialist.toml) - React 18+ 现代模式专家 - [**rust-engineer**](categories/02-language-specialists/rust-engineer.toml) - 系统编程专家 - [**spring-boot-engineer**](categories/02-language-specialists/spring-boot-engineer.toml) - Spring Boot 3+ 微服务专家 - [**sql-pro**](categories/02-language-specialists/sql-pro.toml) - 数据库查询专家 - [**swift-expert**](categories/02-language-specialists/swift-expert.toml) - iOS 和 macOS 专家 - [**typescript-pro**](categories/02-language-specialists/typescript-pro.toml) - TypeScript 专家 - [**vue-expert**](categories/02-language-specialists/vue-expert.toml) - Vue 3 Composition API 专家 ### [03. 基础设施](categories/03-infrastructure/) DevOps、云和部署专家。 - [**azure-infra-engineer**](categories/03-infrastructure/azure-infra-engineer.toml) - Azure 基础设施和 Az PowerShell 自动化专家 - [**cloud-architect**](categories/03-infrastructure/cloud-architect.toml) - AWS/GCP/Azure 专家 - [**database-administrator**](categories/03-infrastructure/database-administrator.toml) - 数据库管理专家 - [**deployment-engineer**](categories/03-infrastructure/deployment-engineer.toml) - 部署自动化专家 - [**devops-engineer**](categories/03-infrastructure/devops-engineer.toml) - CI/CD 和自动化专家 - [**devops-incident-responder**](categories/03-infrastructure/devops-incident-responder.toml) - DevOps 事件管理 - [**docker-expert**](categories/03-infrastructure/docker-expert.toml) - Docker 容器化和优化专家 - [**incident-responder**](categories/03-infrastructure/incident-responder.toml) - 系统事件响应专家 - [**kubernetes-specialist**](categories/03-infrastructure/kubernetes-specialist.toml) - 容器编排大师 - [**network-engineer**](categories/03-infrastructure/network-engineer.toml) - 网络基础设施专家 - [**platform-engineer**](categories/03-infrastructure/platform-engineer.toml) - 平台架构专家 - [**security-engineer**](categories/03-infrastructure/security-engineer.toml) - 基础设施安全专家 - [**sre-engineer**](categories/03-infrastructure/sre-engineer.toml) - 站点可靠性工程专家 - [**terraform-engineer**](categories/03-infrastructure/terraform-engineer.toml) - 基础设施即代码专家 - [**terragrunt-expert**](categories/03-infrastructure/terragrunt-expert.toml) - Terragrunt 编排和 DRY IaC 专家 - [**windows-infra-admin**](categories/03-infrastructure/windows-infra-admin.toml) - Active Directory、DNS、DHCP 和 GPO 自动化专家
04. 质量与安全 — 测试、安全和代码质量专家(19 个 agent) ### [04. 质量与安全](categories/04-quality-security/) - [**accessibility-tester**](categories/04-quality-security/accessibility-tester.toml) - A11y 合规专家 - [**ad-security-reviewer**](categories/04-quality-security/ad-security-reviewer.toml) - Active Directory 安全和 GPO 审计专家 - [**ai-writing-auditor**](categories/04-quality-security/ai-writing-auditor.toml) - AI 写作模式审计员和重写者 - [**architect-reviewer**](categories/04-quality-security/architect-reviewer.toml) - 架构审查专家 - [**browser-debugger**](categories/04-quality-security/browser-debugger.toml) - 基于浏览器的复现和客户端调试 - [**chaos-engineer**](categories/04-quality-security/chaos-engineer.toml) - 系统弹性测试专家 - [**code-reviewer**](categories/04-quality-security/code-reviewer.toml) - 代码质量守护者 - [**compliance-auditor**](categories/04-quality-security/compliance-auditor.toml) - 法规合规专家 - [**debugger**](categories/04-quality-security/debugger.toml) - 高级调试专家 - [**error-detective**](categories/04-quality-security/error-detective.toml) - 错误分析和解决专家 - [**gdpr-ccpa-compliance**](categories/04-quality-security/gdpr-ccpa-compliance.toml) - GDPR 和 CCPA 隐私合规专家 - [**penetration-tester**](categories/04-quality-security/penetration-tester.toml) - 道德黑客专家 - [**performance-engineer**](categories/04-quality-security/performance-engineer.toml) - 性能优化专家 - [**powershell-security-hardening**](categories/04-quality-security/powershell-security-hardening.toml) - PowerShell 安全强化和合规专家 - [**qa-expert**](categories/04-quality-security/qa-expert.toml) - 测试自动化专家 - [**reviewer**](categories/04-quality-security/reviewer.toml) - 针对正确性、安全性和回归的 PR 风格审查 - [**security-auditor**](categories/04-quality-security/security-auditor.toml) - 安全漏洞专家 - [**test-automator**](categories/04-quality-security/test-automator.toml) - 测试自动化框架专家 - [**ui-ux-tester**](categories/04-quality-security/ui-ux-tester.toml) - 详尽的 UI/UX 功能测试专家
05. 数据与 AI — 数据工程、机器学习和 AI 专家(13 个 agent) ### [05. 数据与 AI](_URL_86/>) - [**ai-engineer**](categories/05-data-ai/ai-engineer.toml) - AI 系统设计和部署专家 - [**data-analyst**](categories/05-data-ai/data-analyst.toml) - 数据洞察和可视化专家 - [**data-engineer**](categories/05-data-ai/data-engineer.toml) - 数据 pipeline 架构师 - [**data-scientist**](categories/05-data-ai/data-scientist.toml) - 分析和洞察专家 - [**database-optimizer**](categories/05-data-ai/database-optimizer.toml) - 数据库性能专家 - [**llm-architect**](categories/05-data-ai/llm-architect.toml) - 大语言模型架构师 - [**machine-learning-engineer**](categories/05-data-ai/machine-learning-engineer.toml) - 机器学习系统专家 - [**ml-engineer**](categories/05-data-ai/ml-engineer.toml) - 机器学习专家 - [**mlops-engineer**](categories/05-data-ai/mlops-engineer.toml) - MLOps 和模型部署专家 - [**nlp-engineer**](categories/05-data-ai/nlp-engineer.toml) - 自然语言处理专家 - [**postgres-pro**](categories/05-data-ai/postgres-pro.toml) - PostgreSQL 数据库专家 - [**prompt-engineer**](categories/05-data-ai/prompt-engineer.toml) - prompt 优化专家 - [**reinforcement-learning-engineer**](categories/05-data-ai/reinforcement-learning-engineer.toml) - 强化学习和决策系统专家
06. 开发者体验 — 工具和开发者生产力专家(14 个 agent) ### [06. 开发者体验](categories/06-developer-experience/) - [**build-engineer**](categories/06-developer-experience/build-engineer.toml) - 构建系统专家 - [**cli-developer**](categories/06-developer-experience/cli-developer.toml) - 命令行工具创建者 - [**dependency-manager**](categories/06-developer-experience/dependency-manager.toml) - 包和依赖专家 - [**documentation-engineer**](categories/06-developer-experience/documentation-engineer.toml) - 技术文档专家 - [**dx-optimizer**](categories/06-developer-experience/dx-optimizer.toml) - 开发者体验优化专家 - [**git-workflow-manager**](categories/06-developer-experience/git-workflow-manager.toml) - Git 工作流和分支专家 - [**legacy-modernizer**](categories/06-developer-experience/legacy-modernizer.toml) - 遗留代码现代化专家 - [**mcp-developer**](categories/06-developer-experience/mcp-developer.toml) - Model Context Protocol 专家 - [**powershell-module-architect**](categories/06-developer-experience/powershell-module-architect.toml) - PowerShell 模块和配置架构专家 - [**powershell-ui-architect**](categories/06-developer-experience/powershell-ui-architect.toml) - 适用 WinForms、WPF、Metro 框架和 TUIs 的 PowerShell UI/UX 专家 - [**readme-generator**](categories/06-developer-experience/readme-generator.toml) - 零幻觉、可直接维护的 README 生成器 - [**refactoring-specialist**](categories/06-developer-experience/refactoring-specialist.toml) - 代码重构专家 - [**slack-expert**](categories/06-developer-experience/slack-expert.toml) - Slack 平台和 @slack/bolt 专家 - [**tooling-engineer**](categories/06-developer-experience/tooling-engineer.toml) - 开发者工具专家
07. 专业领域 — 特定领域的技术专家(13 个 agent) ### [07. 专业领域](categories/07-specialized-domains/) - [**api-documenter**](categories/07-specialized-domains/api-documenter.toml) - API 文档专家 - [**blockchain-developer**](categories/07-specialized-domains/blockchain-developer.toml) - Web3 和加密货币专家 - [**embedded-systems**](categories/07-specialized-domains/embedded-systems.toml) - 嵌入式和实时系统专家 - [**fintech-engineer**](categories/07-specialized-domains/fintech-engineer.toml) - 金融科技专家 - [**game-developer**](categories/07-specialized-domains/game-developer.toml) - 游戏开发专家 - [**hipaa-compliance**](categories/07-specialized-domains/hipaa-compliance.toml) - 面向医疗保健 SaaS 供应商的 HIPAA 合规专家 - [**iot-engineer**](categories/07-specialized-domains/iot-engineer.toml) - IoT 系统开发者 - [**m365-admin**](categories/07-specialized-domains/m365-admin.toml) - Microsoft 365、Exchange Online、Teams 和 SharePoint 管理专家 - [**mobile-app-developer**](categories/07-specialized-domains/mobile-app-developer.toml) - 移动应用专家 - [**payment-integration**](categories/07-specialized-domains/payment-integration.toml) - 支付系统专家 - [**quant-analyst**](categories/07-specialized-domains/quant-analyst.toml) - 量化分析专家 - [**risk-manager**](categories/07-specialized-domains/risk-manager.toml) - 风险评估和管理专家 - [**seo-specialist**](categories/07-specialized-domains/seo-specialist.toml) - 搜索引擎优化专家
08. 商业与产品 — 产品管理和业务分析(16 个 agent) ### [08. 商业与产品](categories/08-business-product/) - [**assumption-mapping**](categories/08-business-product/assumption-mapping.toml) - 产品假设风险与验证专家 - [**backlog-grooming**](categories/08-business-product/backlog-grooming.toml) - 敏捷 backlog 整理专家 - [**business-analyst**](categories/08-business-product/business-analyst.toml) - 需求专家 - [**content-marketer**](categories/08-business-product/content-marketer.toml) - 内容营销专家 - [**content-quality-editor**](categories/08-business-product/content-quality-editor.toml) - AI 内容质量与人文化专家 - [**customer-success-manager**](categories/08-business-product/customer-success-manager.toml) - 客户成功专家 - [**growth-loops**](categories/08-business-product/growth-loops.toml) - 增长循环和 PLG 机制专家 - [**legal-advisor**](categories/08-business-product/legal-advisor.toml) - 法律和合规专家 - [**license-engineer**](categories/08-business-product/license-engineer.toml) - 软件许可和合规系统专家 - [**product-manager**](categories/08-business-product/product-manager.toml) - 产品战略专家 - [**project-manager**](categories/08-business-product/project-manager.toml) - 项目管理专家 - [**sales-engineer**](categories/08-business-product/sales-engineer.toml) - 技术销售专家 - [**scrum-master**](categories/08-business-product/scrum-master.toml) - 敏捷方法专家 - [**technical-writer**](categories/08-business-product/technical-writer.toml) - 技术文档专家 - [**ux-researcher**](categories/08-business-product/ux-researcher.toml) - 用户研究专家 - [**wordpress-master**](categories/08-business-product/wordpress-master.toml) - WordPress 开发和优化专家
09. 元与编排 — Agent 协调和元编程(12 个 agent) ### [09. 元与编排](categories/09-meta-orchestration/) - [**agent-installer**](categories/09-meta-orchestration/agent-installer.toml) - 通过 GitHub 浏览并安装此仓库的 agent - [**agent-organizer**](categories/09-meta-orchestration/agent-organizer.toml) - 多 agent 协调器 - [**codebase-orchestrator**](categories/09-meta-orchestration/codebase-orchestrator.toml) - 带有批准机制的仓库级重构治理 - [**context-manager**](categories/09-meta-orchestration/context-manager.toml) - context 优化专家 - [**error-coordinator**](categories/09-meta-orchestration/error-coordinator.toml) - 错误处理和恢复专家 - [**it-ops-orchestrator**](categories/09-meta-orchestration/it-ops-orchestrator.toml) - IT 运维工作流编排专家 - [**knowledge-synthesizer**](categories/09-meta-orchestration/knowledge-synthesizer.toml) - 知识聚合专家 - [**multi-agent-coordinator**](categories/09-meta-orchestration/multi-agent-coordinator.toml) - 高级多 agent 编排 - [**performance-monitor**](categories/09-meta-orchestration/performance-monitor.toml) - Agent 性能优化 - [**pied-piper**](https://github.com/sathish316/pied-piper/) - 为重复性 SDLC 工作流编排 AI subagent 团队 - [**task-distributor**](categories/09-meta-orchestration/task-distributor.toml) - 任务分配专家 - [**workflow-orchestrator**](categories/09-meta-orchestration/workflow-orchestrator.toml) - 复杂工作流自动化
10. 研究与分析 — 研究、搜索和分析专家(9 个 agent) ### [10. 研究与分析](categories/10-research-analysis/) - [**competitive-analyst**](categories/10-research-analysis/competitive-analyst.toml) - 竞争情报专家 - [**data-researcher**](categories/10-research-analysis/data-researcher.toml) - 数据发现和分析专家 - [**docs-researcher**](categories/10-research-analysis/docs-researcher.toml) - 基于文档的 API 和框架验证 - [**market-researcher**](categories/10-research-analysis/market-researcher.toml) - 市场分析和消费者洞察 - [**project-idea-validator**](categories/10-research-analysis/project-idea-validator.toml) - 严苛的创意压力测试者和决定是否推进的战略家 - [**research-analyst**](categories/10-research-analysis/research-analyst.toml) - 综合研究专家 - [**scientific-literature-researcher**](categories/10-research-analysis/scientific-literature-researcher.toml) - 基于已发表科学研究的证据导向研究 - [**search-specialist**](categories/10-research-analysis/search-specialist.toml) - 高级信息检索专家 - [**trend-analyst**](categories/10-research-analysis/trend-analyst.toml) - 新兴趋势和预测专家
11. AI 治理与安全 - 治理、护栏和可信赖 AI 专家(4 个 agent) ### [11. AI 治理与安全](categories/11-ai-governance-safety/) - [**ai-governance-auditor**](categories/11-ai-governance-safety/ai-governance-auditor.toml) - AI 治理控制和部署就绪度审查员 - [**model-risk-manager**](categories/11-ai-governance-safety/model-risk-manager.toml) - 模型故障模式优先级排序和缓解专家 - [**policy-guardrail-designer**](categories/11-ai-governance-safety/policy-guardrail-designer.toml) - prompt、工具和工作流护栏设计师 - [**responsible-ai-reviewer**](categories/11-ai-governance-safety/responsible-ai-reviewer.toml) - 公平性、误用、透明度和监督审查员
12. 平台工程与 IDP - 内部开发者平台和黄金路径专家(4 个 agent) ### [12. 平台工程与 IDP](categories/12-platform-engineering-idp/) - [**backstage-specialist**](categories/12-platform-engineering-idp/backstage-specialist.toml) - Backstage 目录、模板和门户专家 - [**golden-path-designer**](categories/12-platform-engineering-idp/golden-path-designer.toml) - 固执己见的自服务工作流设计师 - [**idp-architect**](categories/12-platform-engineering-idp/idp-architect.toml) - 内部开发者平台架构专家 - [**platform-product-manager**](categories/12-platform-engineering-idp/platform-product-manager.toml) - 平台路线图、采用率和成功指标专家
13. LLMOps、评估与可观测性 - 生产级 AI 质量和运行时可见性专家(4 个 agent) ### [13. LLMOps、评估与可观测性](categories/13-llmops-evals-observability/) - [**ai-observability-engineer**](categories/13-llmops-evals-observability/ai-observability-engineer.toml) - 原生 AI 的 traces、metrics 和 logging 专家 - [**eval-engineer**](categories/13-llmops-evals-observability/eval-engineer.toml) - prompt、工具和工作流评估专家 - [**hallucination-investigator**](categories/13-llmops-evals-observability/hallucination-investigator.toml) - 事实性和 context 崩溃的根本原因调查员 - [**prompt-regression-tester**](categories/13-llmops-evals-observability/prompt-regression-tester.toml) - 针对 AI 行为变更的回归测试套件设计师
## 理解 Subagents Subagents 是专用的 AI 助手,通过提供特定任务的专长来增强 Codex 的能力。它们充当专门的助手,当 Codex 遇到特定类型的工作时可以调用它们。 ### 是什么让 Subagents 与众不同? **独立的 Context Windows** 每个 subagent 都在其自身隔离的 context 空间中运行,防止不同任务之间的交叉污染,并保持主对话线程的清晰。 **特定领域的智能** Subagents 配备了针对其专业领域量身定制的精心设计的指令,从而在专业任务上产生卓越的性能。 **跨项目共享** 创建 subagent 后,你可以在各种项目中利用它,并在团队成员之间分发它,以确保一致的开发实践。 **显式委派** Codex 不会自动生成 subagents。请使用显式的委派提示词来指定要生成的 agent、如何分配工作以及结果应该采取何种形式。 ### 核心优势 - **内存效率**:隔离的 context 可防止主对话被特定任务的细节弄得杂乱无章 - **增强的准确性**:专门的 prompt 和配置在特定领域会带来更好的结果 - **工作流一致性**:团队范围内的 subagent 共享确保了对常见任务采取统一的方法 - **Codex 原生**:使用与官方 Codex subagent 文档对齐的 `.toml` agent 文件 ### 工作流示例 **PR 审查工作流:** ``` Review this branch with parallel subagents. Have reviewer look for correctness, security, and missing tests. Have docs_researcher verify the framework APIs this patch depends on. Wait for both and summarize the findings with file references. ``` **Bug 调查工作流:** ``` Investigate the broken settings flow. Have code_mapper trace the owning code paths, browser_debugger reproduce the bug in the browser, and frontend_developer propose the smallest fix after the failure is understood. Wait for the read-heavy agents first, then continue. ``` **仓库探索和规划工作流:** ``` Use search_specialist to locate the code related to payment retries, knowledge_synthesizer to summarize the current design, and refactoring_specialist to propose a minimal refactor plan. Return a concrete action list. ``` ## 贡献指南 我们欢迎你的贡献!请查看 [CONTRIBUTING.md](CONTRIBUTING.md) 了解指南。 - 通过 PR 提交新的 subagents - 改进现有的定义 - 报告问题和 bug ## 许可证 MIT 许可证 - 详见 [LICENSE](
标签:AI智能体, AI辅助开发, Codex, Python安全, SOC Prime, 开发工具, 提示词工程, 策略决策点