Skip to content
How I AIHow I AI

The power user’s guide to Codex | Alexander Embiricos (product lead)

Alexander Embiricos, the product lead for Codex at OpenAI, shares practical workflows for getting the most out of this AI coding agent. In this episode, he demonstrates how both non-technical users and experienced engineers can leverage Codex to accelerate development, from making simple code changes to building production-ready applications. Alex walks through real examples of using Codex in VS Code and terminal environments, implementing parallel workflows with Git worktrees, and creating detailed implementation plans for complex projects. He also reveals how OpenAI uses Codex internally, including how they built the Sora Android app in just 28 days, and offers insights on automated code review and the future of AI-assisted development. *What you’ll learn:* 1. How to set up and use Codex in VS Code and terminal environments for both simple and complex coding tasks 2. A practical workflow for running multiple Codex instances in parallel using Git worktrees to avoid conflicts 3. How to create detailed implementation plans using the Plans.md technique for complex engineering projects 4. Why context is critical when prompting Codex—and how to provide the right information for better results 5. How OpenAI uses automated code review to accelerate development while maintaining high quality standards 6. The key differences between vibe coding for prototypes versus building production-ready applications with AI 7. How the new GPT-5.2 model improves Codex’s capabilities with faster reasoning and better problem-solving *Brought to you by:* Brex—The intelligent finance platform built for founders: https://brex.com/howiai Graphite—Your AI code review platform: https://graphitedev.link/howiai *Detailed workflow walkthroughs from this episode:* • 3 Advanced Codex Workflows for Faster, Smarter Development with OpenAI’s Alex Embiricos: https://www.chatprd.ai/how-i-ai/advanced-codex-workflows-with-openai-alex-embiricos • How to Use OpenAI Codex to Understand and Modify a New Codebase: https://www.chatprd.ai/how-i-ai/workflows/how-to-use-openai-codex-to-understand-and-modify-a-new-codebase • How to Architect Complex Software Projects with OpenAI’s Plans.md Technique: https://www.chatprd.ai/how-i-ai/workflows/how-to-architect-complex-software-projects-with-openai-s-plans-md-technique • How to Manage Parallel Development with AI using Git Worktrees and Codex: https://www.chatprd.ai/how-i-ai/workflows/how-to-manage-parallel-development-with-ai-using-git-worktrees-and-codex *In this episode, we cover:* (00:00) Introduction to Alex and Codex (02:06) Getting started with Codex (04:54) Using Codex for parallel tasks (07:34) Understanding Git worktrees (09:51) Terminal shortcuts and command-line efficiency (12:16) How OpenAI built the Sora Android app with Codex (15:37) Using PLANS.md for problem solving (20:23) Using Codex for prototyping (22:22) Deciding between what needs a plan and what doesn’t (26:42) How to multiply the impact of Codex (28:08) Implementing automated code review with GitHub (30:01) Codex adoption at OpenAI (32:08) Challenges and innovations in AI integration (36:38) Recap and the Codex harness (43:49) Atlas and personalized AI interactions (49:09) Conclusion and final thoughts *Tools referenced:* • Codex: https://openai.com/blog/openai-codex • VS Code: https://code.visualstudio.com/ • Cursor: https://cursor.com/ • Git: https://git-scm.com/ • GitHub: https://github.com/ • Atlas: https://openai.com/atlas • ChatGPT: https://chat.openai.com/ • Slack: https://slack.com/ • Linear: https://linear.app/ *Other references:* • Sora app: https://openai.com/blog/sora • GPT-5.2 model: https://openai.com/index/introducing-gpt-5-2/ • SWE-bench: https://openai.com/index/introducing-swe-bench-verified/ *Where to find Alexander Embiricos:* LinkedIn: https://www.linkedin.com/in/embirico X: https://x.com/embirico *Where to find Claire Vo:* ChatPRD: https://www.chatprd.ai/ Website: https://clairevo.com/ LinkedIn: https://www.linkedin.com/in/clairevo/ X: https://x.com/clairevo _Production and marketing by https://penname.co/._ _For inquiries about sponsoring the podcast, email jordan@penname.co._

Alexander EmbiricosguestClaire Vohost
Jan 12, 202653mWatch on YouTube ↗

CHAPTERS

  1. 0:00 – 0:51

    Why Codex excels at complex engineering tasks (thoroughness over speed)

    Alex opens by framing Codex as a coding agent optimized for diligence and hard problems rather than raw speed. He positions it as a “software engineering teammate” that can both answer questions and execute substantial work.

    • Codex is designed as an agent, not just autocomplete
    • Strength: thorough, careful work on complex tasks
    • Tradeoff: not always the fastest, but strong on correctness and depth
    • Using the same chat preserves context for iterative changes
  2. 0:51 – 2:21

    Show setup context: what viewers will learn (IDE, terminal, and power workflows)

    Claire introduces the episode’s goals: a practical, zero-to-one walkthrough and advanced tips. The focus is on using Codex across skill levels—from non-technical tweaks to terminal-centric power usage.

    • Episode aims for practical demonstrations, not theory
    • Target audience ranges from newcomers to experienced engineers
    • Topics previewed: IDE usage, CLI workflows, review, and scaling impact
    • Codex positioned as flexible across surfaces
  3. 2:21 – 3:07

    Installing Codex in VS Code and understanding access/limits

    They walk through installing the Codex extension and the initial login flow. Alex clarifies that Codex is included in paid ChatGPT plans and highlights generous usage limits.

    • Install via VS Code extension marketplace
    • Codex requires a paid ChatGPT plan (Plus/Pro/Business/Team/Edu)
    • Extension adds a Codex sidebar glyph/surface
    • Practical onboarding: treat as ‘zero to one’ even for new users
  4. 3:07 – 6:01

    First wins on an existing codebase: run the repo, ask questions, fix a gameplay bug

    Alex demonstrates the “day-one” value: asking basic repo questions, running the project locally, and making a simple change via natural language. The example centers on a game repo where the jump behavior is clearly wrong.

    • Use Codex to ask ‘how do I run/play this repo?’
    • Run local dev command (e.g., npm run dev) and validate behavior
    • Natural-language change request (“jump is too big—lower it”)
    • Codex proposes a plan before editing, reinforcing agent-style workflow
  5. 6:01 – 7:21

    Parallelizing work: when to split tasks vs do them sequentially

    Claire highlights how Alex spawns multiple chats for parallel fixes (e.g., jump + windmill feature). Alex explains the decision-making: parallelize questions freely, but be cautious when code changes can conflict.

    • Parallel chats are great for Q&A and lightweight exploration
    • For code changes, assess likelihood of conflicts
    • Real workflow example: internal feature toggles and string-search hints
    • Parallelism is a tool—use it selectively depending on coupling
  6. 7:21 – 9:01

    Git worktrees in practice: safe parallel changes without branch conflicts

    They dive into Git worktrees as the mechanism for running multiple independent changes simultaneously. Alex shows using Codex to create worktrees and then running separate agent sessions in each directory.

    • Worktrees = multiple working directories tracked by one git repo
    • Avoids manual copying/cloning while keeping changes separated
    • Use Codex to generate the exact worktree commands (no memorization)
    • Demo: French vs German UI placeholder translations in separate worktrees
  7. 9:01 – 13:00

    Terminal productivity: one-line prompts, shortcuts, and ‘Codex all the way down’

    Claire calls out a power-user pattern: launching Codex from the CLI with the initial prompt included inline. The segment emphasizes reducing friction and speeding up iterative command-line workflows.

    • CLI launch supports passing the first prompt directly (single-line flow)
    • Useful for repetitive tasks like git operations and repo automation
    • Meta workflow: running Codex within the Codex repo while discussing Codex
    • Takeaway: small UX shortcuts compound into large productivity gains
  8. 13:00 – 14:49

    Case study: building the Sora Android app in 28 days (what actually worked)

    Alex shares OpenAI’s story of building the Sora Android app quickly with a small team, clarifying that it wasn’t a one-prompt ‘vibe build.’ The key was pairing strong architecture thinking with agent execution and careful review.

    • Four engineers shipped a non-trivial app in 28 days
    • Attempting a single prompt to build the whole app didn’t work
    • Success relied on architecture decisions + structured execution
    • Core lesson: agents don’t remove difficulty—they compress time
  9. 14:49 – 19:21

    PLANS.md workflow: turning a big change into an executable, reviewable plan

    Alex introduces a structured planning approach using a PLANS.md template from an OpenAI blog post. He demonstrates generating a detailed plan (e.g., Python SDK based on a TypeScript SDK) and then using that plan as the execution contract.

    • Use a ‘plan for planning’ template (PLANS.md) to guide the agent
    • Plans should be self-contained, milestone-based, and updated as work progresses
    • Codex’s strength: thorough long plans for complex tasks
    • Best practice: iterate on the plan in the same chat to preserve context
  10. 19:21 – 22:27

    Vibe coding vs vibe engineering: prototyping for learning vs production execution

    They distinguish between fast prototyping (often designer-led) and production-grade engineering that requires specs and architecture. Codex helps in both modes: speeding learning loops and accelerating implementation once direction is clear.

    • Two accelerations: learning/prototyping and execution/shipping
    • Designers can build functional prototypes quickly with agent help
    • Production still needs careful architectural thinking and review
    • Sometimes prototypes are close enough to land; other times they inform a rebuild
  11. 22:27 – 26:56

    When to plan (and when to skip it): time, complexity, and ‘Best of N’ exploration

    Claire asks how to decide what warrants a plan. Alex gives a pragmatic rubric: harder tasks need plans, but time constraints may push you toward multiple parallel attempts instead of planning, including ‘Best of N’ runs in the cloud.

    • Complexity increases the payoff of planning
    • When time is scarce, run multiple attempts in parallel instead
    • Cloud Codex can do ‘Best of N’ (multiple tries) for exploration
    • Typical human bandwidth: two parallel threads is manageable; more becomes juggling
  12. 26:56 – 30:50

    Multiplying impact with GitHub: /review, automated PR comments, and fix loops

    Alex shows how Codex can act as an explicit reviewer (/review) and as an automated GitHub integration that comments only when highly confident. The system can even accept a ‘please fix’ reply and generate the patch, tightening the review-to-fix cycle.

    • Use /review to put Codex into reviewer mindset for stronger critique
    • Automated GitHub review posts only high-confidence issues to reduce noise
    • Human attention is treated as scarce—no issue means minimal interruption
    • Closed loop: teammate asks Codex to fix, Codex patches and updates PR
  13. 30:50 – 38:38

    Codex adoption inside OpenAI: productivity signals and proactive vs reactive agents

    Alex discusses broad internal adoption—moving from about half the company to nearly all technical staff using Codex regularly. They also reflect on product lessons: some proactive automations (like review) hit, while others (auto-revising PRs from feedback) were too noisy or context-dependent.

    • Codex became pervasive across OpenAI’s technical teams
    • Early signal: higher PR volume for users (imperfect but indicative)
    • Automated review enabled across most repos; generally well-liked
    • Proactive agent features require very high quality to avoid frustration
  14. 38:38 – 43:44

    Harness matters: model-UX co-design, open-source learnings, and compaction

    They shift into why the ‘interface’ (harness) is a differentiator, not just the model. Alex explains that Codex’s open-source harness lets users see how OpenAI adapts workflows per model release and adds features like compaction to preserve continuity across contexts.

    • Harness impacts both output quality and user experience
    • Models change frequently; harness updates help users keep pace
    • Open source allows builders to learn, reuse patterns, or delegate via SDK
    • Compaction: continuing work with refreshed context while preserving continuity
  15. 43:44 – 49:08

    Atlas and Sidechat: personalized, in-context assistance across the web

    Claire asks about Atlas, and Alex shares how personalization and memory change everyday workflows. Sidechat enables page-grounded conversations—summarize, analyze numbers, rewrite text—without leaving the current context.

    • Memory + feedback loops produce increasingly tailored answers
    • Use chat for ‘everything,’ then follow up conversationally
    • Sidechat grounds Q&A in the page you’re reading
    • In-context rewriting and interpretation (docs, numbers, concepts)
  16. 49:08 – 51:26

    Getting agents back on track: context-first prompting, ambiguity, and session recovery

    Alex explains his debugging approach when an agent misbehaves: provide more context, clarify intent, and avoid false precision. If needed, he restarts a session—and notes advanced users can point Codex to local session logs to recover context.

    • Give rich context and the ‘why,’ not just the ‘what’
    • Be explicit about ambiguity—don’t over-specify if you don’t care
    • If it’s stuck, restart a new chat rather than fighting the thread
    • Advanced: sessions stored locally (.codex/sessions); agent can read prior sessions
  17. 51:26 – 53:04

    Where to find Alex + what’s next for Codex (hiring, configs, skills)

    They close with ways the audience can engage: bug reports, feedback, and contributing ideas for new configuration/skills. Alex shares where to reach him and mentions hiring needs for the Codex team.

    • Open invitation for bug reports and product feedback
    • Codex expanding configuration: allowlists, commands, ‘skills’
    • Hiring PMs and broader roles for Codex
    • Contact: @Embirico and r/codex community

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.