Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Assign Frontend and Backend Work to Separate Agents

Overview

Split one feature between two coding agents: Codex Cloud builds the backend in its cloud environment while Claude Code builds the frontend on your machine, both working to a shared API contract, with every change merged by you.

Problem or Objective

More in Coding and Code Review

AI Agents and Models

Tools and Integrations

Tools
Codex · Claude Code · Git
Prerequisites
A ChatGPT plan with Codex Cloud (eligible Plus, all Pro tiers, Business, Enterprise, Healthcare and Education accounts, subject to rollout and workspace settings) with the repository in an environment, and Claude Code (most surfaces require a Claude subscription or Anthropic Console account).

How It Works

Before starting, write the API contract for the feature into the repository, for example an OpenAPI file or a short Markdown spec of endpoints and payloads, and commit it to the main branch. In ChatGPT, choose Work in Cloud, pick an environment that has the repository, and give Codex the backend task: implement the endpoints exactly as the contract says, with tests. Meanwhile, start Claude Code locally on a separate frontend branch and ask it to build the screens against the same contract, using mocked responses until the backend lands. Neither agent edits the other half; if one needs a contract change, it says so and you update the contract yourself. When Codex finishes, inspect the changed files and open a pull request; do the same review for the frontend branch. Run both test suites together before you merge either.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up Codex CLI, Claude Code.
  2. Connect the toolsConnect the tools this workflow relies on: Codex, Claude Code, Git.
  3. Check the prerequisitesA ChatGPT plan with Codex Cloud (eligible Plus, all Pro tiers, Business, Enterprise, Healthcare and Education accounts, subject to rollout and workspace settings) with the repository in an environment, and Claude Code (most surfaces require a Claude subscription or Anthropic Console account).
  4. Gather your detailsCollect what the prompt asks for: Which half this agent builds, Feature being built, Branch for this half, Shared API contract, Path the other agent owns.
  5. Run the starter promptPaste the starter prompt below into Codex CLI and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at developers.openai.com before you rely on it.

Practical Starter Prompt: Build your half against the contract

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
You are building the [Which half this agent builds] of [Feature being built] on the branch [Branch for this half]. The contract in [Shared API contract] is fixed: implement it exactly and do not edit it or any file under [Path the other agent owns]. Write tests for what you build. If the contract seems wrong or incomplete, stop and tell me what you would change instead of working around it. Do not merge or deploy; I will review the diff and open the pull request myself.

Send the prompt to Codex Cloud for the backend and to Claude Code for the frontend. Review each diff, run both test suites together and merge yourself.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. OpenAI says Codex Cloud works through coding tasks in the cloud and lets you inspect changed files, request follow-up changes and commit or open a pull request. Anthropic describes Claude Code as reading a codebase, editing files and running commands. Neither page covers two agents sharing one feature, so the contract file and your reviews keep the halves in step.

Limitations and Considerations

Review every diff, test failure and dependency change before merging; neither agent should merge or deploy. Keep the contract the single point of agreement and change it only yourself. Codex Cloud is available to eligible Plus, all Pro tiers, Business, Enterprise, Healthcare and Education accounts, subject to rollout and workspace settings, and is not included with Free or Go. Most Claude Code surfaces require a Claude subscription or Anthropic Console account. Both have usage limits. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Related Videos

About anthropics/claude-code

About openai/codex

About anthropics/claude-code

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Codex Cloud | ChatGPT Learn (opens in a new tab)

    Project documentation · developers.openai.com · Undated · Source checked 25 Nov 2026, 12:11 UTC

    What this source supports
    • Give Codex coding tasks to work through in the cloud, from investigating bugs to building features, and review changes from the web, mobile or desktop app.
    • Inspect changed files and check results, request follow-up changes, and commit or open a pull request when you are ready.
    • To start, sign in to ChatGPT and choose Work in > Cloud on the web or in the desktop app, then choose an environment.
  2. Using Codex with your ChatGPT plan | OpenAI Help Center (opens in a new tab)

    Project documentation · help.openai.com · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Codex Cloud is available to eligible Plus, all Pro tiers, Business, Enterprise, Healthcare and Education accounts, subject to rollout and workspace settings; it is not included with Free or Go.
  3. Overview - Claude Code Docs (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC

    What this source supports
    • Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
    • Most Claude Code surfaces require a Claude subscription or Anthropic Console account.
Report a problem

More with Codex CLI

Planned, not done

Use Computer Control to Share a Finished Video in Slack

Use Codex Computer Use in the ChatGPT desktop app to operate the Slack desktop app: gather feedback from a thread, then post a finished video file to a channel after you approve the message.

developers.openai.comopenai/codex
Planned, not done

Publish an AI-Aided BaZi Reading Application

Use Codex to build a small web app that computes BaZi charts from a birth date and time with tested code, adds model-written readings on top, and offers the interface in more than one language.

developers.openai.comopenai/codex
Planned, not done

Make a motion graphics video from prompts with a coding agent and Remotion’s Agent Skills

Remotion’s docs show how to start a blank video project, add its official Agent Skills and then describe the video to Claude Code, Codex or OpenCode while the Studio preview updates beside it.

remotion.devanthropics/claude-code, openai/codex

View all: Codex CLI