awesome-codex-subagents README

项目的 README,来自 github.com/VoltAgent/awesome-codex-subagents。合并为一个 markdown 文件:README.md。

codex

The awesome collection of 176+ Codex subagents across 13 categories.

Awesome Subagent Count Last Update Discord Official MCP Servers


Awesome Codex Subagents

This repository serves as the definitive collection of Codex Subagents, specialized AI assistants designed for specific development tasks. Written specifically for Codex and aligned with the official docs.

Installation

Use Codex custom agent directories exactly as documented:

  1. Clone this repository.
  2. Copy the .toml agent files you want into one of the directories above.
  3. Restart or refresh your Codex session if needed.
  4. Delegate explicitly in prompts (Codex does not auto-spawn custom subagents).

Examples:

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/

If you use agent configuration in Codex, keep it in .codex/config.toml under [agents] as described in the official docs.

Sponsors

Crawlbase Crawlbase is web data infrastructure trusted by 70,000+ developers. Its Crawling API, MCP server, and integrations give AI agents live access to any webpage — with JavaScript rendering, proxy rotation, and anti-bot protection.
SerpApi SerpApi is a Web Search API for your AI apps. Available in Markdown and JSON for any integration.

👉 You can feature your product here and reach developers using AI coding agents like Claude Code, Codex, Gemini, and more.

Become a Sponsor

Subagent Storage Locations

Type Path Availability Precedence
Project Subagents .codex/agents/ Current project only Higher
Global Subagents ~/.codex/agents/ All projects Lower

Note: When naming conflicts occur, project-specific subagents override global ones.

Subagent Structure

Each subagent uses a Codex-native .toml format:

name = "subagent-name"
description = "When this agent should be invoked"
model = "gpt-6-luna"
model_reasoning_effort = "medium"
sandbox_mode = "read-only"

[instructions]
text = """
You are a [role description and expertise areas]...

[Agent-specific checklists, patterns, and guidelines]...
"""

Smart Model Routing

Each subagent includes a model field that automatically routes it to the right model -- balancing quality and cost:

Model When It's Used Examples
gpt-6.1-sol Complex coding, implementation, architecture, security, diagnostics, and professional analysis security-auditor, docker-expert, scientific-literature-researcher
gpt-6-luna Bounded search, extraction, routing, drafting, and lightweight synthesis search-specialist, docs-researcher, agent-installer

Sandbox Mode Philosophy

Each subagent's sandbox_mode field controls filesystem access:

Categories

01. Core Development

Essential development subagents for everyday coding tasks.

02. Language Specialists

Language-specific experts with deep framework knowledge.

03. Infrastructure

DevOps, cloud, and deployment specialists.

04. Quality & Security — Testing, security, and code quality experts (21 agents)

04. Quality & Security

05. Data & AI — Data engineering, ML, and AI specialists (14 agents)

05. Data & AI

06. Developer Experience — Tooling and developer productivity experts (14 agents)

06. Developer Experience

07. Specialized Domains — Domain-specific technology experts (14 agents)

07. Specialized Domains

08. Business & Product — Product management and business analysis (17 agents)

08. Business & Product

09. Meta & Orchestration — Agent coordination and meta-programming (12 agents)

09. Meta & Orchestration

10. Research & Analysis — Research, search, and analysis specialists (12 agents)

10. Research & Analysis

11. AI Governance & Safety - Governance, guardrails, and trustworthy AI specialists (4 agents)

11. AI Governance & Safety

12. Platform Engineering & IDP - Internal developer platform and golden-path specialists (4 agents)

12. Platform Engineering & IDP

13. LLMOps, Evals & Observability - Production AI quality and runtime visibility specialists (4 agents)

13. LLMOps, Evals & Observability

Understanding Subagents

Subagents are specialized AI assistants that enhance Codex's capabilities by providing task-specific expertise. They act as dedicated helpers that Codex can call upon when encountering particular types of work.

What Makes Subagents Special?

Independent Context Windows Every subagent operates within its own isolated context space, preventing cross-contamination between different tasks and maintaining clarity in the primary conversation thread.

Domain-Specific Intelligence Subagents come equipped with carefully crafted instructions tailored to their area of expertise, resulting in superior performance on specialized tasks.

Shared Across Projects After creating a subagent, you can utilize it throughout various projects and distribute it among team members to ensure consistent development practices.

Explicit Delegation Codex does not spawn subagents automatically. Use explicit delegation prompts to specify which agents to spawn, how to divide the work, and what shape the result should take.

Core Advantages

Example Workflows

PR review workflow:

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 investigation workflow:

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.

Repo exploration and planning workflow:

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.

AI Design + Build Ecosystem Tools


You ship products with AI, but every launch still dies quietly because nobody posts about it. EveryFeed plugs your AI assistant into a social workspace that drafts, schedules, and publishes across 35+ channels — no agency, no marketing hire.

everyfeed

launchkit

mobilekit

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE

This repository is a curated collection of subagent definitions contributed by both the maintainers and the community. All subagents are provided "as is" without warranty. We do not audit or guarantee the security or correctness of any subagent. Review before use, the maintainers accept no liability for any issues arising from their use.

If you find an issue with a listed subagent or want your contribution removed, please open an issue in this repository and we'll address it promptly.

awesome-codex-subagents (VoltAgent/awesome-codex-subagents)

正在搜索数据库…

这是什么?一套为 OpenAI Codex 精心整理的 170 多个专用子代理定义,涵盖编码、基础设施、安全、数据/AI 和开发者体验等开发任务。
这是一个工具,还是只是一组配置文件?它是一组 .toml 配置文件,不是可运行的应用或脚本;每个文件定义一个子代理,由 Codex 从其代理目录中加载。
怎么安装和使用这些子代理?克隆仓库,把想要的 .toml 文件复制到 ~/.codex/agents/(全局)或 .codex/agents/(项目级),然后重启或刷新 Codex 会话,并在提示词中显式委派给该子代理。
除了 Codex 本身,使用这些还需要什么?你只需要一个已有的 Codex 环境;还可以选择在 .codex/config.toml 的 [agents] 下添加代理路由配置。
Codex 会自动帮我挑选合适的子代理吗?不会。Codex 不会自动生成自定义子代理,你必须在提示词中显式引用想要使用的子代理。
项目级/全局优先级会影响运行哪个子代理吗?会。当项目级和全局子代理同名时,项目级的优先。
每个子代理的模型路由是怎么工作的?每个 .toml 文件都有一个 model 字段,将其路由到三个层级之一:gpt-5.6-sol 用于深度推理(如 security-auditor、architect-reviewer),gpt-5.6-terra 用于实现和诊断(如 docker-expert、test-automator),gpt-5.6-luna 用于轻量级搜索/提取任务(如 search-specialist、agent-installer)。
子代理是如何分类组织的?它们被划分为 13 个类别,例如核心开发、语言专家、基础设施、质量与安全、数据与 AI 和开发者体验,每个类别都有自己主题的一组代理。
sandboxmode 是什么,为什么重要?每个子代理都通过 sandboxmode 字段控制文件系统访问权限:只做分析的审查者和审计者使用 read-only(只读),需要创建或修改文件的开发者/工程师则使用 workspace-write(写入工作区)。
我可以分别控制每个项目和全局环境下哪些子代理可用吗?可以。你可以把代理放在 .codex/agents/ 中仅供单个项目使用,或放在 ~/.codex/agents/ 中让所有项目都能使用;同名冲突时,项目级代理优先。
作者
VoltAgent
大小
0.3 MB
星标
6.5K
更新
提交Nov 02
时长
8个月
提交 · 90 天