2 2
3[← All use cases](https://developers.openai.com/codex/use-cases)3[← All use cases](https://developers.openai.com/codex/use-cases)
4 4
5Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/api-integration-migrations/?export=pdf)
6
5Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.7Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.
6 8
7Intermediate9Intermediate
23 25
24 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.26 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.
25 27
28| Skill | Why use it |
29| --- | --- |
30| [OpenAI Docs](https://github.com/openai/skills/tree/main/skills/.curated/openai-docs) | Pull the current model, migration, and API guidance before Codex makes edits to your implementation. |
31
26## Starter prompt32## Starter prompt
27 33
28Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.34Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
34 - Update prompts using the latest model prompt guidance. 40 - Update prompts using the latest model prompt guidance.
35- Call out any prompt, tool, or response-shape changes we need to review manually.41- Call out any prompt, tool, or response-shape changes we need to review manually.
36 42
43Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
44Specifically, look for the latest model and prompt guidance for this specific model.
45 Requirements:
46- Start by inventorying the current models, endpoints, and tool assumptions in the repo.
47- Identify the smallest migration plan that gets us onto the latest supported path.
48 - Preserve behavior unless a change is required by the new API or model.
49 - Update prompts using the latest model prompt guidance.
50- Call out any prompt, tool, or response-shape changes we need to review manually.
51
37## Introduction52## Introduction
38 53
39As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.54As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.
61 76
62## Related use cases77## Related use cases
63 78
6479[[
65 80
6681### Create browser-based games### Add Mac telemetry
67 82
6883Use Codex to turn a game brief into first a well-defined plan, and then a real browser-based...Use Codex and the Build macOS Apps plugin to add a few high-signal `Logger` events around...
69 84
7085Engineering Code](https://developers.openai.com/codex/use-cases/browser-games)[macOS Code](https://developers.openai.com/codex/use-cases/macos-telemetry-logs)[
71 86
7287### Bring your app to ChatGPT### Create a CLI Codex can use
73 88
7489Build one narrow ChatGPT app outcome end to end: define the tools, scaffold the MCP server...Ask Codex to create a composable CLI it can run from any folder, combine with repo scripts...
75 90
7691Integrations Code](https://developers.openai.com/codex/use-cases/chatgpt-apps)[Engineering Code](https://developers.openai.com/codex/use-cases/agent-friendly-clis)[
77 92
7893### Build for iOS and macOS### Create browser-based games
79 94
8095Use Codex to scaffold SwiftUI projects, keep the build loop CLI-first with `xcodebuild` or...Use Codex to turn a game brief into first a well-defined plan, and then a real browser-based...
81 96
8297Mobile Code](https://developers.openai.com/codex/use-cases/native-ios-macos-apps)Engineering Code](https://developers.openai.com/codex/use-cases/browser-games)