Using Goals in Codex
developers.openai.com · 3,149 words · saved by 1 readers
Goals are persistent objectives in Codex that keep a thread working toward a defined outcome across turns. A Goal gives Codex a completion c
Goals are persistent objectives in Codex that keep a thread working toward a defined outcome across turns. A Goal gives Codex a completion condition: what should be true, how success should be checked, and what constraints must stay intact. Codex already works well for well-scoped coding tasks: inspect a repository, fix a bug, add a test, explain a failure, or implement a focused change. Goals are for tasks where the next step depends on what Codex learns along the way: profiling, patching, benchmarking, reproducing a flaky test, or turning a research question into an evidence-backed audit. Th
saved by
related reading
- Best practices for Claude Code - Claude Code Docsanthropic.com
- Gabriel Chua (@gabrielchua) on Xx.com
- Keep Claude working toward a goal - Claude Code Docscode.claude.com
- Claude Code Cheat Sheetcc.storyfox.cz
- A Guide to Claude Code 2.0 and getting better at using coding agents – sankalp's blogsankalp.bearblog.dev
- How I Use Claude Code | Philipp Spiessspiess.dev
- Codex use casesdevelopers.openai.com
- Ampampcode.com
- Loop Engineeringaddyosmani.com
- Towards self-driving codebases · Cursorcursor.com
- Effective harnesses for long-running agents \ Anthropicanthropic.com
- How I use Claude Code on large projectslocalcan.com