Menu

Categories

Tags

OpenAI adds persistent 'Ralph loop' mode to Codex CLI with /goal command

May 1, 2026 | alex | Developer, OpenAI | 317 views 0 comments

OpenAI has officially introduced the Ralph loop feature for Codex CLI — a new /goal command that executes persistently across multiple rounds until it completes its objective.

The feature arrived in version 0.128.0, but you'll need to opt in by adding goals = true under [features] in ~/.codex/config.toml.

[features]
goals = true

Right now, it's terminal CLI only — the desktop app hasn't caught up yet.

No more hand-rolling shell scripts, using Git as external memory, or typing out --dangerously-bypass-approvals-and-sandbox. Just /goal.

Leave a Reply

Your email address will not be published. Required fields are marked *