Repository navigation
Description
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:
- I discuss requirements, architecture, trade-offs, and long-term goals with ChatGPT.
- I manually copy implementation tasks into the Codex desktop app.
- Codex inspects local files, changes code, and runs tests.
- I copy its logs and results back to ChatGPT for review and planning.
- 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
- User links an authorized ChatGPT project and Codex workspace.
- Shared structured tasks and return results are exposed to both products.
- One local-model adapter supports an OpenAI-compatible endpoint.
- A bounded session defines allowed project paths, run limits, and approvals.
- Verified results (diffs/tests/logs) return to the coordinating project.
This could be extended toward scheduling, fallback, and long-running autonomy later.
Related requests
- ChatGPT–Codex shared project context and bidirectional task handoff #32519 — ChatGPT–Codex shared project context and bidirectional handoff
- Feature request: persistent ChatGPT-style supervisor for Codex threads (independent, evidence-driven oversight) #52564 — persistent supervisor for Codex threads
- Allow subagent roles to use custom model providers when parent agent is authenticated via ChatGPT #47752 — custom/local model providers for subagents
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
github-actions commentedon Oct 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
DrPei12 commentedon Nov 13, 2026
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:
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”?
alexechoi commentedon Nov 13, 2026
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!
phenix1 commentedon Nov 14, 2026
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.