# Codex

<div class="flex flex-col-reverse gap-8 lg:flex-row-reverse">
  <div class="w-full lg:w-1/2">
    <CodexScreenshot
      alt="Codex app showing a project sidebar, thread list, and review pane"
      lightSrc="/images/codex/app/codex-app-basic-light.webp"
      darkSrc="/images/codex/app/codex-app-basic-dark.webp"
      maxHeight="400px"
      variant="no-wallpaper"
    />
  </div>

  <div class="w-full lg:w-1/2">
Codex is OpenAI's coding agent for software development. ChatGPT Plus, Pro, Business, Edu, and Enterprise plans include Codex. It can help you:

- **Write code**: Describe what you want to build, and Codex generates code that matches your intent, adapting to your existing project structure and conventions.

- **Understand unfamiliar codebases**: Codex can read and explain complex or legacy code, helping you grasp how teams organize systems.

- **Review code**: Codex analyzes code to identify potential bugs, logic errors, and unhandled edge cases.

- **Debug and fix problems**: When something breaks, Codex helps trace failures, diagnose root causes, and suggest targeted fixes.

- **Automate development tasks**: Codex can run repetitive workflows such as refactoring, testing, migrations, and setup tasks so you can focus on higher-level engineering work.

<CtaPillLink
  href="/codex/quickstart"
  label="Get started with Codex"
  class="mt-10"
/>

  </div>
</div>

<div class="not-prose mt-10 grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
  <LinkCard
    title="Quickstart"
    href="/codex/quickstart"
    description="Download and start building with Codex."
    variant="image"
    ctaLabel="Get started"
    backgroundImage="/images/codex/codex-wallpaper-3.webp"
  />
  <LinkCard
    title="Explore use cases"
    href="/codex/use-cases"
    description="Get inspiration on what you can build with Codex."
    variant="image"
    ctaLabel="Learn more"
    backgroundImage="/images/codex/codex-wallpaper-1.webp"
  />
  <LinkCard
    title="Community"
    href="/community"
    description="Read community posts, explore meetups, and connect with Codex builders."
    variant="image"
    ctaLabel="See community"
    backgroundImage="/images/codex/codex-wallpaper-2.webp"
  />
  <LinkCard
    title="Codex for Open Source"
    href="/community/codex-for-oss"
    description="Apply or nominate maintainers for API credits, ChatGPT Pro with Codex, and selective Codex Security access."
    variant="image"
    ctaLabel="Learn more"
    backgroundImage="/images/codex/codex_bg.webp"
  />
</div>