Skip to content

Feature request: Native ChatGPT–Codex project orchestration with local AI workers #57676

Open

Description

@phenix1

Summary

Please consider an opt-in, bidirectional project collaboration layer between ChatGPT and Codex, with support for local AI models in the Codex desktop app.

The key idea is to let the user define a long-term objective once, then let complementary agents plan, delegate, implement, test, and review tasks against a shared, persistent project state—without manually copying prompts and reports between ChatGPT and Codex.

This is not a request to merge both apps. A common task protocol, project context, and permission-aware orchestration interface could be enough.

Current pain point

In my real workflow:

  1. I discuss requirements, architecture, trade-offs, and long-term goals with ChatGPT.
  2. I manually copy implementation tasks into the Codex desktop app.
  3. Codex inspects local files, changes code, and runs tests.
  4. I copy its logs and results back to ChatGPT for review and planning.
  5. Repeat.

The two products have complementary strengths but lack a seamless, persistent handoff. This manual coordination is especially costly for long-running, multi-stage projects.

Proposal

  • Bidirectional delegation: ChatGPT can request Codex implementation/tests; Codex can request architectural analysis, planning, or independent review from ChatGPT.
  • Shared project memory: Agreed goals, constraints, architectural decisions, issue/task state, and verified artifacts accessible to authorized agents—not merely unstructured chat transcripts.
  • Configurable roles: Planner, architect, programmer, reviewer, tester, etc. Roles are assigned per task, not permanently tied to a particular model.
  • Local model workers: The Codex desktop app can discover/connect to local inference via LM Studio, Ollama, llama.cpp, or compatible local APIs, and delegate suitable tasks to local models.
  • Unified evidence: Actual file diffs, test results, exit codes, and logs accompany task completion; models' self-reports alone are not accepted as proof.
  • Project-level autonomy: The user grants bounded permissions, task scope, and cloud usage budgets once per session/project rather than approving every trivial intermediate step. Include pause/stop controls and escalation for out-of-scope actions.
  • Persistent orchestration: Durable queue, checkpoints, retries/recovery, and resumable work independent of an open chat window.
  • Cost/resource-aware scheduling: Prefer capable local workers for routine tasks; selectively use Codex/other cloud models for difficult work, while respecting quota, GPU/VRAM, context size, and user activity.

Real use case: AI-Workspace (experimental Linux project)

I am building an experimental AI-Workspace on CachyOS Linux, using:

  • Bionic + local Gemma 4: Central conversational interface.
  • AI-Workspace MCP Gateway and Tool Registry: A common tool-discovery layer cataloging about 650 operations from 15 integrations, including creative applications.
  • Codex desktop/CLI: Technical implementation, code review, and tests.
  • LM Studio/local models: Planned low-cost implementation workers.
  • Autonomous orchestrator MVP: SQLite task queue, checkpoints, isolated/sandboxed test execution, logs, recovery from interruption, and resource monitoring.
  • Potential additional providers: Google AI Studio and other services, subject to available free/paid quotas.

The prototype has demonstrated persistent task state, isolated tests, and recovery. End-to-end live local-model execution and fully autonomous multi-agent operation are not yet proven—they are being validated. The long-term target is unattended work within a user-approved scope, potentially 24/7.

Building this integration independently reveals how much repeated infrastructure advanced users must currently implement.

Why desktop support matters

Third-party agent development tools are already exploring cloud/local model delegation and multi-agent workflows. Native integration could make the existing strengths of ChatGPT and Codex substantially easier to use, while improving use of local GPUs and reducing unnecessary cloud-model calls.

Especially useful would be an approachable desktop configuration for:

  • Linking a ChatGPT project to a Codex workspace;
  • Discovering a running local model server;
  • Choosing which tasks may run locally or in the cloud;
  • Viewing shared plans, execution evidence, and budgets;
  • Resuming projects after interruptions.

Suggested MVP

  1. User links an authorized ChatGPT project and Codex workspace.
  2. Shared structured tasks and return results are exposed to both products.
  3. One local-model adapter supports an OpenAI-compatible endpoint.
  4. A bounded session defines allowed project paths, run limits, and approvals.
  5. Verified results (diffs/tests/logs) return to the coordinating project.

This could be extended toward scheduling, fallback, and long-running autonomy later.

Related requests

Central point: Rather than only making individual models stronger, please help existing specialized models work together as a coordinated, verifiable team.

I would be happy to share practical learnings from the AI-Workspace prototype or participate in testing.

Activity

  1. added
    enhancement
    app
    subagent
    custom-model
    on Oct 28, 2026
  2. github-actions commented on Oct 28, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. DrPei12 commented on Nov 13, 2026

    @DrPei12

    For the SQLite queue/recovery part of your MVP, I would test the handoff at the point where the worker has produced a result but the coordinator has not recorded completion. A checkpoint alone can still leave that outcome ambiguous.

    A small failure-injection test could:

    1. Give a local worker a bounded file task with a stable task ID and a separate attempt ID.
    2. Persist the candidate artifact hash and the check's command, exit status and output reference before sending the completion notification.
    3. Stop the coordinator after that write but before it acknowledges the result.
    4. Restart it and reconcile the existing attempt instead of blindly dispatching the same work again.
    5. Change an acceptance instruction and check that the earlier pass no longer completes the revised task.

    For actions outside the workspace, the recovery path would also need a receipt or a readback step before retrying an uncertain write. A local database transaction cannot make a remote side effect exactly-once by itself.

    This also seems like a useful boundary for your local-model adapter: keep durable work IDs and evidence outside the model session, and treat resuming a native session and starting a fresh session from saved project state as distinct outcomes.

    Disclosure: I maintain TeamSwarm, a local single-user multi-harness workspace, and prepared this comment with AI assistance. Its acceptance-evidence implementation separates semantic review from command evidence and binds review context to the work attempt, artifact IDs and instruction revision. That is a reference for this narrow contract, not a claim that it supplies your proposed native ChatGPT–Codex bridge or proves unattended local-model execution.

    Does your current recovery prototype already distinguish “worker completed, acknowledgment lost” from “worker never completed”?

  4. alexechoi commented on Nov 13, 2026

    @alexechoi

    Hey @phenix1, I build Concord MCP, and the copy-paste loop you described (plan in one place, implement in Codex, carry logs back for review) is close to what it handles today for MCP-capable agents. It is an open-source, local MCP server that gives your agents a shared project state: tasks with an explicit owner, recorded decisions and constraints, and handoffs that carry the evidence you listed, the commit or diff, the test command, the exit status and the output, so completion is not just a self-report. A reviewer or planner agent picks up a review packet with scope, tests and risks instead of a pasted transcript, and the state lives in a local workspace, so it survives a closed chat window. Codex connects to it directly, and so can your other harnesses or a local-model worker that speaks MCP. It does not do the scheduling or budget part of your orchestrator; it would sit under it as the shared state and handoff layer. Happy to try one real plan-to-implementation-to-review handoff with you on AI-Workspace!

  5. phenix1 commented on Nov 14, 2026

    @phenix1
    Author

    Hey @phenix1, I build Concord MCP, and the copy-paste loop you described (plan in one place, implement in Codex, carry logs back for review) is close to what it handles today for MCP-capable agents. It is an open-source, local MCP server that gives your agents a shared project state: tasks with an explicit owner, recorded decisions and constraints, and handoffs that carry the evidence you listed, the commit or diff, the test command, the exit status and the output, so completion is not just a self-report. A reviewer or planner agent picks up a review packet with scope, tests and risks instead of a pasted transcript, and the state lives in a local workspace, so it survives a closed chat window. Codex connects to it directly, and so can your other harnesses or a local-model worker that speaks MCP. It does not do the scheduling or budget part of your orchestrator; it would sit under it as the shared state and handoff layer. Happy to try one real plan-to-implementation-to-review handoff with you on AI-Workspace!

    Thanks — the shared-state layer is the part we already had to build ourselves, so I'd rather not run a second one in parallel. I'll keep it in mind for after our current integration window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appcustom-modelenhancementmemorysubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions