88 /100
A primary coding-agent CLI; powerful, but its permissions need repository and shell boundaries.
Structured output 70/100
Whether the CLI can return JSON, YAML, or stable machine-readable output.
Non-interactive use 92/100
Whether common workflows can run predictably without an interactive prompt.
Safety boundaries 72/100
Whether read-only, dry-run, scoped auth, and destructive command boundaries are clear.
インストール方法
npm
$ npm install -g @openai/codex よく使うコマンド
Start Codex · 要確認
$ codex Launches an interactive coding agent session.
Run with a prompt · 要確認
$ codex "review the current diff" Runs a focused coding task in the terminal.
Agent 使用例
Human developer
Give Codex a narrow repo task, then inspect the diff and verification results before committing. 安全メモ
- Review file edits and shell commands before approving high-impact changes.
- Use repository instructions and scoped worktrees to keep changes bounded.
- Avoid giving unrestricted deploy, billing, or production database access.
Agent が使えること
Codex CLI はリポジトリ作業の Agent インターフェースで、コード変更、レビュー、テスト、ローカル自動化に使えます。
向いている用途
明確なリポジトリ文脈と確認可能な diff を持つターミナル型 AI 支援に適しています。