Skip to content
Discussion options

You must be logged in to vote

Update: this is now built into Codex. Current releases support subagents and named custom agents, so this workflow does not need shell wrappers or the Agents SDK for the normal local case.

Define project-scoped agents as standalone TOML files under .codex/agents/ (or ~/.codex/agents/ for personal agents). For example:

# .codex/agents/reviewer.toml
name = "reviewer"
description = "Reviews code for correctness, security, and test risks."
sandbox_mode = "read-only"
developer_instructions = """
Review the requested diff. Do not edit files.
Return prioritized findings with file/line evidence and a short handoff.
"""

Create equivalent refactorer.toml and tester.toml files with role-specific ins…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@grandimam
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by grandimam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants