Coding
OpenAI Codex
Use OpenAI’s coding agent to work on software changes through app, CLI, IDE, or web surfaces where available.
- G2 rating
- Pricing
- Free
- $0/month with limited access per current listing
- Plus
- $20/month at the time checked
- Best for
- Developers collaborating with an agent on bounded, reviewable work in a repository.
Video tutorial
Getting started with Codex · OpenAI · Watch on YouTube ↗
What is OpenAI Codex?
Codex helps explore a repository, plan edits, implement changes, and run relevant checks. It is useful when a task has a testable goal and the working environment can be described. Review the resulting code and evidence rather than treating the reported result as proof that every behavior is correct.
A well-scoped change names the desired outcome, affected call paths, constraint, and verification method. Product decisions remain in the task brief so they can be checked without guessing from an implementation.
Set up and test a real workflow
Use an isolated repository branch with the project's instructions and test runner present. Define one invariant, two acceptance checks, and the files likely to change. Inspect sandbox and command permissions for your environment so the assistant can run the expected verification while any wider action still requires review.
What to look for in the result
A support report lists issues A, B, and C in their created order. B is closed. Ask for a view that displays open issues as A and C, and ask it to preserve the order of the unfiltered report. Run the targeted test and inspect whether the filtering logic leaves the source list unchanged. Reject a solution that sorts the original records as a side effect.
| Problem | What to check | What to change |
|---|---|---|
| A finished task summary lists checks that did not execute | Read the command results and note missing prerequisites | Run the same checks in an environment where those prerequisites are available |
| The diff touches unrelated screens | Compare changed files against the scoped request | Split unrelated work from the branch and keep only the verified fix |
Try it: Correct an archived-item filter
Use a branch with three known fixture items to establish an exact expected result.
The active-only filter should return IDs A and C in order from this fixture. B is archived. Include a test and preserve the order of the full unfiltered list. Follow the project’s test runner and leave unrelated files alone.
- Open a test checkout and identify the current filter and its call site.
- Ask Codex to fix the behavior and run the affected checks. Inspect the diff and note any changes beyond the targeted scope.
- Run a separate all-items case and review the resulting patch alongside the tests.
What a usable result looks like
The active list excludes B and the full list retains A, B, C.
| Check | What you might see | What to do next |
|---|---|---|
| Active | The filter returns A and C. | Compare order and exact IDs. |
| Unfiltered | All three appear in fixture order. | Check the previous behavior. |
| Test | The added regression test would catch the old bug. | Verify against the original revision if practical. |
What to save from the trial
One reviewed change and explicit pass/fail evidence.
Another scenario
Ask the agent to document the same filter behavior for a teammate after verifying the test cases.
Use cases and what to check
| Use case | How to try it | What to check |
|---|---|---|
| Fix a narrow bug | Provide failing input for a utility. | Confirm the test fails before the fix and passes afterward. |
| Explore onboarding | Ask how a demo app starts and where settings are read. | Verify each path and command before sharing. |
Which plan should you try?
| Plan | Price | Who should consider it |
|---|---|---|
| Free | $0/month with limited access per current listing | Try a bounded task within the available model and usage limits. |
| Plus | $20/month at the time checked | Check included Codex usage for your normal volume. |
Match model and plan access to typical tasks while checking current quotas and overage rates.
Provider pricing and access ↗ · Checked
What people say about OpenAI Codex
1 featured user review.
Desktop app for repository work
The reviewer liked working from a local folder in the desktop app and inspecting its preview. They reported running into reset limits several times.
5/5 · November 21, 2026 · G2 ↗ · Paraphrased
Limits to check
Verify results independently where the agent cannot access external dependencies or your normal deployment setup.
When to choose it
Codex is useful for repository tasks that can be defined, implemented, and verified with explicit commands. Use a shorter manual edit or completion for a one-line change when the overhead of an agent session outweighs the work.
- GitHub Copilot · Get coding suggestions and ask questions inside your development workflow.
- CodeRabbit · Have an AI reviewer summarize and comment on pull-request changes.
- Qodo · Review code changes with AI and apply organization-specific expectations to pull-request feedback.
Common questions
- What makes a good task brief?
- Spell out a reproducible problem, expected result, constraints, and commands for verification.
- Can it handle code review?
- Use agent findings to inform review and validate each claim against the change and its expected behavior.
Community posts
-
Which project instructions belong in AGENTS.md? ↗
A forum thread distinguishes stable repository instructions from the notes used to track a long-running task, with examples of what each can contain.
OpenAI Developer Community