Yeda AI Knowledge Base
Codex
Configuring and running OpenAI’s coding agent, from a lean AGENTS.md to parallel worktrees.
Tip #025
Set Codex’s Leash Before It Runs: Sandbox Mode and Approval Policy
How OpenAI Codex’s sandbox mode and approval policy work together, and why workspace-write + on-request is the safe default for real projects.
Tip #026One File Codex Reads Before Anything Else: Writing a Lean AGENTS.md
How to write a lean AGENTS.md so OpenAI Codex reads your project’s conventions before writing a line of code, instead of you repeating them every prompt.
Tip #027Stop Watching One Codex Agent Work: Parallel Agents with Git Worktrees
How to use git worktree to run several OpenAI Codex agents on the same repo at once, each in its own folder, without them colliding.