Codex (ChatGPT) Hub: Plans, Sandbox Permissions, AGENTS.md and Ecosystem
Understand how OpenAI's open-source Codex CLI (openai/codex) relates to ChatGPT's cloud Codex agent, check plan quotas, OS sandboxing and AGENTS.md setup, and browse orchestrators and plugins.
Key takeaways
- Codex spans two surfaces: the local open-source terminal agent Codex CLI (Apache-2.0, Rust) and the asynchronous cloud coding agent inside ChatGPT.
- Codex CLI lets you sign in with a ChatGPT Plus, Pro, Business, Enterprise or Edu subscription, or bring an OpenAI API key for pay-as-you-go billing.
- Built-in OS sandboxing (macOS Seatbelt / Linux Landlock) restricts writes to the workspace and blocks network access until approved.
- Reads hierarchical `AGENTS.md` instruction files and connects to external tools via MCP and `codex-app-server`.
Key facts: pricing, models, surfaces & safety
The CLI binary is free and open source. Sign in with ChatGPT Plus, Pro, Business, Enterprise or Edu to use included plan quota, or use an OpenAI API key.
Defaults to OpenAI's coding-tuned reasoning models, while `~/.codex/config.toml` allows custom `model_providers` for compatible endpoints.
Runs locally in the terminal, integrates with IDEs via app-server, or runs asynchronously in isolated cloud containers inside ChatGPT.
Workspace-write sandbox with network disabled by default; commands that leave the sandbox or use the network require explicit approval.
Extension points: AGENTS.md, config.toml and App Server
Projects in the Codex ecosystem build on four documented interfaces:
AGENTS.md
Hierarchical repository instruction standard specifying build/test commands and coding conventions.
~/.codex/config.toml
Central configuration for models, custom model_providers, sandbox_mode, approval_policy and MCP servers.
MCP Server integration
Attaches standard Model Context Protocol servers to expose external tools and data sources.
Codex App Server & Orchestrators
Drives local Codex sessions from desktop GUIs or multi-agent workflow layers like oh-my-codex.
Setup & troubleshooting guides
Codex CLI setup and first-use guide
Check which ChatGPT plan includes the Codex CLI, install and sign in on macOS, Linux or Windows, and set sandbox and approval permissions, with AGENTS.md tips and official sources.
Setup and first-use guideCC Switch guide
Install CC Switch from official sources, switch API providers for Claude Code, Codex, OpenCode and more, understand what routing mode writes to your config, and the risks of key storage and third-party relays.
Companion tool guideCodex (ChatGPT) ecosystem & extensions
Plugins, config packs, switchers and orchestration layers in the directory built for Codex (ChatGPT), by stars; each has its own FARS review.
Multi-agent orchestration, parallel sessions & workbenches
Oh My OpenAgent
An OpenCode and Codex CLI layer for orchestrated coding workflows and integrated developer tools.
Oh My Codex (OMX)
Add reusable development workflows, specialist roles, and runtime coordination to Codex CLI.
Claude Code Skills & Plugins
A library of 362 production-ready skills, plugins, and agent skills for 13 AI coding tools, covering engineering, marketing, product, compliance, C-level advisory, and more.
Learn Harness Engineering
A project-based course for building the environment, state management, verification, and control mechanisms that make AI coding agents work reliably.
Paseo
One interface to orchestrate multiple coding agents (Claude Code, Codex, Copilot, OpenCode, Pi) from desktop and mobile.
Cross-session memory & context tools
Plugins, routing & companion extensions
ECC Engineering Harness
A cross-harness engineering workflow system for planning, testing, review, memory, and agent-configuration security.
Ponytail
Guides coding agents to reuse what already exists and write the smallest implementation that preserves safety boundaries.
GStack Engineering Workflow
Turn Claude Code into a role-based engineering workflow for planning, review, QA, and releases.
Caveman Token-Saving Toolkit
Reduce coding-agent token use by compressing what agents read and shortening what they say.
Agent Skills — Production-Grade Engineering Skills for AI Agents
Structured workflows, quality gates, and senior-engineer practices for AI coding agents across the full development lifecycle.
Archify
Turn an idea, plan, or codebase into an interactive, shareable single-file HTML diagram from inside your coding agent.
RTK Command Output Optimizer
Filter and compress terminal output before coding assistants read it, reducing redundant context.
T3 Code
A remote control surface that drives the coding agents already installed on your machine, from phone, web, or desktop.
CLIProxyAPI
Route CLI model accounts through one compatible API gateway for existing developer tools.
Multica — Multi-Agent Task Collaboration Platform
Assign issues to AI coding agents like teammates — they pick up, report, and hand off for review. Works with 20 agent CLIs, self-hostable.
OpenCodeReview
An AI-powered code review CLI that combines deterministic pipelines with LLM agents, battle-tested at Alibaba scale, delivering precise line-level comments.
Agentic Plugin Marketplace
Composable developer-workflow plugins for multiple coding-agent harnesses.
Claude Code Router (CCR)
One local control plane for every AI agent: route, fail over, extend, and observe from a single app.
Codex for Claude Code
Bring Codex into Claude Code to review changes or take on delegated development work.
9Router: Free AI Router & Token Saver
Connect Claude Code, Codex, Cursor, Cline and more to 40+ AI providers with free tiers, auto-fallback, and RTK's 20-40% token savings—never hit limits again.
Planning with Files
Persistent disk-backed plans for coding agents that must survive context loss.
Compound Engineering
A reusable skill set that helps each AI-assisted engineering cycle leave better context for the next.
Archon Workflow Factory
Turn coding procedures into repeatable factories with reusable YAML workflows.
Browse Codex (ChatGPT) skills on FollowSkills → Switching Codex (ChatGPT) between model providers? Read the CC Switch guide →
Codex (ChatGPT) comparisons & rankings
AI coding agents, ranked
Gemini CLI, Cline, OpenCode, Kilo Code, Aider, Qwen Code and more ranked by one FARS source review, with license, stars and maintenance; Claude Code and Codex CLI are listed but unscored.
View full category ranking →Open Source Coding Agents, Compared
Open source coding agents ranked by FARS review — score, trust, license, language and maintenance side by side, with what each one is and isn't good at.
12 reviewed agents comparedRelated concepts
Frequently asked questions
What is the difference between Codex CLI and Codex in ChatGPT?
Codex CLI (openai/codex) is an Apache-2.0 open-source terminal agent that runs locally on your machine inside an OS sandbox. Codex in ChatGPT runs asynchronously in an OpenAI-hosted cloud container connected to your GitHub repositories.
Can I use Codex CLI on the ChatGPT Free tier?
Signing in with a ChatGPT account requires a paid plan (Plus, Pro, Business, Enterprise or Edu). Otherwise, you can authenticate with a funded OpenAI Platform API key.
How do I orchestrate multiple Codex agents in parallel?
Use multi-agent orchestration layers like oh-my-codex or git-worktree session managers like worktrunk and t3code to run isolated Codex CLI sessions side by side.