codex - 💡(How to fix) Fix Agent is an idiot and ignores AGENTS.md [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18326Fetched 2026-04-18 05:56:00
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2closed ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.121.0

What subscription do you have?

Nie wiem

Which model were you using?

5.4-mini, 5.4 high

What platform is your computer?

linux

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

The agent ignores the AGENTS.md file and performs actions I didn't request. This corrupts my code, and makes my work harder not easier. I am sick of it. This is not what I paid for.

What steps can reproduce the bug?

Uploaded thread: 019d9a8e-c72c-71d1-9a78-ae60a696a6b1

What is the expected behavior?

No response

Additional information

No response

extent analysis

TL;DR

The issue may be resolved by reconfiguring or updating the AGENTS.md file to ensure it is properly read by the Codex CLI agent.

Guidance

  • Verify that the AGENTS.md file is in the correct location and has the correct permissions, as the agent may be ignoring it due to a configuration issue.
  • Check the Codex CLI documentation for any specific requirements or guidelines for formatting the AGENTS.md file, as incorrect formatting may be causing the issue.
  • Review the uploaded thread (019d9a8e-c72c-71d1-9a78-ae60a696a6b1) to see if it provides any additional information about the issue or potential causes.
  • Consider reaching out to support or checking the Codex CLI community resources for known issues or workarounds related to the AGENTS.md file.

Notes

The issue lacks specific details about the expected behavior and additional information, which may be necessary to provide a more targeted solution.

Recommendation

Apply workaround: The user may need to try reconfiguring the AGENTS.md file or seeking additional support to resolve the issue, as there is not enough information to suggest a specific fix or upgrade.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING