---
{
  "title": "OpenAI Codex record and replay, explained",
  "slug": "codex-record-and-replay-explained",
  "intent": "hype",
  "locale": "en",
  "date": "2026-06-22",
  "updated": "2026-06-21T19:29:16Z",
  "template": "default",
  "excerpt": "What OpenAI Codex record and replay actually does: demonstrate a workflow on your Mac once, and Codex turns it into a reusable skill. How it works, its limits, and where it fits.",
  "categories": ["Guides","Trending"],
  "tags": ["OpenAI Codex", "AI agents", "record and replay", "automation"],
  "readTime": 9,
  "author": 20,
  "reviewer": 4,
  "seo": {
    "title": "OpenAI Codex record and replay, explained (2026)",
    "description": "Codex record and replay lets you demonstrate a workflow on your Mac and turn it into a reusable skill. How it works, what it can't do, and when to use it.",
    "image": "https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/baca4007aa134f1aafd68fec64ecae17.webp"
  },
  "coverImage": "https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/baca4007aa134f1aafd68fec64ecae17.webp",
  "coverImageAlt": "A person demonstrating a workflow on their Mac while Codex records it as a reusable skill and an AI agent replays it",
  "coverImageWidth": 1920,
  "coverImageHeight": 1080,
  "faqs": {
    "heading": "Frequently Asked Questions",
    "type": "blog",
    "answerType": "html",
    "faqs": [
      {
        "question": "What is OpenAI Codex record and replay?",
        "answer": "Record and replay is a Codex feature that lets you demonstrate a repetitive workflow on your Mac, then turns that demo into a reusable, editable <a href=\"https://developers.openai.com/codex/skills\">Codex skill</a>. You replay it later by starting a new thread and giving Codex the values that change this time. It shipped on June 18, 2026 in the macOS Codex app. If you are new to the tool, our <a href=\"https://www.eesel.ai/blog/openai-codex\">OpenAI Codex overview</a> is a good starting point."
      },
      {
        "question": "How do you record a skill in Codex?",
        "answer": "Open <strong>Plugins</strong> in the Codex app, open the <strong>+</strong> menu, choose <strong>Record a skill</strong>, approve the recording prompt, perform the workflow, and stop when you are done. Codex then drafts a skill describing when to use it, what inputs it needs, the steps, and how to verify the result, per the <a href=\"https://developers.openai.com/codex/record-and-replay\">official docs</a>."
      },
      {
        "question": "Is Codex record and replay available in the EU or on Windows?",
        "answer": "Not at launch. Record and replay is <a href=\"https://developers.openai.com/codex/record-and-replay\">macOS only</a>, and initial availability excludes the European Economic Area, the UK, and Switzerland. It also requires Computer Use to be enabled. For a wider look at platform gaps, see our Codex macOS app writeup."
      },
      {
        "question": "What is the difference between record and replay and session replay?",
        "answer": "Record and replay is the official feature that teaches Codex a skill from a demonstration. \"Session replay\" is what many developers mean when they talk about re-running a saved agent transcript to debug or audit a run, which lives in community tools rather than the launched feature. They are easy to confuse but solve different problems, as we explain in our <a href=\"https://www.eesel.ai/blog/what-is-an-ai-agent-loop\">AI agent loop</a> guide."
      },
      {
        "question": "Can I use record and replay for customer support automation?",
        "answer": "Codex record and replay is built for individual desktop workflows, not support queues. For support, an <a href=\"https://www.eesel.ai/ai-helpdesk-agent\">AI helpdesk agent</a> like eesel learns from your past tickets and help docs on day one instead of asking you to record each task, and you can <a href=\"https://www.eesel.ai/blog/adversarial-testing\">simulate it on real tickets</a> before it goes live."
      }
    ],
    "supportLink": null
  },
  "alternates": {
    "x-default": "codex-record-and-replay-explained",
    "en": "codex-record-and-replay-explained",
    "de": "codex-aufzeichnung-und-wiedergabe-erklaert",
    "es": "codex-grabacion-y-reproduccion-explicado",
    "fr": "codex-enregistrement-et-replay-explique",
    "ja": "codex-kiroku-to-saiseiki-kaisetsu",
    "pt": "codex-gravacao-e-reproducao-explicado"
  }
}
---

## TL;DR

OpenAI shipped <mark>record and replay in the macOS Codex app on June 18, 2026</mark> (app version 26.616). The idea is simple and genuinely clever: instead of writing a long prompt to describe a fiddly task, you [demonstrate the workflow on your Mac](https://developers.openai.com/codex/record-and-replay) once, and Codex turns the demo into a reusable, editable skill you can replay later with new inputs.

One thing trips people up immediately, so it is worth saying up front: the feature OpenAI launched is about *teaching Codex a skill by showing it*. That is not the same as "session replay," the thing many developers mean when they talk about re-running an agent's transcript to debug a run. I will untangle both below.

It is a real step toward agents you teach by demonstration rather than by writing instructions, with real limits at launch (macOS only, no EU/UK, needs Computer Use). If your actual goal is automating customer support rather than your own desktop chores, the same "teach it once, let it run" idea already exists in a different shape: an [AI support agent](https://www.eesel.ai/ai-helpdesk-agent) that learns from your past tickets instead of asking you to record every task.

![How OpenAI Codex record and replay works, from demonstrating a task to replaying it as a skill](https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/f7cc336761104760bc42ab939ef620cd.png)

## What is Codex record and replay?

A quick bit of context first. [Codex](https://www.eesel.ai/blog/openai-codex) is OpenAI's agentic coding tool: a terminal CLI, an IDE extension, and a desktop app that can run tasks for you across your machine and the web. Over the last few months it has grown well past code into general computer use, which is what makes this feature possible.

Record and replay, per the [Codex docs](https://developers.openai.com/codex/record-and-replay), "lets you demonstrate a workflow on your Mac and turn it into a reusable skill." OpenAI suggests reaching for it "when the workflow is repetitive, depends on your preferences, or is easier to show than to describe in a prompt."

The examples in the [documentation](https://developers.openai.com/codex/record-and-replay) are deliberately mundane, which is the point: you might record how you file an expense, book a parking space, create a correctly configured issue, publish a video, or download a recurring report. These are the tasks that are annoying to write out as a prompt ("click the dropdown, pick the third option, only if the project is internal...") but trivial to just *do* while something watches.

It landed in the [June 18, 2026 changelog](https://developers.openai.com/codex/changelog) alongside Codex app 26.616 and CLI 0.141.0. The official framing on launch, from [OpenAI's developer community post](https://community.openai.com/t/introducing-record-replay/1384088), was that you "show Codex a recurring task, like filing an expense report or submitting a time-off request," and "Codex turns that demo into an inspectable, editable skill. You control when recording starts and stops."

## How record and replay actually works

Here is the mechanism end to end, because the "magic" is really three concrete stages.

**Recording.** You [start a recording from the Codex app](https://developers.openai.com/codex/record-and-replay): open **Plugins**, open the **+** menu, and select **Record a skill**. Codex shows a suggested prompt, you add any context, and once you approve the permission request you just perform the workflow on your Mac. You stop from the menu bar, the overlay, or by telling Codex you are done.

**What it captures.** During recording, the docs say Codex ["observes the actions and window content needed to learn the workflow,"](https://developers.openai.com/codex/record-and-replay) and recording continues until you stop it. That "window content" detail matters: it is watching your screen, which is exactly why OpenAI's [help center](https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan) warns you to avoid entering secrets or sensitive data while you record.

**What you get back.** This is the part I find most interesting as someone who builds agents. Codex does not save a literal click-by-click macro. It [inspects the captured workflow and drafts a skill](https://developers.openai.com/codex/record-and-replay) that, in OpenAI's words, "explains when to use the workflow, what inputs it needs, what steps to follow, and how to verify the result." The output is an *editable* skill description you can read and refine, not an opaque recording.

Then you [replay it](https://developers.openai.com/codex/record-and-replay): start a new thread, ask Codex to use the skill, and "give it the values that differ this time, such as the file to upload, the issue to create, or the date range for the report." Codex uses the skill as context and completes the task with whatever tools are available, including Computer Use, browser actions, and installed plugins.

That last bit is the real upgrade over the macro recorders some people are comparing it to. A macro replays the same coordinates blindly. A Codex skill is a reasoned description of intent, so it can adapt when the file name, the date, or the layout changes.

## Wait, there are two different "replays"

If you searched for "Codex record and replay" and landed on a thread about JSONL transcripts and debugging, you were not imagining it. The phrase points at two different things, and conflating them is the single most common confusion I have seen in the discussion.

![The difference between OpenAI Codex record and replay the feature and session replay for debugging agent runs](https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/059a6021b74f4215863066a491859d09.png)

**Record and replay (the launched feature)** is what this whole post is about: teach Codex a skill by demonstrating a UI workflow.

**"Session replay"** is the developer-tooling sense: re-running a saved agent run to see what it did, reproduce a flaky result, or audit a decision. Codex sessions are stored as transcripts, and a real appetite has built up for replaying them. The most-upvoted [feature request on GitHub](https://github.com/openai/codex/issues/5083) put the pain plainly:

> "Every Codex session is ephemeral. When developers find a successful workflow ... they cannot easily: Reproduce it across projects, Share it with team members, Version control the workflow."
>
> - @Aki-07, [GitHub openai/codex#5083](https://github.com/openai/codex/issues/5083)

That gap is why developers built their own replay layers. Community tools like `codex-replay` turn a session's rollout logs into a single shareable HTML file, and others visualise the live tool-call chain, because, as one builder put it on [Reddit's r/codex](https://www.reddit.com/r/codex/comments/1st8y9h/see_what_codex_thinks_and_do_in_real_time/), "Codex is powerful, but its execution is a black box. You see the final result, not the journey."

So: the new feature helps you *make* a workflow. Session replay helps you *inspect* a run. Both are useful, but only the first one shipped on June 18.

## When to use record and replay (and when not to)

OpenAI is refreshingly clear that this is one of three ways to give Codex a skill, and they overlap less than you would think.

![Three ways to give Codex a skill: write a prompt, record and replay, or build a plugin](https://cdn-public.eesel.ai/355ca1d8-3d7c-4618-973f-22c7b8780d42/48a0ef84-d2a4-48f0-9c4c-79c75fe7aa4d/add8ae3a979441b78b6353f4f2d3d4d5.png)

If a task is easy to describe in words, just [prompt Codex](https://www.eesel.ai/blog/how-to-prompt-claude-code) and move on. Recording adds nothing.

Record and replay earns its place when the task is "easier to show than describe" and it is *your own* repetitive workflow with stable, clear success criteria, which the docs call out as the [sweet spot](https://developers.openai.com/codex/record-and-replay).

And when you want to distribute a stable, documented capability across a team, bundle several skills, or wire in MCP servers, OpenAI points you at [building a plugin](https://developers.openai.com/codex/plugins/build) instead. Record and replay is described as "a fast way to create a skill from a demonstrated workflow," not the way to ship something durable to forty colleagues.

OpenAI's [tips for better recordings](https://developers.openai.com/codex/record-and-replay) are worth a quick read before your first try. The ones that actually move the needle: tell Codex your goal and which inputs vary *before* you hit record, keep the demo short and complete, use realistic (non-secret) inputs, and stop recording the moment the workflow is done instead of wandering into unrelated cleanup.

## The limits worth knowing before you rely on it

This is a launch, not a mature feature, and the constraints are real. None of them are dealbreakers, but a few will quietly decide whether you can use it at all.

| Constraint | What it means in practice |
| --- | --- |
| macOS only | No Windows or Linux desktop support at launch. ([docs](https://developers.openai.com/codex/record-and-replay)) |
| Excludes EEA, UK, Switzerland | Not available in those regions on day one. ([changelog](https://developers.openai.com/codex/changelog)) |
| Requires Computer Use | Computer Use must be available and enabled for record and replay to work. ([docs](https://developers.openai.com/codex/record-and-replay)) |
| Admin can disable it | If your org manages Codex with `requirements.toml`, setting `[features].computer_use = false` turns off both Computer Use and record and replay. ([docs](https://developers.openai.com/codex/record-and-replay)) |
| Watch your secrets | It records window content, so OpenAI tells you to avoid entering [sensitive data while recording](https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan). |

The community reaction tracked these limits almost perfectly. The feature itself impressed people, with one reaction on [r/accelerate](https://www.reddit.com/r/accelerate/comments/1ua2a2w/comment/osmyp2w/) being a blunt "holy shit this is wild and way more powerful than macro recording." But the two recurring gripes were exactly the constraints above:

> "Codex shipped Record & Replay this week. Show it a task live, it watches your screen, turns it into a skill. Cool feature. Mac only, and it only runs back through Codex."
>
> - u/RawalDelhi, [Reddit r/AI_Agents](https://www.reddit.com/r/AI_Agents/comments/1ubrjt5/everyones_talking_about_codex_record_replay_i/)

That "only runs back through Codex" point is the strategic one. The skill you record is portable in concept but locked to Codex in practice, which is a reasonable trade if you have already committed to the ecosystem and a real friction if you have not.

## What this says about where agents are heading

Strip away the macOS caveats and you are left with a meaningful shift: <mark>the cheapest way to teach an agent is starting to be demonstration, not instruction.</mark> Writing a perfect prompt is hard. Doing the task while something watches is easy. That is a better fit for how most people actually hold knowledge about their own work, which lives in muscle memory, not in documentation.

This is the part where I will show my hand, because I build [AI agents](https://www.eesel.ai/blog/ai-agents-vs-ai-chatbots) at eesel for a living. The "teach by showing, not telling" instinct is exactly right, and it is the same instinct behind how good support automation already works. We have spent the last few years putting AI agents on live support queues, and the lesson that stuck is that an agent is only as good as what it learned from, and the richest teacher is the work you have already done.

For customer support specifically, you do not record yourself answering tickets one at a time. The history is already sitting in your helpdesk. So the better version of "record and replay" for a support team is an agent that reads your past [Zendesk](https://www.eesel.ai/integrations/zendesk) or [Front](https://www.eesel.ai/integrations/front) tickets, your help center, and your macros, and learns the patterns on day one, no demonstration required. Codex's feature is the desktop-chore version of an idea that, for support, is already further along.

## Try eesel for support automation

If you got here because you are trying to automate the repetitive parts of your job, and that job is customer support rather than filing expense reports, this is the part worth your attention.

[eesel AI](https://www.eesel.ai) is an [AI support agent](https://www.eesel.ai/ai-helpdesk-agent) that plugs into your existing helpdesk and learns from what you already have. Instead of recording each task, it trains on your historical tickets, help docs, and macros, then drafts and resolves tier-1 conversations in your brand voice. The closest thing to Codex's "demonstrate then replay" loop is our [simulation mode](https://www.eesel.ai/blog/adversarial-testing): before it answers a single live customer, you run it against thousands of your past tickets to see exactly how it would have handled them, find the gaps, and only then turn it on.

![Onboarding an eesel AI teammate by teaching it, chatting with it, and putting it to work in your helpdesk](https://cdn-public.eesel.ai/blog/internal-assets/eesel-dashboard-overview-no-customers-20261122.png)

It is not theoretical. Smava runs a fully automated Zendesk agent through [100,000+ German-language tickets a month](https://www.eesel.ai). Pricing is [one fixed monthly price with no per-seat fees](https://www.eesel.ai/pricing), and you can [start free](https://www.eesel.ai) without a credit card. If your stack is Zendesk, Freshdesk, Gorgias, [Help Scout](https://www.eesel.ai/integrations/help-scout), or [a hundred other tools](https://www.eesel.ai/integrations), it most likely connects.
