AI Engineer

Cooking with Codex — Charlie Guo & Gabriel Chua, OpenAI

2354 summary words 10 min summary Watch video

Start with the signal

10 min read

Summary

At-a-Glance

  • Verdict: Watch fully
  • Core thesis: Codex becomes materially more powerful when treated not as a turn-by-turn coding assistant but as an orchestrated agent system with rich context, delegated threads, deterministic guardrails, persistent goals, and event-driven automation.
  • Why it matters: The workshop provides concrete architecture patterns for agentic software delivery: separating visible and hidden delegation, routing remote work to local browser QA, using tools under existing authorization, and turning feedback loops into PR-producing automations.
  • Best use: Watch for reusable operating patterns and product primitives, then adapt the Goal, sub-agent, hook, heartbeat, and app-server patterns to Ken's own agent control plane and software-factory workflows.

Executive Summary

This is an unusually practical OpenAI workshop on using Codex as an agent harness rather than merely a coding copilot. Guo and Chua organize the product around six motions: inject context, build artifacts, take actions through computer use, collaborate on long-running work, automate recurring loops, and embed the harness in other products. The strongest message is that agent performance is constrained less by magic-prompt wording than by supplying the right operational context, permissions, success criteria, and verification mechanisms.

The most valuable material is the long-running-task orchestration model. The presenters demonstrate Codex working for roughly six to fifteen hours on a Q&A app, an internal form-builder adaptation, and a research-code reimplementation. Their recommended structure is an explicit goal file, milestone dashboard, specialized sub-agents, periodic goal audits and code reviews, status reporting through Slack, and human intervention only for meaningful blockers such as authentication or external-service credentials.

They distinguish sub-agents from thread-to-thread handoff: use sub-agents for model-visible subcontracting where the human need not inspect the work, and use separate visible threads when a human wants to supervise a workstream or impose an organizational role such as creative director. Hooks supply deterministic controls at lifecycle checkpoints, including validation, cleanup, tool-policy checks, logging, and secret scanning. This is the governance layer that makes increasing autonomy more tolerable.

The final step is to chain these primitives into a software factory. Heartbeat automations monitor delayed state changes, scheduled automations inspect channels or analytics, plugins supply external context and actions, and spawned worktree threads can turn categorized user feedback into fixes and pull requests. The open-source Codex app server is positioned as the reusable harness for custom UIs and internal platforms, though local-machine capabilities such as computer use do not carry into that server embedding.

Key Takeaways

  • Claim: The highest-leverage prompt improvement is operational context, not ritualized prompt engineering: give Codex the artifacts, constraints, preferences, and source systems needed to infer the intended work. | Evidence: The presenters use App Shots to send a Slack brainstorming conversation directly into Codex and have it build a macOS real-time translation app; they describe screenshot text as embedded context. They also use plugins for macOS-development practices, OpenAI developer setup, Slack, Gmail, Outlook, Linear, and other connected systems. | Implication: Treat context capture as a first-class systems layer: build reusable skills, plugins, repository instructions, and personal/team preferences instead of repeatedly explaining workflows in individual prompts. | Caveat: Memory is off by default, consumes additional token budget when enabled, and tool-returned information may be inappropriate to persist; Codex offers an option to skip memory generation in tool-using chats.
  • Claim: Computer use is the practical bridge for workflows that lack APIs, but its operating mode should match the application and authorization boundary. | Evidence: Codex downloads multiple date-ranged reports from a dashboard and creates a Google feedback form from a document by clicking through UI controls. The presenters distinguish general computer use for native or legacy apps, the Chrome extension for operating in an already authenticated browser, and the in-app browser for deep local web-app testing and layout inspection. | Implication: For internal operations, prioritize agents that can work through the same interfaces humans use, while making browser identity delegation and action scope explicit controls in the system design. | Caveat: The Chrome extension borrows the user's existing signed-in state with permission, so its utility is tied to an authorization-sensitive environment rather than an isolated headless browser.
  • Claim: Long-running agent work succeeds when completion is defined by explicit, verifiable criteria and the agent is given a visible plan plus mechanisms to self-check against it. | Evidence: A live Q&A application runs for more than 15 hours, an open-source form builder adaptation for 5 hours 57 minutes, and a research-code rewrite for 7 hours 1 minute. The recommended pattern is a goals.md file, a progress-dashboard.html artifact, milestone-specific code reviews, and goal-audit threads that compare current work against the original plan. | Implication: For autonomous project execution, define acceptance tests, quality bars, constraints, and stopping conditions before delegation; use the agent's plan/dashboard as an inspectable control surface rather than trusting opaque progress. | Caveat: A Goal can satisfy the literal task while violating the user's unstated intent; the presenters compare this failure mode to a 'monkey's paw.' Clear but non-magical success criteria remain necessary.
  • Claim: Agent delegation should be structured by both context isolation and the desired degree of human visibility. | Evidence: Codex sub-agents can be configured in sub-agents.toml with specialized instructions and lighter or stronger models, such as a code reviewer or documentation researcher. By contrast, thread-to-thread handoff is used for visible workstreams; one game project used a creative-director thread overseeing separate art, music, animation, and mechanics threads, each required to obtain sign-off. | Implication: Use hidden sub-agents for bounded subcontracting and context separation; use named, visible threads when a human needs to steer, audit, or own a domain-level workstream. | Caveat: Side threads are ephemeral, so information that must survive as project context needs to be communicated back to the main thread.
  • Claim: Autonomy requires deterministic guardrails at the agent lifecycle level, not merely natural-language instructions. | Evidence: Hooks configured in config.toml can log conversations, scan prompts and outputs for accidentally supplied API keys, assess whether tools are on an approved whitelist, run custom validation at turn completion, and execute deterministic cleanup. The OpenAI Agents SDK example runs a Python housekeeping script at each turn end. | Implication: Put approvals, secret handling, tool allowlists, test gates, and audit logging into hooks or external controls, particularly before allowing long-running agents to deploy, alter infrastructure, or use connected accounts. | Caveat: Language-model self-checks such as 'run the linter before finishing' are useful but do not replace deterministic enforcement for security, policy, and complex validation.
  • Claim: The path from assistant to software factory is to combine heartbeat/scheduled automations, connected plugins, cross-thread handoffs, and worktree-based implementation loops. | Evidence: A DigitalOcean provisioning workflow creates a heartbeat that checks every five minutes until a droplet is ready, then continues setup. Another proposed automation reads Slack feedback every 30 minutes, classifies compliments, bugs, and feature requests, and can spawn a worktree thread to fix issues, open a PR, and request review. The presenters also suggest periodically reviewing all prior threads to improve or retire skills. | Implication: Build loops around observable events and blockers: agents should report status, request only high-value human intervention, resume automatically, and convert recurring feedback into an auditable delivery pipeline. | Caveat: Automations do not eliminate external dependencies: in the Convex/Vercel example, work paused until the operator supplied authentication or securely placed a deployment key into the remote environment.
  • Claim: The Codex app server provides a reusable, open-source harness for embedding Codex-like agent capabilities in custom products and internal control planes. | Evidence: The app server underpins the Codex app, CLI, and VS Code extension, handling tool calls, plugins, steering, and context compaction. The presenters demonstrate a custom 'Retrodex' UI built against it and describe using it to create a unified layer across agent providers or cloud-hosted agent products. | Implication: Evaluate the app server as an integration substrate where Ken needs custom UX, organization-specific orchestration, or a unified interface—but retain a separate design for endpoint-bound browser and desktop actions. | Caveat: Capabilities that depend on the user's physical computer, including computer use, are not available through the app-server embedding.

Detailed Brief

Remote-local execution pattern for browser QA and credentialed work

  • Claims: A remote Codex task can delegate a task to a local Codex thread when it needs access to the operator's Chrome browser or other endpoint-bound capabilities.; The local worker can execute click-based end-to-end testing and send results back to the remote main thread.; Slack can serve as a lightweight status and unblock channel without standing up separate orchestration infrastructure.
  • Evidence: A remote live-Q&A project sends a local task to use the Chrome extension for browser QA; the local task performs the testing and reports results to the remote thread.; In a separate test, while the remote project was running, the local machine opened Chrome around 3 a.m., completed a form-building flow, and created a form end-to-end.; The presenter asks Codex to post to a Slack thread with completed work, remaining work, and blockers, then checks those updates while away from the computer.
  • Caveats: This pattern depends on a live, authorized local endpoint and should be considered an explicit trust-boundary crossing rather than generic cloud execution.; Remote agents can be blocked by service credentials even when all other implementation work is complete.
  • Implications: Separate cloud execution from privileged endpoint execution in the architecture, with a narrow message-passing interface between them.; Use structured agent status reports to make human oversight asynchronous rather than continuous.

Artifacts and self-improving operational memory

  • Claims: Codex can produce shareable operational artifacts beyond code, including Sites, documents, slides, spreadsheets, repository visualizations, and decision aids.; Personalization can be created through global custom instructions, project-level agents.md guidance, memories, and optional screen-aware Chronicle context.; The presenters advocate periodic reflection loops that inspect past agent interactions and update skills or written guidance.
  • Evidence: A Site summarizes changes to the Agents SDK with code snippets; the team also uses Sites for event summaries, off-site planning, and comparing location trade-offs.; Codex is asked to visualize an Agents SDK repository in the style of an IKEA instruction manual.; Suggested recurring processes include a weekly review of conversation threads to improve/remove skills and a second automation that compares draft email suggestions with the final human-sent emails, then updates a markdown best-practices file.
  • Caveats: Screen-aware Chronicle is described as a research preview for Pro subscribers, while the presenter notes it is unavailable on their Business plan.
  • Implications: Operational knowledge should be rendered into inspectable artifacts and continuously distilled from real agent/human outcomes, rather than left inside transient chats.

Practical examples of one-shot construction

  • Claims: The workshop argues that broad development tasks can be initiated from natural-language intent, provided the result is subsequently bounded by tests, feedback, and verification.; Plugins lower setup friction by packaging skills, external prompts, service connectivity, and MCP tools together.
  • Evidence: A macOS live translation application was assembled in 4 minutes and 2 seconds using a macOS-development plugin plus an OpenAI developer plugin, although the live audio demo required on-stage troubleshooting.; The internal form-builder example repurposes an existing open-source repository, hosts it in Sites, and relies on ChatGPT workspace access to restrict use to the internal team.; The OpenAI developer plugin is said to create an API key as needed instead of requiring the user to manually navigate to the developer platform and store one.
  • Caveats: The translation demonstration experienced real-time audio/input issues, illustrating that fast construction is not equivalent to production-grade reliability.
  • Implications: Use rapid agent construction for prototypes and internal tools, but maintain a separate productionization path with environment validation, security review, and user-acceptance testing.

Notable Concepts & Terms

  • App Shots: A screenshot-based context mechanism that includes extracted text, allowing Codex to receive a Slack conversation, browser state, dashboard, or other application context without manual copy-paste.
  • Plugins: Bundles of skills, external prompts, application connectivity, and MCP servers; they package repeatable domain knowledge and tool access for Codex.
  • Goal: A long-running execution primitive that repeatedly evaluates work against specified completion criteria; it is most reliable when those criteria are verifiable.
  • Compaction: The process that allows extended Codex work across multiple context windows; the presenters attribute its long-thread reliability to native training on this process.
  • Sub-agents: Model-managed delegated workers with isolated context, configurable instructions, and configurable model choices; best for work the human does not need to inspect directly.
  • Thread-to-thread handoff: A visible delegation mechanism between main threads, intended for human-supervised workstreams or work that is conceptually separate to the operator.
  • Hooks: Deterministic lifecycle controls configured in Codex that can perform logging, scanning, validation, cleanup, and tool-policy enforcement around agent turns and actions.
  • Heartbeat automation: An in-thread timer loop that periodically rechecks a condition—such as infrastructure readiness or deployment completion—and resumes the workflow when the condition changes.
  • Codex app server: The open-source protocol/harness underlying Codex app, CLI, and VS Code integrations, intended for embedding core agent behavior into custom applications.

Operator Notes / Why Ken Should Care

  • Prototype a long-running-agent template with explicit acceptance criteria, goals.md, a machine-readable milestone dashboard, periodic goal audits, and a required final validation gate.
  • Define a delegation policy: hidden sub-agents for bounded implementation/research, visible threads for owner-facing workstreams, and explicit persistence rules for information produced in ephemeral side threads.
  • Implement deterministic pre-action and end-of-turn controls for secret detection, tool allowlisting, logging, tests, and deployment approval before enabling unattended execution.
  • Design a remote-to-local execution broker for tasks requiring authenticated browser state, desktop software, or end-to-end UI validation; do not conflate those privileges with cloud agent execution.
  • Start with one feedback-to-PR automation loop: classify incoming feedback, create a scoped worktree task only for eligible issues, run tests, and require human review before merge.
  • Assess whether Codex app server can serve as the harness beneath Ken's custom orchestration UI, while documenting which endpoint-bound tools must remain outside that embedded deployment.

Source/Metadata

  • Title: Cooking with Codex — Charlie Guo & Gabriel Chua, OpenAI
  • Transcript words: 21856
  • Duration seconds: 4044
  • Timestamp note: No usable timestamps or chapter markers were present in the supplied transcript; substantial duplicated transcript passages were consolidated in this brief.
Full transcript 12693 words · 96 min read
0:00

All right.

0:18

Good morning, everybody.

0:21

Thanks for bearing with us. There was a long line outside, so we just wanted to make sure everybody could get in and get a seat. Thank you so much for being here. This is the Cooking with Codex workshop. We're so excited to have you. My name is Charlie. I'm on the developer experience team at OpenAI. And my name is Gabriel. I'm also on the developer experience team flying in from Singapore. Nice to be here. Before we dive into the nuts and bolts, I wanted to do a quick review of what have folks been cooking with Codex.

0:48

It is a cooking show. These, you might have seen some of these tweets, but there's a real range of stuff that people have been making.

1:02

Some of it pretty incredible. I think this one, a session with nearly 300 sub-agents. Has anybody beat that in a given session? No? I think Dom might have, but we'll see. Codex working on a synth plugin for Ableton. Really, really cool stuff. I think on our team, we have a team member, Brent, who's doing at this point video editing with Codex driving Premiere, right? Which is not what you would normally expect to see from a coding app. Playable games.

1:52

I think gaming to me is really a place where the models and the app can shine. The ability to go and check your work for the game as it's done or to hand off between different threads and manage audio versus art design versus game mechanics versus difficulty balancing. I think the different threads and sub-agents are amazing here. And last but not least, building a self-driving golf cart with Codex, which I think is just absolutely incredible.

2:18

It kind of makes me wish I was back in school so I could be hacking on stuff in my nights and weekends again. But where have people been cooking?

2:38

I think that's pretty fun. So we see it everywhere. Everyone's Codex maxing everywhere, anywhere, all the time. I mean, literally in between meetings. You've seen people holding their laptops everywhere, keeping it open. It's become a meme at this point. Fortunately, we now have Codex on mobile. So this gentleman in Japan was able to bounce between ideas in bouncing between cities while on the bullet train. Or while walking your dog. And you don't necessarily have to use Codex on the Codex app or use it within the ChatGPT app. You can just put Codex anywhere. With it being open source, there being the app server, which we'll talk about briefly at the end.

3:18

You can put it here. So this Daniel, for example, put it into three e-ink devices. So you really can Codex mix anywhere. So if it's your first time using Codex, do check it out. Do give it a download. What's really nice is that if you have existing configuration for other agents, you can just bring it in and just get started really quick. And today, we want to, through the cooking show, help you cook really fast and cook something really cool. So it's a quick agenda. We're going to talk about what's new. And then the real, pun intended, meat of the session is the six ways to cook with Codex. Some closing thoughts.

3:59

And then the second hour of the session, we'll have a mini hackathon. We're going to have live cooking right in this room. And we'll be walking around helping to beat your sous chef to your main chef. So what's new? What's fresh from the oven? A bunch of things. I think fundamentally, they just really help you give context to Codex really fast. There was record and replay. You spend time describing, oh, you've got to press that button. You've got to press this button. Maybe just show Codex by doing it. It builds on our technology with computer use and so forth. Trade handoff, really fun.

4:31

You can sort of push things from the cloud to the remote to your local and vice versa. We'll demonstrate some of that. And the mobile app is now generally available. So now it is one-to-one device pairing, a much more secure way of working with Codex. So it's been 2026. This slide barely summarizes everything we've shipped. And we're only 50%, literally 50% of the year. Some things have been really fun. The plug-ins, computer use, multi-modality, being able to use Codex on the mobile app, app shots, that's a personal favorite. These things really make Codex and the Codex app really fun to use. And we'll be talking about some of these. They are our sort of key ingredients.

5:09

So that's cooking with Codex. We wanted to start with this quote where it's from our favorite movie, Ratatouille. Anyone can cook, but only the fearless can be great.

5:18

And today, with the sort of ingredients we're going to share with you, some of the recipes, but with your ingenuity, we think you're going to cook some really fun stuff. And these are the six steps to cooking with Codex. Number one, you've got to give Codex your context. There's a lot of context in your documents, in your brain, in your conversations, in your email, in Notion, Linear, so forth. You've got to give Codex that context. That's a really important ingredient. And then, once you have it, you can literally just build things. And that's already just step two. For the power users in the room, there's some interesting stuff where Codex can actually take action.

5:52

You might notice right now, I'm on Chrome, and you just see this nice thing at the top saying, Codex started debugging this browser. What's happening in the background is actually Codex is reading the slides as I'm speaking. And then, you can sort of collaborate with Codex on long-running tasks. And you want to work overtime where you want to make it repeatable, sort of ensure consistency, and really build those loops. And finally, you want to bring Codex everywhere. If you want to embed it in your own product or in your own internal platforms, that's also possible. So let's just dive right in for the first two steps.

6:15

Cooking with Codex, where you give it your context, and you can just build things. So a few days ago, on Friday, Charlie and Christine and myself, we were thinking, Yikes, it's Friday. It's Friday night. We sent it at 4:44 PM. We don't have a demo idea for this workshop. Any suggestions? Then Christine suggested, hey, let's build a real-time translator. Charlie suggested, hey, let's use GPT real-time translate. It's one of our latest models. It's really good. And then we can even have a plugin. I've never built a macOS app. But with the plugin, all the best practices are there. So maybe you would copy-paste. You would Google or search what these things are.

7:02

Then you go to Codex. But I'm going to do something fun. So I'm going to take my two thumbs over here, my right thumb and my left thumb. I'm going to put it on the command key. I'm just going to press it. And then that's an app shot. All that context on Slack, all the conversation, that brainstorming, is just right there. And let's just ask Codex. Hey, can you just build this? Yeah, cooking show's over. Nah, I'm kidding. And we're going to let Codex cook on that. And what happens with an app shot is that when you take a screenshot, all the text is embedded as well.

7:32

And it's very nice, because that's where you draw personal context, the conversation, there's brainstorming.

7:37

You don't have to repeat yourself. You just give Codex and you just figure it out. So we're going to let that work on it for a bit. And we're going to try something else as well. So we have the Agents SDK. It's open source. It's pretty nice. And you've got some things that have come up in the recent months. So I was thinking, hey, maybe we could build a website to sort of just briefly describe what's new. And we're going to use this thing called Sites. So Sites is something that we launched earlier in June in preview for enterprise and business plans. It lets you sort of create a simple site. And it's really about just creating artifacts that you can share.

8:06

So here, we sort of worked with Codex for a bit. And let's just see what Codex cooked here. So I'm going to open it up. And it's all what's new with the Agents SDK. It's pretty nice. You have six changes, sandbox agents, Codex as a tool, tool search, real-time agents. We'll be talking about that in the next few days as well. It's open source. It's pretty nice. And you've got some things that have come up in the recent months. So, I was thinking, maybe we could build a website to briefly describe what's new. And we're going to use this thing called Sites. So, Sites is something that we launched earlier in June in preview for enterprise and business plans.

8:43

It lets you create a simple site. And it's really about just creating artifacts that you can share. So, here, we worked with Codex for a bit. And let's just see what Codex cooked here. So, I'm going to open it up. And it's all what's new with the Agents SDK. It's pretty nice. You have six changes, sandbox agents, Codex as a tool, tool search, real-time agents. We'll be talking about that in the next few days as well. And then you can see the code snippets are here. So, yes, it's pretty nice. With Sites, you can then create artifacts that you can share with your team. So, that's another example of bringing context. Because you have a code base.

9:05

It's a really large code base. There's Git commits. There's history to it. There's a lot of things that's context. And that's step one. And you're just going to give it to Codex to build it. And that's step two. You can just build things. So, let's give him that last example here. Maybe now that Charlie's out on the streets, taking a walk with his kids, his dog. And he's wondering, maybe you wanted to build something. So, I'll let Charlie take this stage here. CHARLIE KENGELER: Cool. So, what I want to show you is Codex Remote. Gabe mentioned we might be out in the world, right?

9:59

We might be on the beach. We might be camping, something.

10:11

But we still want to get work done. We still want to keep cooking.

10:19

So, Codex Remote is a feature that is now available in ChatGPT, a mobile app, and allows us to connect to a laptop or a remote server and issue commands that can be executed remotely. So, in this case, let's say we want to visualize something about this agent's SDK, right? For me personally, last weekend I was building a bunch of IKEA furniture. So, that's on the brain. Why don't we try to visualize how this repo works in the style of an IKEA manual? Can you create a visualization of this repository in the style of an IKEA instruction manual? I want to understand how all of the primitives fit together. So, this is going to send for my phone. And here we go.

10:49

So, you can use remote to keep working. You know, you leave your laptop on. Codex will keep the laptop open while it's cooking in the background. And it means that you can free yourself from having to be at the computer all the time or having to walk around with your laptop open all the time, which is 100% a thing that I've been doing lately. It's almost a regular occurrence every weekend. Everyone's leaving their laptop in the room at home and just walking out, touching grass. You know, still checking in. Hey, Codex, is everything okay? Is there anything I can do to help unblock you? And in a sense, everyone's become a manager. So, let's see.

11:14

Go back to the live translation. We'll see what's going on over here. All right. It's building. It did some web search. It's finding out what's going on. So, I think we covered very briefly another concept called plugins. So, just going to the slides. Go there. Here it is. So, plugins are a bundle that bundled together. Skills, which are best practices, external prompts, maybe practices that are custom to your team. Apps, which have the configuration and provide the connectivity to external services. And MCP servers, which provide the tools that are necessary. And wow, Codex already popped it up there. We'll just skip that in a bit. So, that's plugins.

12:25

And if you just take a look at some of the plugins we were using here. So, if you just go over to Codex app and just scroll right up here, there's this button called plugins. And you'll see a bunch of plugins. So, for example, what we were using was the built macOS plugin, which has a bunch of best practices in terms of the skills for how to use AppKit, how to use Liquid Glass, how to sign and inspect the built application. And we were also actually using the OpenAI developers plugin. So, it's 2026. We're not going to go to the developer platform and click Create API Key, save it somewhere, pray that you actually save it somewhere.

12:59

Now, with Codex and the plugin, it can just directly create the API key for you as necessary. And it really keeps things smooth. It doesn't really interrupt you in that flow. So, those are two plugins we were using. But there are other plugins that may be relevant, such as Gmail, Outlook. Maybe use Microsoft Teams, use Slack. And that provides all the relevant connectivity you need for your agent to work, to bring context into the kitchen. I think I would add to that, the Codex app comes with the skills to build your own plugins.

13:27

So, in giving the app context, a lot of times I will work through a difficult problem or a workflow that I'm not sure how to tell Codex how to do it. And when I get to the end of that conversation, I will often say, make this a skill or even better, make this a plugin so that next time I need to do this, you can just invoke the plugin and get the job done and we don't have to step through all of this work again. So, this is what Codex built in four minutes and two seconds. Let's see if it works. So, it's a live translation. So, let's maybe do German. I understand there's some German speakers in the room. And let's just make sure the audio is working as well.

13:50

And let's see what Codex can do. So, again, I've never built a Mac OS app. I'm a data scientist by training.

13:57

Not the best at working with WebRTC, WebSockets.

14:07

But with the Codex app and the plugins, I'm able to get that sort of best practices through that. So, let's just do that. Make sure the input, change to the phone, the output is here. All right, fingers crossed. This is a live app. It's built.

14:18

So, this is, we don't know how this is going to taste. And fingers, really, fingers crossed.

14:27

Oops. So, let's go ahead and see.

14:36

Let's go ahead and see. Hello, Dan. Hello.

14:43

Mic test. One, two, three. Okay. Let's change the audio. You know it's a real demo, a live demo, when you go to IT on stage. It's real. Mic test. One, two, three. Are you there?

15:18

Yeah. Thanks for the turn.

15:31

Hello, are you there? Hello, are you there? So, right now I'm at the AI-Ingenieur-Conference. And I'm winging this live. I really, it's actually not the most ideal setup. It's actually not the ideal setup. Yeah, because right now the speakers, my mic might actually pick up the speakers. How was that? All right. So, one thing is that context is not just about best practices or external information. There's a lot of context in our heads. Whenever you talk to Codex, there's a lot of things that Codex can learn about you. And that's when memory comes in, it's really useful. I think about it as bringing context over time.

16:22

So, it is off by default, but if you go to Codex app, you can turn it on. And let's say, for example, I use UV, and then Codex will learn that over time. I prefer using UV for Python package management. But memories and context isn't just textual. It's also about what we're doing, what's on screen, and so forth. And we have a research preview called Chronicle for pro subscribers, also worth checking out. And with that, you could literally, for example, be on GitLab, GitHub, looking at your pipeline, it failed. And you just ask Codex, why is this failing? And it sees, you were looking at your GitLab, your GitHub pipelines, and then it'll figure it out.

16:56

So, to set that up, it's quite straightforward. You can just go to the Codex app, you go into settings, and then it's called personalization. And you can enable it, so you can enable memories.

17:06

And let's say, for example, I use UV, and then Codex will learn that over time. I prefer using UV for Python package management. But memories and context isn't just textual. It's also about what we're doing, what's on screen, and so forth. And we have a research preview called Chronicle for pro subscribers, also worth checking out. And with that, you could literally, for example, be on the GitLab, GitHub, looking at your pipeline, it failed. And you just ask Codex, why is this failing? And it sees, ah, you were looking at your GitLab, your GitHub pipelines, and then it'll figure it out. So, to set that up, it's quite straightforward. You can just go to the Codex app, you go into settings, and then it's called personalization. And you can enable it, so you can enable memories. And given the safety feature, you can also skip generating memories in chats that involve tools. Because sometimes the tools might return information that you might not want persisted over time. So that's also worth considering. Right now, I'm using a business plan, so that isn't Chronicle. But if you're on a pro plan, you will see Chronicle as an option to enable here as well. And then there's this thing called custom instructions. So here, you can, it's like setting the agents.markdown in the home directory. It applies to all conversations. So, for example, I said here, always reply like a pirate. Then in the subsequent commentary, Codex would always reply like a pirate. A trivial example. So that's context. And to summarize, I'll let Charlie summarize our first two dishes of the day. So to recap, part one, right, we want to give Codex context. You need to know which ingredients you're actually using for your recipe. That includes bringing in external content via plugins, right? Me personally, I'm a pretty heavy user of Slack, Gmail, Linear. And then it makes it really easy to just say, hey, go look at my unread Slack messages for today and create a daily agenda for me to think about when I get into work. You want to be able to keep the flow when you're adding your own individual context for the tasks that you're working on. I love dictation. I think just being able to, as we've been demoing up here on stage, say, here's the context. Go do it. I think dictation to me is a really underutilized feature because we speak so much faster than we can type, right? And these days, we're beyond the era where you have to make sure every single word is correct when talking to a large language model. You can just give it reams and reams of your own rambling in transcription form. And it'll generally figure out the right thing to do, right? And you're able to actually talk through the idea and get to a better space by the time you send it to the model. Likewise, app shots I think are incredible and also very heavily underused. The ability to just, from any app, I think I don't copy and paste anything from Slack anymore. I just app shot my Slack window or I just app shot my browser and send it directly into Codex and tell it go figure it out, right? And, you know, 90 plus percent of the time, it can figure out the right thing to do. Last but not least, we've got personalization. I think, you know, AgentsMD, which hopefully folks know and love, and then memories as well in the Codex app via Chronicle. Worth noting, I think memories and Chronicle will use up a little bit more of your token budget, but it can be a really magical experience to have the app just kind of understand what it should be doing based on conversations you've had in the past. It really levels it up and makes it start to feel like a true collaborator. There's a ton more stuff, I think, both in context and personalization in the Codex app. Strongly recommend you go check it out. Pets is a universally beloved personalization feature, which we're not really going to showcase here today, but you would definitely go make your pet. Cool. And once you have all the ingredients, you're here to build and to really help you build and you want to distribute it, sites is a great thing. At OpenAI, we've been using sites extensively. I, for example, am using sites to summarize an event, like after an event like today's, I would ask, hey, Codex, can you summarize what happened today, create a site, and then we can share it with the team, the rest of the organization. I create a site to sort of plan an off site, and then Corey on the team created a site to help us plan, choose different locations, understand the trade-offs. So you can create artifacts to help you make decisions. Specific for code, you can even help with code review. So let's just give a quick example. With a live translate, what we had just built, you just do slash code review, and then you can review against uncommitted changes, and then, voila, you're firing off a code review task. It's a bit like having that sous chef double check everything. You know, you've seen the movies, right, before the chef sends out the dish, they always do a quick taste test. I think that's a bit like that. Image Gen, where you can create images. And let's see what the example Charlie kicked off, created. Oh, okay, it used SVG, but not too bad, not too bad. So then what you could also do is use the Image Gen skill and ask Codex to sort of cook it. So we'll come back to that in a bit, but let's try that, let's use this. And spreadsheets, document, and slides, we won't be talking much about it today, but you can sort of build these artifacts as well. And in the subsequent talks in the rest of the days, the AI engineers, Jason, for example, will be sharing more about how he's sort of building with Codex for sort of these deliverables. So those are the first two steps, context and building. But it doesn't stop there. So if you're sort of new to Codex, it's your first time, so you're still using coding agents. I think that's really helpful. But I'm pretty sure this is AI engineers' welfare. We're in a room full of power users. So for the next four steps, we hope we're going to share something that's practically useful for you. And the first one is computer use. So Codex can sort of take actions. Like, as you see right now in the browser, Codex is debugging something. I won't tell you what's happening. I will reveal the surprise at the end. But it's sort of working in the background, thinking about something. So let's give an example. So I used to work in a large organization before OpenAI, and not everything had an API. You had a lot of enterprise software that had legacy, different dashboards. You wanted to download data. So let's say, for example, we have this dashboard that somehow pulls data from the OpenAI Python GitHub repo. There's this nice date range picker. But imagine I had to get data for every month from the start of the year to today. I'll press Monday to Sunday, Monday to Sunday, Monday to Sunday, Monday to Sunday. It's a lot of buttons you have to press. Then, different data sets you could choose. So what if Codex could help me with that? And the answer is yes. So again, I'm going to take an app shot, my two thumbs, and just take it. Okay, let's just make sure we're in a new conversation. No one just asks. Hey, can you help me download the number of commits for the last seven days as a CSV, and the number of pull requests, the pull request data as a JSON from the start of the month to today? Yeah. Use computer use and go for it. So, again, it's two different dates. I'm asking it for the Monday to Sunday, all the last seven days, but also from the 1st of June to today, which is the 29th of June. And you would see, okay, Codex has correctly invoked the computer use skill. And very soon, it's going to start looking at the application. You see here that it looked at the application. And very soon, in the chain of thought summaries, you would see more of it. And very, very soon, again, my hands are not on the keyboard. And you can see this is my cursor. I'm just going to park it over here right next to Enterprise. You would see another cursor pop up. There it goes. And, yeah, there it is. It's moving. It's downloading it. Again, my hands are here. Charlie's hands are here. My phone is locked.

17:09

I'm asking it for the Monday to Sunday, all the last seven days, but also from the 1st of June to today, which is the 29th of June. And you would see, okay, Codex has correctly invoked the computer use skill. And very soon, it's going to start looking at the application.

17:21

You see here that it looked at the application. And very soon, in the chain of thought summaries, you would see more of it. And very, very soon, again, my hands are not on the keyboard. And you can see this is my cursor. I'm just going to park it over here right next to Enterprise. You would see another cursor pop up. There it goes. And, yeah, there it is. It's moving. It's downloading it. Again, my hands are here. Charlie's hands are here. My phone is locked. And Codex is downloading all this data by itself. It's a bit magical. It's pretty magical the first time you see it. And that's, we're going to let Codex work in the background.

18:36

And that's the beauty of computer use of Codex. You don't have to wrestle with the agent for control of your screen. You can let it work in the background. I think it's also worth pointing out that on macOS, it doesn't steal your cursor, right? Gabe's still opening the app. He can still use a different tab. I can go scroll on Twitter or something. Yeah. And so you can still drive your computer while things are just happening, you know, in the apps that Codex needs access to. So we're going to let that work. But sometimes not everything is a native application. And sometimes, you know, maybe using Google Drive, you're creating a feedback form for today's workshop.

19:45

You know, feedback forms are, I personally find it very cumbersome to create a feedback form. You need to create a question. You need to fill in the different options. And I always forget to mark it as mandatory, even though I want it to be mandatory. And you press so many buttons when creating these feedback forms. So I already have the questions drafted here. And let's see if Codex can help me with that. So I just create a new track. So, again, app shop. It's quite addictive, I must say, the user interface. And I would just say, hey, can you create this feedback form for me using the questions in the Google Docs? Remember to mark each question as mandatory.

20:44

And just to give Codex a bit of a hint, just to make things for exposition purposes, what we're using here is the Chrome extension, which is slightly similar to computer use. So this is computer use.

20:55

But here, it's directly controlling a specific application, which is Chrome. So we're going to fire that off. And we're going to see very soon another cursor come up. So let's put these two side by side over here. And you would see Codex thinking about the task. It realizes, hey, I have the form questions already. Then it still needs to drive the live tab to actually create it. And again, like what we saw earlier, it's going to start pressing buttons. So let's just wait for a bit to see the first button get pressed. And then we'll swap back to the slides in a bit. So, ah, there it is. You see it again. My cursor is here. And then you see the blue ones here.

21:42

So you can continue to do different tasks. Let's say maybe I'm interested to learn something about the Codex repo. We were talking about memories. So I can just ask, hey, can I configure the model that's used for memories in Codex? And what's the config term I need to change? So you see, while you're continuing to do other tasks, Codex in the background is doing the button pressing for you. And we'll fire that off. So that's computer use. And there are different flavors of it. You know, how maybe your favorite dishes come in different flavors. And I'll let Charlie just really give a nice summary of where the different flavors are.

22:19

At this point, there's, as Gabe mentioned, a few different ways that Codex can start controlling the applications that you're using. And it's important to understand when you should reach for each one. The three that we currently have today are computer use, which you saw, the Chrome extension, which you also saw, and the in-app browser, which I think we did not demo. The in-app browser, why don't I start there, is a feature where in the Codex app, it has the ability to open a browser tab on the side, just like you would in a normal desktop coding editor these days.

22:28

But in addition to just opening and rendering web pages, Codex has really deep hooks into that browser engine, deeper than it has at the Chrome extension. And so as a result, I think the in-app browser is really great for when you're building local web applications and you want to do a lot of deep testing on the interaction design, on how it's rendering, because Codex can see much further into the layout at that point.

22:34

But going back to the two that we talked about today, we have computer use, right, which is great for anything on your laptop or your computer, but it really shines when you have applications that otherwise don't have a programmatic interface to them, right? It's great if it's a web app and you can reverse engineer the API calls, but there's a lot of desktop software out there, there's a lot of legacy software out there, which doesn't easily expose that kind of interface to an agent. And so if you just need Codex to drive the app in the same way that you, a human being, would, computer use is really incredible.

22:48

And it's unlike anything else that I've tried, to this day, it's still just so magical to watch those little cursors fly around. Then there's the Chrome extension, which is your sign-in browser. And I think that is the most useful for when you need to hand off state or authorization to the agent. So I think we've all probably run into the issue where we want to build an agent to go and use the world wide web the exact same way that we do. And the first thing that it immediately runs into is like, oops, I can't log into your Gmail account. And worse than that, Google has detected I'm on a headless Chromium and it's just sending me this infinite captcha loop, right?

23:05

And so the Chrome extension allows Codex, with your permission, to go and read from certain websites as you and borrow your credentials so that you don't have to worry about the authentication step as you're building. Cool. So that's Codex take action. And then next we're going to move on to collaborating on complex tasks. So this one's a really fun one. I think people have really talked about how Codex is really good at complex reflectors, long-running tasks. And in the next 15 to 20 minutes, I want to share some tips on how you can work best with Codex on these complex tasks.

23:26

So it's going to be hard to kick off a 20-hour long-running task and we're all just going to sit here, enjoy lunch, dinner, and breakfast. So I started off some tasks the night before and they're four different tasks, each covering a slightly different flavor. So this one is still running for 15 hours. It's running on my remote instance. You can see at the bottom. Over here. I'm running a goal. It's been running for 15 hours, 30 minutes, and 55 seconds. So I've got to scroll, scroll, scroll, and here I am right at the top. So it's a bit of a green field project. I want to build a live Q&A site. It's going to be in a room for 400 people. There's an admin view.

23:46

There's a participant view. There is a onstage view. And then like I describe, maybe the admin can do AI-generated text. There's moderation features. On the stage view, there's a 16 by 9. Run every application through our moderation API. Make the experience feel like something OpenAI will launch. So on and so forth. Here I'm being particularly clear in the prompt for exposition purposes. You could just ramble to Codex as well and it'll get the job done. But here just for exposition purposes. I know people are excited to take photos. This is an example of how you're being clear. I think one misconception these days is people always ask, does prompt engineering matter?

24:23

In so far as the instructions are clear, it still matters. I can't read your mind. Codex can't read your mind. So you just need to tell Codex very clearly what you want. But it's prompt engineering where you see it.

24:36

And then I describe, maybe the admin can do AI-generated text. There's moderation features. On the stage view, there's a 16 by 9. Run every application through our moderation API. Make the experience feel like something OpenAI will launch. So on and so forth. Here I'm being particularly prosaic in the prompt for exposition purposes. You could just ramble to Codex as well and it'll get the job done. But here just for exposition purposes. I know people are excited to take photos. This is an example of how you're being clear. I think one misconception these days is people always ask, does prompt engineering matter? In so far as the instructions are clear, it still matters. I can't read your mind. Codex can't read your mind. So you just need to tell Codex very clearly what you want. But it's prompt engineering where you see it. Oh, I got to use this magic phrase. I don't think we're in that state anymore. Reasoning models are really intelligent. And the real thing is about context. So it actually goes back to our first step, giving context clearly. So how I wrote this prompt was I was just talking to Codex. I was yapping to it on the phone. I just, hey, Codex, can you polish this prompt so I can show it on stage? So yeah, it's building this thing. And I'm using a few different things like Convex. There's a plug-in for Convex that helps to do real-time interactions. We're going to deploy in Vercel. And of course the OpenAI plug-in. And all right, the feedback form is done. So that very nicely came up. And yeah, that's one example. So it's a greenfield project. But not everything is going to start from scratch. So here's another example that ran for five hours and 57 seconds. So here there's an open source repo for a form builder. And I wondered, hey, could I repurpose this and build it internally in sites? So maybe you don't want to buy SaaS. It's a small team of seven. You want to just have an internal form builder. You want to use the ChatGPT authentication that comes with these sites to ensure that only people within your team use it. And then you've got to let Codex build it. And I will show you an example of what that looks like later. Then the last example of a long-running task that was running, this one ran for seven hours, one minute and 40 seconds. So it's research papers from my graduate school days. It was written in Julia and I think R and I was like, hey, can I write a Python package with a Rust backend? And then I told Codex again, I gave some constraints. I don't want to use dynamic programming. You've got to use some heuristics. And then Codex read the papers and did it. So those are the three long-running tasks. And I want to give some examples and some of the best practices that come with it. So in one of these, for example, what I told Codex was this over here. You can define a goal. So there is actually a skill in the OpenAI skills repo called define goal. And I told Codex, hey, don't create one goal. Create a series of goals and put it in a goals.markdown file. Again, it's just arbitrary, but it's a collection of files that you sort of see and you can inspect it. And then create a dashboard, progress-dashboard.html, so you can go back to it and see what's going on. Because in this seven hours, you don't really know what's going on. You want to have some way to see what's happening. And rather than having this one thread do all the work, it's actually spawning new threads. So if we go to the... See, I pinned the project. But if we go to the thread, if we go to the project, you will see it's spun many other threads. So for example, at different milestones, it ran code review, and then it also ran a goal audit. So it's seeing like, hey, are you on track? There's this initial thing you talked about, goals.markdown. Are you deviating from it? If it is, then it will nudge back the main thread. Hey, remember this. Or do we need to rethink the plan? And so forth. So it ran at different times. That's why there's different milestones, M2, M3A, and so forth. That's another example here with the live Q&A site. This is still running. So this is running on a remote session. So it's my GAPC remote. And I wanted to do testing. So what I told Codex is that, hey, you can spawn a local thread on my machine and use the Chrome extension to then inspect it. So you would see, for example, this is a thread that came. And you would see it says here, send by Codex from another thread. So the remote thread could communicate with the local thread. And it says, hey, you've got to do click ops. You've got to do browser. You've got to do QA testing. Then the local thread did all the QA testing. Then it sent the results back to the remote thread. So that's another thing that's worth thinking about for these long-running tasks. And let's see what else you can call out here in the long-running tasks. Ah, communication. So one other way of thinking about this is that maybe you could just ask Codex to send you Slack messages. So here I have a few demos. So I was building a live Q&A site. And without having to set up additional infrastructure, you can just use the Slack plugin and just say, hey, reply to this thread and give me a summary of what's done, what's not yet done, and are there any blockers? Because sometimes there are blockers. Maybe there's an authentication issue. There's an API key that you need to give to Codex and so forth. So I asked Codex to speak to me. And over the weekend, on Sunday, while I was out with my friends, I was just regularly checking, is there anything I could help unblock Codex for these different tasks? Let's just give some screenshots of what that process looked like. Let's just take a look at it. So another nice feature with Codex is that while you have the main thread, so right here you see in the screenshot, on the left is the main thread. On the right, you can start a site thread. So you literally see here and say, let's focus on signing in with ChatGPT first. I want to sleep soon. I assume you need me to do that. Because I know, I think Codex needs probably some help with that because I'm building a new instance on the app server, a new user interface, so it needs to get some credentials. So it needs to know where my credentials are. And it says, okay, actually the credentials are already here. So it says, okay, update the main thread. So you can use the site thread to update the main thread. So let's do an example of that live as well. So here, this one is still running. You could just do slash site, and it creates a site thread. And you can just ask Codex, what's going on? So maybe we just ask, it takes a while, this I think you didn't network, but let's say, hey, what's going on? Can you list what you've done so far, maybe in the last hour? What do you plan to do next? Is there anything I can do to unblock you? And then from this, when you get the agent tells you what's going to do next, you can also get a sense of what, maybe it's on the wrong track. Then you can sort of tell Codex, hey, maybe you don't want to do that. We should do this instead. Then the site thread can communicate with the main thread. So that's a pretty nice feature. It's worth noting with side threads, those are ephemeral. So if there is any context that you want to keep long-term in your project, make sure you're communicating that back to the main thread, because they will get stale after a while.

24:38

Here's another example where what we were doing earlier was a site thread talking to the main thread. This example is where two different main threads are talking to each other. Specifically, on the right, the left side, we have Codex saying, test spawning a local thread in the local form builder project. If it succeeds, make that the default location for all future local threads, especially for Chrome or end-to-end testing. So again, on the, what's happening here is that it's running on the remote service, but so it doesn't have access to my Chrome browser. Then it sends a message to the local host, and it can then, from there, see, Chrome appears to be installed, and then from there it can do the testing with Chrome. So there you can get the remote session to work with the local session.

24:42

make sure you're communicating that back to the main thread, because they will get stale after a while. Here's another example where what we were doing earlier was a site thread talking to the main thread. This example is where two different main threads are talking to each other. Specifically, on the right, the left side, we have Codex saying, test spawning a local thread in the local form builder project. If it succeeds, make that the default location for all local, future local threads, especially for Chrome or end-to-end testing.

24:52

So again, on the, what's happening here is that it's running on the remote service, but so it doesn't have access to my Chrome browser. Then it sends a message to the local host, and it can then, from there, see, Chrome appears to be installed, and then from there it can do the testing with Chrome. So there you can get the remote session to work with the local session. And this was the test that it did.

24:58

So while it's working in the cloud, locally on my laptop, at 3 a.m. while sleeping, Codex opened Chrome, it went through the form building flow, and it created a form end-to-end. Sub-agents are also a particularly helpful thing in these long-running tasks because you want to make sure context is well separated, agents focus on different tasks. And here's one nice example. So it was building an application, and I just took a peek at it. And I just, not necessarily best practice, I just sent it to the main thread saying, not very good. Yeah.

25:14

And then Codex said, yeah, agreed. That's technically cleaner, but it's still a bad chat interface. And you notice here what it did was that it messaged the sub-agent. So the sub-agent was already pre-respond, but then the main agent messaged the sub-agent. And you would see this is the message over here. So for example, it says this. So it sent it and says, update your verification task with this new user screenshot and directive. So there you have this inter-agent communication.

25:20

So this is what it did thereafter. So it did its own test. Because I sent a screenshot with the messages flushed to the bottom. I didn't want that. So then Codex did its own test. And it says, send retro-dex visible okay in one short sentence. And it sent it.

25:23

So Codex itself did its own QA testing to verify my feedback. And this is an example for the live QA where the main thread was spawning different other site threads. For example, the audit of the goal, the code review, but also doing the communication back to Slack. So this thread over here where it says, provide Slack thread URL, that's over here where I was providing all these updates. So a separate session was managing that.

25:26

We earlier talked about goal. And here is a dashboard that Codex created for the goal. So you would see it has all the different milestones, what's been completed, what's active, what's yet to be started. And then the dashboard also gave me a sense of what the different threads are doing. Like, oh, this thread is the main orchestrator. There's a communication thread. There's one thread doing visual UX. There's one doing managing the app server protocol and so forth. And even creates it into more conceptual work streams. Like one work stream on off, one work stream on testing, one work stream on UI polish.

25:29

But throughout the night sometimes Codex does get blocked. So then with the example of Convex and Vercel, it said, oh, I marked it as block because the critical path, it didn't have the authentication, didn't have the identity to access these external services. But it still did everything it could up to that point. So it said it was blocked. So it will come up in the UI. And then I just selected it. And I say add to site chat. And it says, can you please explain what's going on? Because I just woke up. I didn't have context of what's going on. But Codex was telling me it was blocked. So I'm trying to get Codex to catch me up to speed.

25:33

So here it's saying, explain step by step what I can do to unblock you here. So it gave me different options, how I can give the Vercel details, the convex details. And then I sort of did it. So here I selected it and say do that. So then the site thread told the main thread to create the CLI login flow. And I would just click it over here. And I would be able to authenticate and give Codex, which again is running on the remote instance, access and the right permissions to manage my Vercel project. And in the case of Convex, there's a deployment key. So I was, hey, I'm not going to paste that into the chat. So I asked Codex, give me a secure way to do it. Then it gave me this bash code that I could just paste in. And I could then set the key into the remote environment. So that was a way where I could collaborate with Codex in a remote instance, do different testing, managing permissions and so forth.

25:36

So let's see what they actually built from this entire process.

25:39

So let's look at a site builder, site one. So this is it, the internal form builder. So to recap again, there's an existing repo of a form builder, but I want to customize it for my internal team. We're maybe five of us. I don't want to spend money on SaaS. So we can build our own form builder. So it creates a new draft. You could call it AI engineers workshop. Hello. And then just say, yeah, I should ask the Chrome extension to do this, but for exposition purposes. Okay. And you can preview the form and then you can sort of share it thereafter. You can copy, publish the link. Then there'll be a shareable link. You open the link and then someone else in your team can fill it in. And again, because this is hosted on sites, only people that have access to your ChatGPT workspace can then access this form. So that's really nice. Yeah. Then you can see all the responses and so forth.

25:40

So this is again what we did. So to summarize on the complex tasks, we had three different projects. One was a machine learning one where I wanted to reimplement a package with a Rust backend. One was to take an existing, to build from scratch, a green field project, a live Q&A site. And the third was to take an existing open source project and customize it for my needs. And Codex was able to get it done in those cases. So underlying this are a few concepts and primitives here. Let's go back to the slides.

25:42

So the first thing is compaction. You saw how Codex worked for seven hours. It worked for five hours. It worked for, right now I think the other one is like 12 hours. And many times it's compacting its context window. This is not a new technology. In November 19, when we released GPT 5.1 Codex Max, yes, the name was GPT 5.1 Codex Max, we natively trained the model on multiple context windows through a process called compaction. And that's what lets Codex be really good at it.

25:43

Some examples of what people have said about compaction. To quote, did OpenAI basically solve compaction? I pretty much never had issue with 5.5 and Codex across ultra-long threads, spanning many compactions. This individual from Japan said, in fact, Codex has strong compaction. So even if you make a lot in the same thread, it's less likely to forget. And in that sense, because it only remembers the good stuff, there's some token efficiency to that, I suppose. And as always, people think it's pretty good at it. I'll let Charlie share a bit more about specific primitives and concepts that enable this, such as Goal. Thanks, Gabe.

25:50

So as you saw, we have a Goal that's already been running for 15 hours. And I think, you know, Goal is one of these primitives that is incredibly powerful if you can use it in the right way. One of the biggest things that I tell people who are just trying it out for the first time is, be really specific with the criteria that you're giving the model to know when it's done. And specifically, you want that criteria to be as verifiable as possible.

25:57

Sometimes I do feel a little bit like Goal is kind of like a genie in the sense that when it works well, it is insanely magical. And when it doesn't, sometimes I feel like I've entered into a monkey's paw type situation where, you know, it has done the thing technically that I asked it to do, but very much not in the way that I was expecting. So when you give it a task, it'll run off, it'll keep evaluating itself against the success criteria, against the verifiable criteria that you've given it. And at each turn, it'll check, hey, did this actually complete? And if not, should I keep going, right? There are quite a lot of use cases for very large projects in this way.

26:07

Be really specific with the criteria that you're giving the model to know when it's done. And specifically, you want that criteria to be as verifiable as possible. Sometimes I do feel a little bit like Goal is a genie in the sense that when it works well, it is insanely magical. And when it doesn't, sometimes I feel like I've entered into a monkey's paw type situation where it has done the thing technically that I asked it to do, but very much not in the way that I was expecting. So when you give it a task, it'll run off, it'll keep evaluating itself against the success criteria, against the verifiable criteria that you've given it. And at each turn, it'll check: did this actually complete? And if not, should I keep going, right?

26:08

There are quite a lot of use cases for very large projects in this way. Thomas used slash goal that was running for 40 hours that did a reimplementation of Doom in native Swift code, if that's the type of thing that you want to give a shot. But also things like code migrations, large refactors, retrying loops, experiments, and games or full one-shotting apps with fairly detailed specs. I think Goal is pretty incredible.

26:09

We've also got sub-agents, which we saw a little bit of a preview of here, right? Sub-agents in Codex, by default will get used out of the box. You can tell the model: hey, think about delegating to sub-agents here. But you can also customize them. So if you know you have a sub-agent that should be your code reviewer, right, you can have a specific prompt set of developer instructions here. If you know you want that code reviewer to just be focused on being a lightweight model so that it runs quickly, or if you want it to be a much more intelligent model so that it's very thorough, you can customize that in its own sub-agents.toml file. And you can give these names and you can say: oh, go check with the code reviewer, go check with the docs researcher in order to implement, right?

26:12

Sub-agents can work in tandem with thread-to-thread handoff in Codex. Thread-to-thread is quite new. I think we just released it in the last week or two weeks, yeah. And that's an even higher level of abstraction. And the way that I think about balancing them is when the delegation of work needs to be visible to you, the user, versus when it just needs to be visible to the model. So sub-agents we started with because that is when the work primarily needs to be visible to the model. If you want to delegate some subcontractor work, I don't really care what they're talking about. I just want to make sure that the work comes back good. Sub-agents are a great fit and the model is great at figuring out when it should be handing off into sub-agents. It also keeps the context separate. Unlike a lot of other tools that we've brought to Codex to help keep context windows efficient, sub-agents are one where you're keeping the context separate and the models are communicating with each other.

26:15

Thread-to-thread handoff is useful for when you still want to be in the loop and you still want to be able to look at everything that's happening. And perhaps even larger than that, you are mentally thinking about separating these two threads, right? So one example is over the weekend I was working on a game and I had a creative director thread. I could have used a sub-agent and that would have worked fine, but I wanted to see all of the different things that were happening and I didn't want it to just be delegated into the ether via sub-agents. So with the creative director thread, I opened up different threads: one to work on the art direction, one to work on the music, one to polish the animations, one to figure out the game mechanics. And I was using those and I told them in the agents.md file: when you're done, go and check with the creative director thread, which I had given a bunch of extra context on, the look and feel I wanted for the game. Go check with the creative director and get sign-off before you consider this task done, right? And they all did so and it was actually really interesting to watch the threads just constantly sending messages to each other back and forth as they worked on the game.

26:24

We didn't quite show it here, but we also have hooks in the Codex app. If you want to set up your own hooks, you can do so in your config.toml file in your Codex home directory. These are really great for when you want to start introducing deterministic behavior at specific checkpoints in your software development lifecycle or in your general development lifecycle. So you might use hooks to do things like send your conversation to a logging engine, right? You might want to scan inputs or outputs. I think there's quite a lot of security use cases for hooks, right? Before Codex takes a specific action, maybe you want to look at the prompts and figure out: have we accidentally pasted an API key that's going to go somewhere, or before it takes an action to call a tool? Is this tool on our approved whitelist or something that we need to be extra sensitive about when calling the tool to evaluate if it's safe to use? And we can also do custom validation checks as well when the turn stops. These days, you can tell the agents MD: hey, go and use the linter before you consider the work done to check your work. And it's really good about doing that. But if there are things that are a little bit more sophisticated or a little bit more complex that you want to do to validate the output, you can use hooks to take care of that as well.

26:24

I find that when building more and more complex projects, some of the most important things are figuring out the verification criteria or the success criteria. You want to give the model as many boundaries as you can and let it fill in the lines in accordance with the boundaries that you've given it.

26:29

Cool. And that brings us to working over time. Thanks, Charlie. So just to quickly share on hooks, this slipped my mind as well. So we have the OpenAI Agents SDK. And that's actually a quick example of hooks right over there. So if you go to settings, all the hooks are there. And you would see the hook for the agent's SDK repo. And here it's doing at every end of its turn a Python script to just tidy the repo. So again, there are some of these housekeeping that maybe you don't want a language model to do. You can run it deterministically with a hook. And hooks can become particularly useful with long-running tasks. Because there is that trade-off. You're giving the agent more autonomy. It's going to work longer and longer without your supervision or abstracted supervision. And to that end, hooks become useful in getting the guardrail.

26:33

So on working over time, what we're trying to show here is that now we're collaborating with Codex. We have some of the power user tools, like computer use. How can we stitch this all together and let Codex work on its own? I mean, for exposition purpose, here we are prompting and being more methodical. But in reality, you can just let Codex work on it, with thread handoffs. In practice, I could have all my demos in one thread and just ask that thread to separate it and delegate it to the various threads.

26:41

So here's one quick example of automation. Right now, you notice on my screen over here, there are these blue orbs. So this is just showing that it's a remote host. And maybe you want to create one. So we have a nice plug-in here with the DigitalOcean plug-in, which we just released last week. And then you saw do it. You can just try and chat. I'm just going to fire it off as well. And what it's going to do is provision this infrastructure. It's going to take some time. And I'm not going to stand here and look for it to provision this infrastructure. And Codex is not going to just keep waiting. What it's going to do is create a heartbeat automation. So it's going to monitor and so forth. So this is yes. And let's just show, in the spirit of this being a cooking show, an example that was already done. So here: provision a DigitalOcean droplet. Okay, yes. And then it created the automation here. I set a Codex heartbeat to resume this track in about five minutes. So it's going to keep checking every five minutes: Is it ready? Is it ready? Is it ready? Is it ready? And once it's ready, it will take the next step. So in this case, it did it. So, okay, the droplet's ready.

26:52

And what it's going to do is it's going to provision this infrastructure. It's going to take some time. And I'm not going to stand here and look for it to provision this infrastructure. And codecs is not going to just keep waiting. What it's going to do is create a heartbeat automation. So it's going to monitor and so forth. So this is yes. And let's just show, in the spirit of this being a cooking show, an example that was already done. So here, provision a DigitalOcean droplet. Okay, yes. And then it created the automation here. I set a codecs heartbeat to resume this track in about five minutes. So it's going to keep checking every five minutes. Is it ready? Is it ready? Is it ready? Is it ready? And once it's ready, it will take the next step. So in this case, it did it. So, okay, the droplet's ready. And it even gave a nice link. So if you click this link, it's a deep link. It's a link, a deep link to the settings page within the codecs app, which automatically sets up the SSH instance for you. So you just need to press it, and then it'll pre-configure everything. It knows where it will create the SSH key for you if necessary, and so forth. So that's nice. And you can extend this to other parts of, say, the software development lifecycle. Maybe you're building something. You need to deploy. You have a pipeline that triggers event-based, and it takes time. So you get a codec to run every five minutes, every 10 minutes, check, is it ready? Is it ready? Is it ready? And maybe depending on the event, then it spawns different tasks, and so forth. So that's a heartbeat automation. It runs within the thread. But we can also do automations that spawn new threads. So one example of this. So right now, I have actually this Slack channel. So let's see if it's up. So remember the Mac OS translation app? So in the last, say, 45 minutes, we had a bunch of users, all called Gabriel Trois, and they've been using it, and they've been giving a lot of feedback on the translation app. For example, oh, the screen feels focused. I can tell where to start, so it's positive. Is there a way to do a quick sound check before the audience sees caption? So there's a lot of feedback. So the Slack people are giving feedback, and I want to give this feedback the attention it deserves. So I'm going to create an automation to do that. So just make sure we are in the... I'm just going to close this, since we don't need it already. Over here, we create a new thread. And then I'm just going to do an app shot. Every half an hour, can you just look at the comments and suggestions in this channel and reply to them? I think there'll be a few categories. There's one category where it's compliments. There's one category where it's a bug report. There's one category where it's a feature request, so forth. Let me just buy that off. So it's going to create an automation. And I just sent it, but I realized, oh, wait. If it's a feature request or a bug fix, I want to do something different. So I'm going to steer this. Oh, if it's a bug fix or feature request, can you also then spin a new thread in a work tree and actually address that and then open a PR and then request Dom to review it and then so forth, and ask Dom to approve it within 24 hours. If not, just keep reminding him. So yes, it's a comical example, but here it's where I'm trying. What I was first doing was steering. So I don't have to wait for codecs to finish. I can steer it midway. And what I'm trying to do is, in addition to all this feedback and classifying it, if it's a bug report, if it's something that we can fix, codecs would then spawn a thread. So we're putting all these primitives together. The automation, the plug-in, which can read Slack, the fact that one codecs thread can communicate with other codecs threads, and even create work tree threads and so forth. So imagine then you wake up, and this is a bit like that software factory where all the PRs are ready, then you can even add additional layers to it where it's review, you build a test version, you send it to someone, they test it, and then they give the thumbs up, then it's good to go. That feedback gets fed back to the PR, and the PR reviewer sees all this holistically. So yes, there's a lot of it you can chain together to build that automation. So done. And then, every half an hour, it would do this, and it will find DOM as well in the channel. So we were talking earlier about how we've actually been running an automation in the background, and let's find that. So let's see. Here it is. So earlier, while everyone was coming into the room, I was asking codecs, can you run an automation every five minutes, taking a screenshot of what's happening on screen, the Google Drive presentation, we only have 60 minutes, asking codecs to estimate to what extent are we going to overrun. So right now, it's at checkpoint 13, it's seeing if the demo is there, it's flashing 10, 12, and so forth. So codecs is doing its own assessment of to what extent are we going to finish on time. It's a bit of a meta example of how you can use automations and chain it together with other tools, like in this case, the Chrome extension. It looks like it's telling us we might be a little bit behind the ball here.

27:02

It is what it is.

27:12

So automations have been really useful in my personal life to an extent, really getting a lot of things done. Some automations that may be useful, two. One automation you can run, maybe every Friday, you ask codecs to look at all your conversation threads and see are there skills that you could improve, are there things you could add to the agents that are marked down, or are there skills you could just remove, maybe skills that you haven't been using. A second automation or approach that may be useful, maybe you're using automations to draft email replies. You can have one automation that drafts the email reply, but you can run a second automation that sorts of cross-validates against the eventual reply you sent, because that is the ground truth. Then it updates a marked down file with the best practices, tips, and so forth. And in that regard, the email drafting automation can get better over time. So I'll let Charlie just recap what automations are and share a bit more about the app server as well, our final step.

27:17

Cool.

27:26

So I think, yes, automations, there's two types of automations, right? I think the more powerful one these days tends to be the in-app or in-thread heartbeat automations, and so those just live in a single thread, they run on a timer, they keep going over and over until they're done. These, I find, have almost unlimited use cases. Gabe shared some of his. I think me personally, I feel like I'm drowning in Slack and email and linear notifications every day. So I have an automation that just goes through and checks the latest updates from all the sources that might need my attention. I have a local Obsidian vault, and so it's just constantly updating my daily notes. It's constantly updating my notes on different work streams, and it's keeping a lot of context there. And that way I can just pull from that later if I say, hey, what's going on with the latest AI engineer world's fair talk? Like, how far are we on the demos? How far are we on the notes? And then I can just codex and just quickly tell me, hey, here's what's happened since the last time you checked in. But automations can also live in a new thread. If you set them up in the Codex app under Scheduled, the Scheduled page, you can have them spin out in their own thread as well. And then that's useful if you just want to say, look, every week I want you to do a recap of what all of my direct reports have been doing, or I want you to look at all of the analytics from this system, and then we're just going to do a one-time look together, and then I'm going to archive the thread and not worry about it again. I think last but not least, we've got embedding codecs anywhere. And so I think for this one, I want to talk a little bit about the app server protocol, right, which is the core protocol that underpins the Codex app, the Codex CLI, the Codex VS Code extension. The app server is basically what allows all of these services to talk with the main Codex harness, right? And it's integrating all of the tool calls and the plug-ins and the context compaction that you know and love. We have built a lot of the components of the Codex ecosystem to be open source because we really want to encourage developers.

27:32

have been doing, or I want you to look at all of the analytics from this system, and then we're just going to do a one-time look together, and then I'm going to archive the thread and not worry about it again. I think last but not least, we've got embedding codecs anywhere. And so I think for this one, I want to talk a little bit about the app server protocol, right, which is the core protocol that underpins the Codex app, the Codex CLI, the Codex VS Code extension. The app server is what allows all of these services to talk with the main Codex harness, right? And it's integrating all of the tool calls and the plug-ins and the context compaction that you know and love.

27:44

We have built a lot of the components of the Codex ecosystem to be open source because we really want to encourage developers to build wherever you are and for whatever use case that you have. And so to that extent, if you're not aware, you can embed Codex into your product using app server. I think this brings a lot of the power of Codex directly to you, and it brings the ability for your users to use their ChatGPT subscription and perhaps more importantly, use their ChatGPT token budget to power the products that you're building.

27:50

And as I said, it has all the same underlying features that we've been demoing—compaction, steering. The ones that need to live on your computer, like computer use, are not going to be there. But for everything that exists in the core agent harness, we've got that in the app server.

27:57

So as a quick demo of that, there was a fourth long-running task that I kicked off last night. It was actually to build my own user interface for Codex, the app server, called Retrodex. So it's been working for a while. There are different tasks. I worked with it. And this is the work in progress. Retrodex is using the app server. Let's zoom in and optimize it for the stage. But yeah, you can choose the model—5.5, 5.4 mini—the reasoning effort. So I told it, oh, make it a bit funky when you change the reasoning effort. So at low, it's a small glitter. At medium, the color changes. When it's high and extra high, it's more.

28:01

So then you could simply say, hello. And let's see, this is in Retrodex. And I'm just going to send hello. And I allow access. It's going to run. And it's going to reply back: hello.

28:07

And what's nice, and to just prove that it's all running on the same app server, is that if we go to the Codex app in the same project, Retrodex, you should see that here. Let's see. Yeah, it should. We could change the threads, I believe. But yeah, that's an example of how you can build. It's a trivial example of building a funky user interface. But let's say you want to build agents on the cloud. You want to manage different agent providers. You're considering in a large organization, you have different providers you're using. And you want to build a unified layer. The app server is a useful way for you to integrate it into your own platforms.

28:14

And because it's open source, if you go to git clone openAI slash codex, you can just ask Codex about Codex. You could just say, hey, can you tell me more about the Codex app server? And then you can fire it off, and you can start building your own applications or integrations from there immediately.

28:18

So that's the app server. And we have a nice blog post talking about it, and there have been more engineering blog posts about a Windows sandbox, first of its kind, how we built the agent loop, amazing stuff. And it's a good reference point also. If you're an AI engineer, seeing the Codex repo, it's a great source. And we'll have further talks in the subsequent days about this. So I'll let Charlie share some closing thoughts after seeing this entire cooking show. Thanks, Gabe. And thanks everybody again for being here. I think hopefully you've learned a bit today about how you can use Codex to level up your workflows.

28:31

Some of the closing thoughts that I want to end on here are questions that I repeatedly ask myself as I'm trying to get to the frontier of what Codex can do, right? They start pretty simple—just by asking, have I tried asking Codex to do it, right? I think one of the things around the office that we say more frequently than ever now is, have you asked Codex? But I think as you evolve that workflow, right, you want to go from just asking in individual turns to building loops, right? We've all heard about loop maxing. That is the new thing. And I think we want to think about how that works, right? What is it that the loop needs to be checking at each turn, right?

28:37

As you go down this path, there's going to be additional questions—okay, as it's progressing, how, what blocked Codex from actually getting to the answer, right? Was there context that it needed? Were there permissions that it needed? Are there ways to build that context into repeatable tools like skills or plugins that Codex can use the next time it runs into this problem?

28:39

How do I start scaling from one agent to many, right? As you think about the work, are there ways that you can be prompting Codex to implicitly delegate the structure of the things that you are building or to start orchestrating across multiple threads to have different Codex instances communicating with each other?

28:40

And then ultimately, if you take a step back and ask the question, okay, why does this process need a human at all, right? I think as we've shown, one thing that you might assume when building with Codex or when building with the OpenAI API is that a human needs to be involved to go to the platform page and get an API key and then paste it into the environment, right? I think as we've shown with the developer's plugin, that is not the case anymore. The plugin itself can just go fetch the API key and set it up locally for you.

28:45

And ultimately, we do still want humans in the loop, where they need to be, but for everything that's not that, how do we figure out how to take the human out of the process to unblock ourselves? And how do we figure out how to build the machine that builds the machine, right? I think it is one thing to sit with a coding agent and build a single piece of software. It is another thing to start zooming out and say, actually, I want to build a software factory, right? I want to build a system that then builds individual pieces of software on an assembly line as we go.

28:47

And so a lot of these things are how I start to get from just an individual ask to something significantly bigger. Cool. And I think with that, we are...a recap. Yeah, yeah. Go ahead.

29:03

So thanks so much for joining us today on a 9 a.m. on a Monday. I hope it's a great way to kick off your AI engineer welfare. And that's not it. So tomorrow we have our opening keynote. It's going to be fun. Do check it out. We also have Jason on the developer experience team giving a talk about how he gets the most out of Codex. It's a nice foil to today's presentation about how he's using it on a day-to-day basis. And then he has a workshop after that where he goes through step-by-step like setting up the plug-ins, doing app shots, and so forth.

29:10

So today's session is more a whirlwind tour. This workshop will go through the step-by-steps of how to set yourself up for success with Codex. We then have a session from the harness, about the harness, and then sessions about voice agents. Charlie will be talking about that as well. Dom will be doing a session on building on the Codex harness, and then another session explaining behind the Codex harness. So the first one is you build on top of it, and the second one is to explain the harness. Then lastly, a session about LLM inference and production, and how we do that at OpenAI.

29:20

So thank you for joining us, and that's the end of the first segment of today's workshop where we give that whirlwind tour of everything in Codex, and hopefully you have something fun to cook with. So it's time to build and to help you with that for today's session. First things first, if you've not downloaded the Codex app, do give it a download, and for credits. So we are giving 100 USD in Codex credits and 100 USD in API credits. So we'll leave this QR code up there, everyone's phones up, and take a photo.

29:25

Dom will be doing a session on building on the Codex harness, and then another session explaining behind the Codex harness. So the first one is you build on top of it, and the second one is to explain the harness. Then lastly, a session about LLM inference and production, and how we do that at OpenAI. So thank you for joining us, and that's the end of the first segment of today's workshop where we give that whirlwind tour of everything in Codex, and hopefully you have something fun to cook with.

29:27

So it's time to build and to help you with that for today's session. First things first, if you've not downloaded the Codex app, do give it a download, and for credits. So we are giving 100 USD in Codex credits and 100 USD in API credits. So we'll leave this QR code up there, everyone's phones up, and take a photo. I could app shot this and say, all right, send this via email to everyone who attended. But we don't have your emails.

29:31

And I would also mention, please stick around to the end of the build session if you can. We brought swag for everybody. So at the end of the two hour mark, on your way out, you can pick up a sweatshirt, I believe. We'd love to see what you're building as well. We will be here. We will be here in the audience. We've got OpenAI staff here as well to help unblock you or to answer any questions about using Codex. Thank you. It's going to be in a room for like 400 people. There's like an admin view. There's a participant view. There is a onstage view. And then like I describe, oh, maybe the admin can do like AI-generated text. There's a moderation features.

29:53

On the stage view, there's a 16 by 9. Run every application through our moderation API. Make the experience feel like something OpenAI will launch. So on and so forth. Here I'm being particularly prosaic in the prompt for exposition purposes. You could just ramble to Codex as well and it'll get the job done. But here just for like exposition purposes. I know people are excited to take photos. This is like an example of how you're being clear. I think one misconception in these days is like people always ask, does prompt engineering matter? In so far as the instructions are clear, it still matters. Like I can't read your mind. Codex can't read your mind.

30:28

So you just need to tell Codex very clearly what you want. But it's prompt engineering where you see it. Oh, I got to use this magic phrase. I don't think we're in that state anymore. Reasoning models are really intelligent. And the real thing is about context. So it actually goes back to our first step, giving context clearly. So how I wrote this prompt was I was just talking to Codex. I was yapping to it on the phone. I just, hey, Codex, can you polish this prompt so I can show it on stage? So yeah, it's building this thing. And I'm using a few different things like Convex. There's a plug-in for Convex that helps to do real-time interactions.

30:59

We're going to deploy in Vercel. And of course the OpenAI plug-in. And all right, the feedback form is done. So that very nicely came up. And yeah, that's one example. So it's like a greenfield project. But you know not everything is like you're going to start from scratch. So here's another example that ran for five hours and 57 seconds. So here there's an open source repo for a form builder. And I wondered, hey, could I repurpose this and build it internally in sites? So maybe you don't want to buy SaaS. It's a small team of like seven of you. You want to just have an internal form builder.

31:31

You want to use the chat GPT authentication that comes with these sites to sort of ensure that only people within your team use it. And then you've got to let Codex sort of build it. And I will show you an example of what that looks like later. Then the last example of a long-running task that was running, this one ran for, let's see, I think seven hours, one minute and 40 seconds. So it's like some research papers from my graduate school days. It was like written in like Julia and I think like R and I was like, hey, can I like write a Python package with a Rust backend? And then I told Codex again, I gave some constraints. I don't want to use dynamic programming.

32:07

You've got to use like some heuristics. And then Codex read the papers and did it. So those are the three long-running tasks. And I want to like give some examples and some of the best practices that come with it. So in one of these, for example, what I told Codex was this over here. You can define a goal. So there is actually a skill in the OpenAI skills repo called define goal. And I told Codex, hey, don't create one goal. Create a series of goals and put it in a goals.markdown file. Again, it's just very arbitrary, but it's just a collection of files that you sort of see and you can inspect it. And then create a dashboard, progress-dashboard.html,

32:43

so you can go back to it and see what's going on. Because in this seven hours, you don't really know what's going on. You want to have some way to see what's happening. And rather than having this one thread do all the work, it's actually spawning new threads. So if we go to the... See, I pinned the project. But if we go to the thread, but if we go to the project, you will see it's spun many other threads. So for example, at different milestones, it ran code review, and then it also ran a goal audit. So it's seeing like, hey, are you on track? There's this initial thing you talked about, like goals.markdown. Are you deviating from it?

33:17

If it is, then it will nudge back the main thread. Hey, remember this. Or do we need to rethink the plan? And so forth. So it ran at different times. That's why there's like different milestones, M2, M3A, and so forth. That's another example here with like the live Q&A site. This is still running. So this is running on a remote session. So it's like my GAPC remote. And I wanted to do testing. So what I told Codex is that, hey, you can spawn a local thread on my machine and use the Chrome extension to then inspect it. So you would see, for example, this is a thread that came. And you would see it says here, send by Codex from another thread.

33:51

So the remote thread could communicate with the local thread. And it says, hey, you've got to do click ops. You've got to do browser. You've got to do QA testing. Then the local thread did all the QA testing. Then it sent the results back to the remote thread. So that's another thing that's worth thinking about for these long-running tasks. And let's see what else you can call out here in the long-running tasks. Ah, communication. So one other way of thinking about this is that maybe you could just ask Codex to send you Slack messages. So here I have a few demos. So I was building a live Q&A site. And without having to set up additional infrastructure,

34:27

you can just use the Slack plugin and just say, hey, reply to this thread and give me a summary of what's done, what's not yet done, and are there any blockers? Because sometimes there are blockers. Maybe there's an authentication issue. There's an API key that you need to give to Codex and so forth. So I asked Codex to speak to me. And over the weekend, like on Sunday, while I was out with my friends, I was just regularly checking, is there anything I could help unblock Codex for these different tasks? Let's just give some screenshots of what that process looked like. Let's just take a look at it. So another nice feature with Codex is that while you have the main thread,

35:01

so right here you see in the screenshot, on the right-left is the main thread. On the right, you can start a site thread. So you literally see here and say, let's focus on signing in with ChatGPT first. I want to sleep soon. I assume you need me to do that. Because I know, like, okay, I think Codex needs probably some help with that because I'm building a new instance on the app server, a new user interface, so it needs to get some credentials. So it needs to know where my credentials are. And it says, okay, actually the credentials are already here. So it says, okay, update the main thread. So you can use the site thread to update the main thread.

35:33

So let's do an example of that live as well. So here, this one is still running. You could just do slash site, and it creates a site thread. And you can just ask Codex, like, what's going on? So maybe we just ask, it takes a while, this I think you didn't network, but let's say, hey, what's going on? Can you list, like, what you've done so far, maybe in the last hour? What do you plan to do next? Is there anything I can do to unblock you? And then from this, when you get the agent tells you what's going to do next, you can also get a sense of, like, what, maybe it's, like, on the wrong track. Then you can sort of tell Codex, hey, maybe you don't want to do that.

36:06

We should do this instead. Then the site thread can communicate with the main thread. So that's a pretty nice feature. It's worth noting with side threads, those are ephemeral. So if there is any context that you want to keep long-term in your project, make sure you're communicating that back to the main thread, because they will get stale after a while. Here's another example where what we were doing earlier was a site thread talking to the main thread. This example is where two different main threads are talking to each other. Specifically, on the right, the left side, we have Codex saying, test spawning a local thread in the local form builder project.

36:43

If it succeeds, make that the default location for all local, future local threads, especially for Chrome or end-to-end testing. So again, on the, what's happening here is that it's running on the remote service, but so it doesn't have access to my Chrome browser. Then it sends a message to the local host, and it can then, from there, see, Chrome appears to be installed, and then from there it can do the testing with Chrome. So there you can get the remote session to work with the local session. And this was the test that it did. So while it's working in the cloud, locally on my laptop, at 3 a.m. while sleeping, Codex opened Chrome,

37:18

it went through the form building flow, and it created a form end-to-end. Sub-agents are also a particularly helpful thing in these long-running tasks because you want to make sure context is well separated, agents sort of focus on different tasks. And here's one nice example. So it was building an application, and I just took a peek at it. And I just, not necessarily best practice, I just sent it to the main thread saying, not very good. Yeah. And then Codex said, yeah, agreed. That's technically cleaner, but it's still a bad chat interface. And you notice here what it did was that it messaged the sub-agent.

37:54

So the sub-agent was already pre-respond, but then the main agent messaged the sub-agent. And you would see this is the message over here. So for example, it says this. So it sent it and says, update your verification task with this new user screenshot and directive. So there you have this sort of inter-agent communication. So this is what it did thereafter. So it did its own test. Because I sent a screenshot with the messages flushed to the bottom. I didn't want that. So then Codex did its own test. And it says, send retro-dex visible okay in one short sentence. And it sent it. So Codex itself did its own QA testing to sort of verify my feedback.

38:31

And this is an example for the live QA where the main thread was spawning different other site threads. For example, the audit of the goal, the code review, but also doing the communication back to Slack. So this thread over here where it says, provide Slack thread URL, that's over here where I was providing all these updates. So a separate sort of session was managing that. We earlier talked about goal. And here is a dashboard that Codex created for the goal. So you would see it has all the different milestones, what's been completed, what's active, what's yet to be started. And then the dashboard also gave me a sense of what the different threads are doing.

39:08

Like, oh, this thread is the main orchestrator. There's a communication thread. There's one thread doing visual UX. There's one doing managing the app server protocol and so forth. And even like creates it into like more conceptual work streams. Like one work stream on off, one work stream on testing, one work stream on UI polish. But throughout the night sometimes Codex does get blocked. So then with the example of Convex and Vercel, it said, oh, I marked it as block because the critical path, it didn't have the authentication, didn't have the identity to access these external services. But it still like did everything it could up to that point.

39:44

So it said it was blocked. So it will come up in the UI. And then I just selected it. And I say add to site chat. And it says, can you please explain what's going on? Because I just woke up. Like I didn't have context of what's going on. But Codex was telling me it was blocked. So I'm trying to get Codex to catch me up to speed. So here it's like saying, explain step by step what I can do to unblock you here. So it gave me different options, how I can give the Vercel details, the convex details. And then I sort of did it. So here I selected it and say do that. So then the site thread told the main thread to sort of create the CLI login flow.

40:20

And I would just click it over here. And I would be able to authenticate and give Codex, which again is running on the remote instance, access and the right permissions to manage my Vercel project. And in the case of Convex, there's a deployment key. So I was like, hey, I'm not going to paste that into the chat. So I asked Codex, give me a secure way to do it. Then it gave me this like bash code that I could just paste in. And I could then set the key into the remote environment. So that was like a way where I could collaborate with Codex in a remote instance, do different testing, managing permissions and so forth.

40:52

So let's see what they actually built from this entire process. So let's look at a site builder, site one. So this is it, the internal form builder. So to recap again, there's an existing repo where of a form builder, but I want to like customize it for like maybe my internal team. We're like maybe five of us. I don't want to spend money on SaaS. So we can build our own form builder. So it creates a new draft. You could call it like AI engineers workshop. Hello. And then just say like, yeah, I should ask the Chrome extension to do this, but you know, for exposition purposes. Okay. And you can like preview the form and then you can sort of share it thereafter.

41:32

You can like copy, publish the link. Then there'll be a shareable link. You open the link and then someone else in your team can fill it in. And again, because this is hosted on sites, only people that have access to your chat GPT workspace can then access this form. So that's really nice. Yeah. Then you can see all the responses and so forth. So this is again what we did. So to summarize on the complex tasks, we had three different projects. One was a machine learning one where I wanted to reimplement a package with a Rust backend. One was to take a existing, to build from scratch, like a green field project, a live Q&A site.

42:08

And the third was to take an existing open source project and customize it for my sort of needs. And Codex was able to sort of get it done in those cases. So underlying this are a few sort of concepts and primitives here. Let's go back to the slides.

42:28

So the first thing is compaction. You saw how Codex worked for seven hours. It worked for five hours. It worked for like, right now I think the other one is like 12 hours. And many times it's compacting its context window. This is not a new technology. In November 19, when we released GPT 5.1 Codex Max, yes, the name was GPT 5.1 Codex Max, we natively trained the model on multiple context windows through a process called compaction. And that's what lets Codex be really good at it. Some examples of what people have said about compaction. To quote, did OpenAI basically solve compaction? I pretty much never had issue with 5.5 and Codex across ultra-long threads,

43:08

spanning many compactions. This individual from Japan said like, in fact, Codex has strong compaction. So even if you make a lot in the same thread, it's less likely to forget. And in that sense, because it only remembers the good stuff, there's some token efficiency to that, I suppose. And as always, people think it's pretty good at it. I'll let Charlie share a bit more about specific primitives and concepts that enable this, such as Goal. Thanks, Gabe. So as you saw, we have a Goal that's already been running for 15 hours. And I think, you know, Goal is one of these primitives that is incredibly powerful if you can use it in the right way.

43:48

One of the biggest things that I tell people who are just trying it out for the first time is, be really specific with the criteria that you're giving the model to know when it's done. And specifically, you want that criteria to be as verifiable as possible. Sometimes I do feel a little bit like Goal is kind of like a genie in the sense that when it works well, it is insanely magical. And when it doesn't, sometimes I feel like I've entered into a monkey's paw type situation where, you know, it has done the thing technically that I asked it to do, but like very much not in the way that I was expecting.

44:19

So when you give it a task, it'll run off, it'll keep evaluating itself against the success criteria, against the verifiable criteria that you've given it. And at each turn, it'll check, hey, did this actually complete? And if not, should I keep going, right? There are quite a lot of use cases for very large projects in this way. You know, Thomas, you can see, used a slash goal that was running for 40 hours that did a reimplementation of Doom in native Swift code, if that's the type of thing that you want to give a shot. But also things like code migrations, large refactors, retrying loops, experiments,

44:55

and, you know, like games or full one-shotting apps with fairly detailed specs. I think Goal is pretty incredible.

45:04

We've also got sub-agents, which we saw a little bit of a preview of here, right? Sub-agents in Codex, you know, by default will get used out of the box. You can tell the model, hey, you know, think about delegating to sub-agents here. But you can also customize them. So if you want, if you know you have a sub-agent that should be your, you know, code reviewer, right, you can have a specific prompt set of developer instructions here. If you know you want that code reviewer to just be focused on, like, just be a lightweight model so that it runs quickly, or if you want it to be a much more intelligent model

45:38

so that it's very thorough, you can customize that in its own sub-agents.toml file. And you can give these names and you can say, oh, go, you know, check with the code reviewer, go check with the docs researcher in order to implement, right? Sub-agents can work in tandem with thread-to-thread handoff in Codex. So thread-to-thread is quite new. I think we just released it in the last week. Two weeks, yeah. And so that's just an even higher level of abstraction. And the way that I think about balancing them is when the delegation of work needs to be visible to you, the user, versus when it just needs to be visible to the model.

46:17

So sub-agents we started with because I think that is when the work, you know, primarily needs to be visible to the model. If you want to delegate, you know, some, like a subcontractor, you know, I don't really care what they're talking about. I just want to make sure that the work comes back good. Sub-agents are a great fit and the model is great at figuring out when it should be handing off into sub-agents. It also keeps the context separate. I think unlike, you know, a lot of other tools that we've brought to Codex to help keep context windows efficient,

46:46

sub-agents are one where, you know, you're keeping the context separate and the models are communicating with each other. Thread-to-thread handoff is useful for when you still want to be in the loop and you still want to be able to, like, look at everything that's happening. And perhaps even larger than that, you are mentally thinking about separating these two threads, right? So one example is over the weekend I was working on a game and I had a creative director thread. I could have used a sub-agent and that would have worked fine, but I wanted to see all of the different things that were happening and I didn't want it to just be delegated into the ether via sub-agents.

47:18

So with the creative director thread, I opened up different threads, one to work on the art direction, one to work on the music, one to polish the animations, one to figure out the game mechanics. And I was using those and I told them in the agents.md file, when you're done, go and check with the creative director thread, which I had given a bunch of extra context on, you know, the look and feel I wanted for the game. Go check with the creative director and get sign-off before you consider this task done, right? And they all did so and, you know, it was actually really interesting to watch the threads just constantly sending messages

47:51

to each other back and forth as they worked on the game.

47:57

We didn't quite show it here, but we also have hooks in the Codex app. If you want to set up your own hooks, you can do so in your config.toml file in your Codex home director. These are really great for when you want to start introducing deterministic behavior at specific checkpoints in your software development lifecycle or in your just, you know, general development lifecycle. So I think in these cases, you might use hooks to do things like, you know, send your conversation to a logging engine, right? You might want to scan inputs or outputs. I think there's quite a lot of security use cases for hooks, right?

48:31

Before Codex takes a specific action, maybe you want to look at the prompts and figure out, hey, have we accidentally pasted an API key that's going to go somewhere or before it takes an action to call a tool? Hey, is this tool, you know, on, like, not on our approved whitelist or something that we need to be extra sensitive about when calling the tool to evaluate if it's safe to use? And we can also do custom validation checks as well when the turn stops. These days, you know, you can tell the agents MD, hey, go and use the linter, right, before you consider the work done to check your work. And it's really good about doing that.

49:03

But if there are things that are a little bit more sophisticated or a little bit more complex that you want to do to validate the output, you can use hooks to take care of that as well. You know, I find that when building more and more complex projects, some of the most important things are figuring out, like I've said, the verification criteria or the success criteria. You want to give the model as many boundaries as it can, as you can, and let it fill in the lines in accordance with, like, the boundaries that you've given it.

49:31

Cool. And that brings us to working over time. Thanks, Charlie. So just to quickly share, on hooks, this slipped my mind as well. So we have the OpenAI Agents SDK. And that's actually a quick example of hooks right over there. So if you go to settings, all the hooks are sort of there. And you would see the hook for the agent's SDK repo. And here it's sort of doing, at every end of its turn, a Python script to just tidy the repo. So again, there are some of these housekeeping that maybe you don't want a language model to do. You can run it deterministically with a hook. And hooks can become particularly useful with long-running tasks. Because there is that trade-off.

50:11

You're giving the agent more autonomy. It's going to work longer and longer without your supervision or abstracted supervision. And to that end, hooks become useful in getting the guardrail. So on working over time, what we're trying to show here is that now we're sort of collaborating with codecs. We have some of the power user tools, like computer use. How can we stitch this all together and let codecs work on its own? I mean, for exposition purpose, here we are prompting and being more methodical. But in reality, you can just let codecs work on it, like with thread handoffs. In practice, I could have all my demos in one thread and just ask that thread to separate it

50:51

and send it and delegate it to the various threads. So here's one quick example of automation. So right now, you notice on my screen over here, there are these blue orbs. So this is just showing that it's a remote host. And maybe you want to create one. So we have a nice plug-in here with the DigitalOcean plug-in, which we just released last week. And then you saw do it. You can just try and chat. I'm just going to fire it off as well. And what it's going to do is it's going to provision this infrastructure. It's going to take some time. And I'm not going to stand here and look for it to provision this infrastructure. And codecs is not going to just keep waiting.

51:29

What it's going to do is create a heartbeat automation. So it's going to monitor and so forth. So this is yes. And let's just show, in the spirit of this being a cooking show, an example that was already done. So here, provision a DigitalOcean droplet. Okay, yes. And then it created the automation here. I set a codecs heartbeat to resume this track in about five minutes. So it's going to keep checking every five minutes. Is it ready? Is it ready? Is it ready? Is it ready? And once it's ready, it will take the next step. So in this case, it did it. So, okay, the droplet's ready. And it even gave a nice link. So if you click this link, it's a deep link.

52:04

It's a link, like a deep link to the settings page within the codecs app, which automatically sets up the SSH instance for you. So you just need to press it, and then it'll pre-configure everything. It knows where it will create the SSH key for you if necessary, and so forth. So that's nice. And you can extend this to other parts of, say, the software development lifecycle. Maybe you're building something. You need to deploy. You have a pipeline that triggers event-based, and it takes time. So you get a codec to run every five minutes, every 10 minutes, check, is it ready? Is it ready? Is it ready?

52:33

And maybe depending on the event, then it spawns different tasks, and so forth. So that's a heartbeat automation. It runs within the thread. But we can also do automations that spawn new threads. So one example of this. So right now, I have actually this Slack channel. So let's see if it's up. So remember the Mac OS translation app? So in the last, say, 45 minutes, we had a bunch of users, all called Gabriel Trois, and they've been using it, and they've been giving a lot of feedback on the translation app. For example, oh, the screen feels focused. I can tell where to start, so it's positive. Is there a way to do a quick sound check before the audience sees caption?

53:17

So there's a lot of feedback. So the Slack people are giving feedback, and I want to give this feedback the attention it deserves. So I'm going to create an automation to do that. So just make sure we are in the... I'm just going to close this, since we don't need it already. Over here, we create a new thread. And then I'm just going to do an app shot.

53:40

Every half an hour, can you just look at the comments and suggestions in this channel and reply to them? I think there'll be a few categories. There's one category where it's like compliments. There's one category where it's a bug report. There's one category where it's a feature request, so forth. Let me just like buy that off. So it's going to create an automation. And I just sent it, but I realized, oh, wait. If it's a feature request or a bug fix, I want to do something different. So I'm going to like steer this. Oh, if it's a bug fix or feature request, can you also then like spin a new thread in a

54:17

work tree and actually address that and then open a PR and then like request Dom to review it and then so forth, and ask Dom to approve it within like 24 hours. If not, just keep reminding him. So yeah, it's a comical example, but here it's where I'm trying. What I was first doing was steering. So I don't have to wait for codecs to finish. I can steer it midway. And what I'm trying to do is, in addition to all this feedback and classifying it, if it's a bug report, if it's something that we can fix, codecs would then sort of spawn a thread. So we're putting all these primitives together.

54:50

The automation, the plug-in, which can read Slack, the fact that one codecs thread can communicate with other codecs threads, and even create work tree threads and so forth. So imagine then you wake up, and this is a bit like that software factory where all the PRs are ready, then you can even add additional layers to it where it's review, you build a test version, you send it to someone, they test it, and then they give the thumbs up, then it's good to go. That feedback gets fed back to the PR, and the PR reviewer sees all this holistically. So yeah, there's a lot of it you can chain together to build that automation. So done.

55:22

And then, every half an hour, it would do this, and it will find DOM as well in the channel. So we were talking earlier about how we've actually been running an automation in the background, and let's find that. So let's see. Here it is. So earlier, while everyone was coming into the room, I was asking codecs, can you run an automation every five minutes, taking a screenshot of what's happening on screen, the Google Drive presentation, we only have 60 minutes, asking codecs to estimate to what extent are we going to overrun. So right now, it's at checkpoint 13, it's seeing if the demo is there, it's flashing 10, 12, and so forth.

56:02

So codecs is doing its own assessment of to what extent are we going to finish on time. It's a bit of a meta example of how you can use automations and chain it together with other tools, like in this case, the Chrome extension. It looks like it's telling us we might be a little bit behind the ball here. It is what it is. So automations have been really useful in my personal life to an extent, really getting a lot of things done. Some automations that may be useful, two. One automation you can run, maybe every Friday, you ask codecs to look at all your conversation threads and see are there skills that you could improve,

56:33

are there things you could add to the agents that are marked down, or are there skills you could just remove, maybe skills that you haven't been using. A second automation or approach that may be useful, maybe you're using automations to draft email replies. You can have one automation that drafts the email reply, but you can run a second automation that sort of cross-validates against the eventual reply you sent, because that is the ground truth. Then it updates like a marked down file with the best practices, tips, and so forth. And in that regard, the email drafting automation can get better over time. So I'll let Charlie just recap what automations are

57:08

and share a bit more about the app server as well, our final step.

57:14

Cool. So I think, yeah, automations, there's two types of automations, right? I think the more powerful one these days tends to be the in-app or in-thread heartbeat automations, and so those just live in a single thread, they run on a timer, they keep going over and over until they're done. These, I find, like, have just almost unlimited use cases. Gabe shared some of his. I think me personally, I feel like I'm drowning in Slack and email and linear notifications every day. So I have an automation that just sort of goes through and checks the latest updates from, you know, all the sources that might need my attention. I have a local Obsidian vault,

57:50

and so it's just constantly updating my daily notes. It's constantly updating my notes on different work streams, and it's keeping a lot of context there. And that way I can just pull from that later if I say, hey, you know, what's going on with the latest AI engineer world's fair talk? Like, you know, how far are we on the demos? How far are we on the notes? And then I can just codex and just quickly tell me, hey, here's what's happened since the last time you checked in. But automations can also live in a new thread. If you set them up in the Codex app under Scheduled, the Scheduled page, you can have them spin out in their own thread as well.

58:20

And then that's useful if you just want to say, look, every week I want you to do a recap of what all of my direct reports have been doing, or I want you to look at all of the analytics from this system, and then we're just going to do a one-time look together, and then I'm going to archive the thread and not worry about it again.

58:37

I think last but not least, we've got embedding codecs anywhere. And so I think for this one, I want to talk a little bit about the app server protocol, right, which is the core protocol that underpins the Codex app, the Codex CLI, the Codex VS Code extension. The app server is basically what allows all of these services to talk with the main Codex harness, right? And it's integrating all of the tool calls and the plug-ins and the context compaction that you know and love. We have, you know, built a lot of the components of the Codex ecosystem to be open source because we really want to encourage developers

59:15

to build wherever you are and for whatever use case that you have. And so to that extent, you know, if you're not aware, you can embed Codex into your product using app server. I think this brings a lot of the power of Codex directly to you, and it brings the ability for your users to use their ChatGPT subscription and perhaps more importantly, use their ChatGPT token budget to power the products that you're building. And like I said, it has all the same underlying features that we've been demoing, you know, compaction, steering. The ones that need to live on your computer, like computer use, are, you know, not going to be there.

59:49

But for everything that exists in the core, you know, agent harness, we've got that in the app server.

59:57

So as a quick demo of that, so there was a fourth long-running task that I kicked off last night. It was actually to build my own user interface for Codex, the app server, called Retrodex. So it's been working for a while. I mean, there are different tasks. I worked with it. And this is sort of the work in progress. Retrodex, it's using the app server. Let's just, okay, come and zoom in, then optimize it for the stage. But yeah, you can like choose the model, 5.5, 5.4 mini, the reasoning effort. So I told like, oh, make it a bit funky when you change the reasoning effort. So at low, it's like a small glitter. At medium, the color changes.

1:00:32

You think it's high and extra high. It's like, ooh, a bit more. So then you could just like simply say like, hello. And let's see, this is in Retrodex. And I'm just going to send hello. And I allow access. It's going to run. And it's going to reply back. Hello. And what's nice, and to just prove that it's all running on the same app server, is that if we go to the Codex app in the same project, Retrodex, you should see that here. Let's see.

1:01:04

Yeah, it should. We could change the threads, I believe. But yeah, that's an example of how you can build. It's a trivial example of building a funky user interface. But let's say you want to build agents on the cloud. You want to manage different agent providers. You're considering in a large organization, you have different sort of providers you're using. And you want to build a unified layer. The app server is a useful way for you to integrate it into your own platforms. And because it's open source, if you go to get clone, openAI slash codex, you can just ask Codex about Codex. You could just say like, hey, can you tell me more about the Codex app server?

1:01:38

And then you can fire it off, and you can start building your own applications or integrations from there immediately. So that's the app server. And we have a nice blog post talking about it, and there have been more engineering blog posts about like a Windows sandbox, first of its kind, how we built the agent loop, amazing stuff. And it's a good reference point also. Like if you're an AI engineer, seeing the Codex repo, it's a great source. And we'll have further talks in the subsequent days about this. So I'll let Charlie share some closing thoughts after seeing this entire cooking show.

1:02:13

Thanks, Gabe. And thanks everybody again for being here. I think hopefully you've learned a bit today about how you can use Codex to kind of level up your workflows. Some of the closing thoughts that I want to end on here are, you know, questions that I repeatedly ask myself as I'm trying to get to the frontier of what Codex can do, right? They start pretty simple just by asking, have I tried asking Codex to do it, right? I think like one of the things around the office that we say more frequently than ever now is, have you asked Codex? But I think as you evolve that workflow, right, you want to go from just asking in individual turns to building loops, right?

1:02:47

We've all heard about loop maxing. That is the new thing. And I think we want to think about how does that work, right? Like what is it that the loop needs to be checking at each turn, right? As you go down this path, there's going to be additional questions like, okay, you know, as it's progressing, how, like what blocked Codex from actually getting to the answer, right? Was there context that it needed? Were there permissions that it needed? Are there ways to build that context into repeatable tools like skills or plugins that Codex can use the next time it runs into this problem? How do I start scaling kind of from one agent to many, right?

1:03:21

Like as you think about the work, is there ways that you can be prompting Codex to implicitly delegate the structure of the things that you are building or to start orchestrating across multiple threads to have different Codex instances communicating with each other? And then ultimately, you know, if you take a step back and ask the question, okay, why does this process need a human at all? Right? I think like as we've shown, you know, one thing that you might assume when building with Codex or when building with the open AI API is that a human needs to be involved to like go to the platform page and go get an API key and then paste it into the environment, right?

1:03:54

I think like as we've shown with the developer's plugin, that is not the case anymore. The plugin itself can just go fetch the API key and set it up locally for you. And ultimately, you know, we do still want humans in the loop, like where they need to be, but for everything that's not that, like how do we figure out how to take the human out of the process to unblock ourselves? And how do we figure out how to build the machine that builds the machine, right? I think like it is one thing to sit with a coding agent and build a single piece of software. It is another thing to start zooming out and say, actually, I want to build a software factory, right?

1:04:27

I want to build a system that then builds individual pieces of software on an assembly line as we go. And so a lot of these things are kind of how I start to get from just an individual ask to something significantly bigger. Cool. And I think with that, we are... A recap. Yeah, yeah. Go ahead. So thanks so much for joining us today on a 9 a.m. on a Monday. I hope it's a great way to kick off your AI engineer welfare. And that's not it. So tomorrow we have our opening keynote. It's going to be fun. Do check it out. We also have Jason on the developer experience team giving a talk about how he gets the most out of Codex.

1:05:10

It's a nice foil to today's presentation about how he's using it on a day-to-day basis. And then he has a workshop after that where he goes through step-by-step, like setting up the plug-ins, doing app shots, and so forth. So today's session is more like a whirlwind tour. This workshop will go through the step-by-steps of how to set yourself up for success with Codex. We then have a session from the harness, about the harness, and then sessions about voice agents. Charlie will be talking about that as well. Dom will be doing a session on building on the Codex harness, and then another session explaining behind the Codex harness.

1:05:49

So the first one is you build on top of it, and the second one is to explain the harness. Then lastly, a session about LLM inference and production, and how we sort of do that at OpenAI. So thank you for joining us, and that's the end of the first segment of today's workshop where we sort of give that whirlwind tour of everything in Codex, and hopefully you have something fun to cook with. So it's time to build and to help you with that for today's session. First things first, if you've not downloaded the Codex app, do give it a download, and for credits. So we are giving 100.USD in Codex credits, and 100.USD in API credits.

1:06:27

So we'll leave this QR code up there, everyone's their phones up, and take a photo. I could app shot this and say, all right, send this via email to everyone who attended. But we don't have your emails. Cool. And I would also mention, please stick around to the end of the build session if you can. We brought swag for everybody. So at the end of the two hour mark, on your way out, you can pick up a sweatshirt, I believe. We'll love to see what you're building as well. Yeah. We will be here. We will be here in the audience. We've got OpenAI staff here as well to help unblock you or to answer any questions about using Codex. Thank you. .

Reading tools

Type to find a passage

Appearance
Ask this transcript

Add a note