You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been experimenting with the OpenAI Codex CLI, and I would like to build a setup similar to Claude Code, where I can define multiple specialized agents — for example:
Review Agent – analyzes code for bugs, style, and security issues
Test Agent – generates or updates unit tests
Refactor Agent – improves readability or structure while preserving functionality
My goal is to orchestrate these agents in sequence (e.g., review → refactor → test), possibly using shell scripts or the Agents SDK.
What I’d love to know is:
What’s the best way to define and run custom Codex CLI profiles or roles for each agent?
Can I script multi-step workflows using the CLI alone, or should I integrate it with the Agents SDK?
Are there any recommended patterns for sharing context between CLI runs (like passing review output to a refactor agent)?
Has anyone built something similar and can share examples or configuration tips? Any guidance, example workflows, or repo links would be really appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone
I have been experimenting with the OpenAI Codex CLI, and I would like to build a setup similar to Claude Code, where I can define multiple specialized agents — for example:
My goal is to orchestrate these agents in sequence (e.g., review → refactor → test), possibly using shell scripts or the Agents SDK.
What I’d love to know is:
Has anyone built something similar and can share examples or configuration tips? Any guidance, example workflows, or repo links would be really appreciated.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions