Agentic Index
Aider vs OpenAI Codex (2026)
Aider last verified ·OpenAI Codex last verified
Aider is the independent open source terminal agent and Codex is OpenAI's platform version of the same idea. That verdict is the Agentic Index coverage score, graded from each vendor's own published materials.
Aider gives total model freedom through LiteLLM and turns every edit into a clean git commit, free apart from tokens. Codex adds cloud sandboxes, parallel asynchronous runs, and Automations, bundled with ChatGPT plans.
On the Agentic Index coding agent ranking, neither Aider nor OpenAI Codex clears the bar, which asks for all five merge loop capabilities documented in full. Aider does not document integrations and tool calling in full; OpenAI Codex does not document knowledge grounding and RAG in full, nor testing, debugging and optimization. 3 of the 96 vendors in the lane clear it. See the coding agent ranking
This comparison is published by Agentic Index, an independent agentic AI vendor research platform. Aider and OpenAI Codex are each graded against the same 14 capability Agentic Index taxonomy, from the vendor's own public materials under the Agentic Index verification standard, alongside 1,165 researched vendors. No vendor pays for placement and no vendor has reviewed this page. How this evidence is graded
Choose Aider if
- Model freedom is non negotiable, with any provider or a local model, switched at will.
- You want a transparent git native workflow with every change as a reviewable commit.
- You are cost sensitive and prefer paying raw token rates over a subscription.
Choose OpenAI Codex if
- You want asynchronous cloud execution, so you hand off tasks, keep working, and review finished pull requests.
- You want the same agent reachable from terminal, IDE, desktop app, and phone.
- AGENTS.md plus Automations institutionalize the agent across your team, not just your machine.
| Feature | A Aider |
O OpenAI Codex |
|---|---|---|
| Action & orchestration | ||
|
Integrations & Tool Calling Ability to connect agents to real systems through native integrations, OAuth-authenticated actions, custom tools, APIs, webhooks, or MCP-compatible tools. |
||
|
AiderIntegrations & Tool Calling The agent works through git, runs configurable lint and test commands, offers to run shell commands it suggests, scrapes web pages into the chat with /web, and takes image and voice input. There is no MCP client, plugin system or integration surface for external services. Sourceaider.chat/docs/config/options.html and usage/commands.html; aider.chat/docs/usage/commands.htmlread 2026-09-29 |
||
|
OpenAI CodexIntegrations & Tool Calling MCP connects outside services, with approved server lists under enterprise control, and plugins and connectors extend the agent with tool calls that have side effects, which require approval when they advertise destructive annotations. Third party integrations cover GitHub, GitLab, Slack and Linear. The agent runs shell commands under an OS sandbox, uses a web search tool with cached, live and disabled modes, and reaches the browser and computer use surfaces. Sourcelearn.chatgpt.com/codex/extend/mcp, /codex/third-party and /codex/agent-approvals-securityread 2026-08-30 |
||
|
Workflow Orchestration Ability to sequence, branch, retry, route, and combine deterministic workflow nodes with autonomous agent steps. |
||
|
AiderWorkflow Orchestration Architect mode hands a change from an architect model, which proposes it, to a separate editor model, which turns it into file edits. After edits aider lints and optionally tests, then tries to fix the errors whenever a command returns a non zero exit code, a condition built into the flow. Sourceaider.chat/docs/usage/modes.html and usage/lint-test.htmlread 2026-09-29 |
||
|
OpenAI CodexWorkflow Orchestration The agent sustains long autonomous sessions across many sequential tool calls, with configurable subagents, git worktrees for parallel work, projects and chats organizing multi step work, long running work and scheduled tasks, and the desktop app running agent threads side by side. The cloud agent works asynchronously in isolated containers so many tasks proceed in parallel, and multi agent tooling is among the stable CLI surfaces. Sourcelearn.chatgpt.com/codex/agent-configuration/subagents, /codex/environments/git-worktrees and /codex/long-running-workread 2026-08-30 |
||
|
Triggers & Channel Coverage How agents wake up and where they work: schedules, webhooks, message events, CRM events, inbox events, chat, email, voice, and collaboration tools. |
||
|
AiderTriggers & Channel Coverage Work starts from the person, through the interactive terminal chat, a one shot --message flag for scripts, and a watch mode that acts when the developer writes an AI! or AI? comment in any file. Nothing runs on a schedule, webhook or repository event. Sourceaider.chat/docs/usage/watch.html and scripting.htmlread 2026-09-29 |
||
|
OpenAI CodexTriggers & Channel Coverage Codex runs in the ChatGPT desktop app, a Codex CLI, an IDE extension, ChatGPT on the web, Codex cloud, and a Remote mode driven from a phone. Scheduled tasks run work on a timetable, long running work is supported, a GitHub Action and non-interactive mode cover CI, and third party integrations reach GitHub, GitLab in beta, Slack and Linear, with notifications closing the loop. Sourcelearn.chatgpt.com/codex/automations, /codex/github-action and /codex/third-partyread 2026-08-30 |
||
| Knowledge & context | ||
|
Knowledge Grounding & RAG Ability to ground agent behavior in company data through document ingestion, retrieval, external knowledge APIs, semantic search, or RAG layers. |
||
|
AiderKnowledge Grounding & RAG A repository map lists the repo's files with the key symbols each defines and their critical definition lines. A graph ranking over a file dependency graph selects the most relevant parts to fit a token budget set by --map-tokens. Read only reference files and scraped web pages can be added as further context. Sourceaider.chat/docs/repomap.htmlread 2026-09-29 |
||
|
OpenAI CodexKnowledge Grounding & RAG Context is assembled for each run. The agent reads the repository, resolves @ mentioned files, calls MCP servers for outside sources and uses a web search tool whose cached mode draws on a web index OpenAI maintains. AGENTS.md and Rules give the agent standing instructions. OpenAI does not describe an index that Codex keeps over the customer's own code or documents. Sourcelearn.chatgpt.com/docs/agent-configuration/agents-md, /docs/extend/mcp and the docs llms.txt indexread 2026-09-29 |
||
|
Memory & State Persistence Ability to persist context across a run, conversation, workflow, user, team, or longer-term memory layer. |
||
|
AiderMemory & State Persistence The chat is written to .aider.chat.history.md, and --restore-chat-history reloads the prior conversation on launch so work can continue, which is state the agent writes and carries across sessions. There is no stated lifetime or purge path beyond clearing the chat. Git commits record the code's changes and do not serve as memory. Sourceaider.chat/docs/config/options.html and HISTORYread 2026-09-29 |
||
|
OpenAI CodexMemory & State Persistence Codex writes its own memories: once enabled, it turns useful context from eligible prior chats into local memory files under CODEX_HOME, redacting secrets and updating in the background after a chat goes idle. Memories live in the local Codex home, /memories chooses per chat whether a chat may read existing memories or feed future ones, and managed configuration can pin the feature on or off. Unused memories retire from consolidation after memories.max_unused_days, 30 by default and capped at 365, memories.max_rollout_age_days bounds the chats considered, and the files can be opened for review. The feature is off by default. AGENTS.md holds standing rules, separate from memory. Sourcelearn.chatgpt.com/docs/customization/memories and /docs/config-file/config-referenceread 2026-09-29 |
||
| Control & trust | ||
|
Human Oversight & Guardrails Approval steps, consent checkpoints, escalation rules, structured guardrails, policy constraints, and pause/resume controls. |
||
|
AiderHuman Oversight & Guardrails Aider asks for confirmation before it runs a shell command it suggests, adds a file to the chat or fetches a URL. Bulk accept or reject covers a series of confirmations, and a --yes-always flag is off by default. In ask mode nothing is edited, and /undo reverts the last aider commit. Sourceaider.chat/HISTORY, docs/faq.html and config/options.html; aider.chat/history.htmlread 2026-09-29 |
||
|
OpenAI CodexHuman Oversight & Guardrails Two independent layers govern the agent: sandbox mode controlling what it can technically do, and approval policy controlling when it must ask, with presets from read-only through workspace-write to danger-full-access and a granular policy that keeps chosen approval categories interactive while auto rejecting others. An Auto-review reviewer agent can evaluate eligible approval requests against a published policy checking for data exfiltration, credential probing, security weakening and destructive actions, failing closed on parse or session errors. Destructive MCP and app tool calls always require approval, .git, .agents and .codex are protected read-only inside writable roots, and enterprise managed requirements override local settings. Sourcelearn.chatgpt.com/codex/agent-approvals-security and /codex/sandboxing/auto-reviewread 2026-08-30 |
||
|
Security, Identity & Governance RBAC, SSO, auditability, encryption, least-privilege tool access, compliance posture, and data handling policy. |
||
|
AiderSecurity, Identity & Governance As a local CLI, Aider has no hosted service, accounts or organization layer, so it offers and claims no SSO, role based access, audit logging or attestation. An .aiderignore file limits what enters the AI's context, and analytics can be switched off. Sourceaider.chat/docs/config/options.htmlread 2026-09-29 |
||
|
OpenAI CodexSecurity, Identity & Governance OpenAI's trust portal at trust.openai.com lists SOC 2 Type 2, SOC 3, ISO/IEC 27001, 27017, 27018, 27701 and 42001, CSA STAR and FedRAMP 20x, with the SOC 2 report scoped to the API Platform, ChatGPT Enterprise, ChatGPT Edu and ChatGPT Team, the plans and API key path Codex runs on, though the portal does not name Codex separately. Access controls include managed configuration that overrides local settings, roles and workspace permissions, SCIM and EKM on Enterprise, workload identity federation, service accounts, plugin, connector and skill controls, approved MCP server lists, a Compliance API with audit events, Private Link, IP allowlisting and mutual TLS. Sourcetrust.openai.com and learn.chatgpt.com/docs/enterprise/managed-configurationread 2026-09-29 |
||
|
Observability & Auditability Traces, logs, execution histories, metrics, audit events, and debugging detail for production agent behavior. |
||
|
AiderObservability & Auditability Every AI edit is committed to git with a generated message, so each change is a diffable record that /diff shows and /undo reverts. The session is written to a chat history file by default, with an option to log the full conversation with the LLM, and together these show what the agent changed and why. Sourceaider.chat/docs/usage.html and config/options.html; aider.chat/docs/config/options.htmlread 2026-09-29 |
||
|
OpenAI CodexObservability & Auditability Opt in OpenTelemetry export emits an event catalog that includes codex.tool_decision, recording approved or denied and whether the source was configuration or the user, codex.tool_result with duration, success and output snippet, codex.api_request, codex.sse_event and codex.user_prompt, with counter and duration histogram metrics, exportable over OTLP to a collector the customer controls. Enterprise adds a Compliance API and audit events, workspace analytics and an Analytics API. Telemetry is off by default and prompt text is redacted unless explicitly enabled. Sourcelearn.chatgpt.com/codex/agent-approvals-security and /codex/enterprise/compliance-apiread 2026-08-30 |
||
|
Deployment & Data Residency Deployment modes and options, including SaaS, dedicated cloud, VPC, on-prem, hybrid, local runtime, and self-hosting. |
||
|
AiderDeployment & Data Residency Aider is an Apache 2.0 CLI that runs on the developer's own machine and edits the local git repository. It works with local models through Ollama or any OpenAI compatible local server, so code and inference can stay on the customer's hardware. Sourceaider.chat/docs/llms.html and github.com/Aider-AI/aiderread 2026-09-29 |
||
|
OpenAI CodexDeployment & Data Residency Local environments run entirely on the developer's machine through the CLI, IDE extension and desktop app under an OS enforced sandbox using Seatbelt on macOS, bwrap and seccomp on Linux and a native Windows sandbox or WSL2, with dev container support and a published secure devcontainer reference; cloud environments run in isolated OpenAI managed containers with configurable internet access and domain allow lists. Enterprise adds Private Link, IP allowlisting, mutual TLS, IP egress ranges and Amazon Bedrock as a model provider. Sourcelearn.chatgpt.com/codex/environments/modes, /codex/agent-approvals-security and /codex/amazon-bedrockread 2026-08-30 |
||
| Solution readiness | ||
|
Prebuilt Agents, Templates & Packs Ready-made workflows, packaged employees, templates, blueprints, industry solutions, and role-specific agents that reduce time-to-value. |
||
|
AiderPrebuilt Agents, Templates & Packs An official Aider-AI conventions repository holds a community collection of ready made conventions files (Bash scripts, Flutter, functional programming, Go, Next.js with TypeScript and others), loaded with /read to steer the agent. These are guidance files, not prebuilt agents or task templates, and there is no further library. Sourceaider.chat/docs/usage/conventions.html and github.com/Aider-AI/conventionsread 2026-09-29 |
||
|
OpenAI CodexPrebuilt Agents, Templates & Packs Skills and plugins extend Codex, with dedicated build guides, a plugin architecture and submission path, enterprise plugin management, and plugin and skill controls for administering approved catalogs, and a Claude Code plugin can be submitted as well. Subagents are configurable per project, and Codex Micro ships as a packaged capability. Sourcelearn.chatgpt.com/codex/skills-and-plugins, /codex/build-plugins and /codex/enterprise/plugin-managementread 2026-08-30 |
||
| Platform extensibility | ||
|
Model Flexibility & Routing Ability to work across multiple foundation models, route tasks to different models, or let buyers bring their own providers and keys. |
||
|
AiderModel Flexibility & Routing On the customer's own keys, Aider connects to OpenAI, Anthropic, Gemini, Groq, xAI, Azure, Cohere, DeepSeek, OpenRouter, GitHub Copilot, Vertex AI, Amazon Bedrock and any OpenAI compatible API, plus local models through Ollama and LM Studio. Main, editor and weak models are set separately, and /model switches mid session. Sourceaider.chat/docs/llms.html and config/options.htmlread 2026-09-29 |
||
|
OpenAI CodexModel Flexibility & Routing Local Codex clients let the customer choose the model maker, accepting custom model providers in config.toml, each defined by base URL, wire API and authentication, and OpenAI's own example configures Mistral's API and a local Ollama endpoint beside an OpenAI proxy. OSS mode runs Codex against a local open source provider, Ollama or LM Studio, chosen per run with --local-provider or set as the default. Within OpenAI's own family the model is selectable per session and per workspace. Amazon Bedrock is a built in provider that serves OpenAI models on AWS. Sourcelearn.chatgpt.com/docs/config-file/config-advanced (Custom model providers, OSS mode) and /docs/modelsread 2026-09-29 |
||
|
APIs, SDKs & MCP Extensibility Composability layer: stable APIs, SDKs, MCP tool consumption/serving, custom tools, and integration into internal systems. |
||
|
AiderAPIs, SDKs & MCP Extensibility Scripting works from the command line with --message and from Python through the Coder class. The Python API is not officially supported or documented and may change without notice, and there is no HTTP API, SDK or MCP server. Sourceaider.chat/docs/scripting.htmlread 2026-09-29 |
||
|
OpenAI CodexAPIs, SDKs & MCP Extensibility Developers build on a Codex SDK, an App Server, an MCP Server, a GitHub Action and a non-interactive mode, alongside MCP client support with approved server lists, hooks that fire on lifecycle events, Site tools via WebMCP, Record and Replay, and a Python SDK with auth. The CLI is open source in Rust at github.com/openai/codex with a published default reviewer policy, and the documentation offers an llms.txt index and a markdown version of every page. Sourcelearn.chatgpt.com/codex/codex-sdk, /codex/mcp-server and /codex/open-sourceread 2026-08-30 |
||
|
Testing, Debugging & Optimization Testing, debugging, scoring, retries, fallbacks, quality gates, and optimization loops for improving agent workflows before and after deployment. |
||
|
AiderTesting, Debugging & Optimization The repository ships a benchmark harness with setup and run instructions. It measures how well aider and a chosen model turn coding requests into code that passes unit tests, with custom models and edit formats and a YAML report of pass rates, cost and timing. The project publishes its polyglot leaderboard of 225 exercises in six languages from it. Sourcegithub.com/Aider-AI/aider/benchmark and aider.chat/docs/leaderboards; github.com/aider-ai/aider/blob/main/benchmark/readme.mdread 2026-09-29 |
||
|
OpenAI CodexTesting, Debugging & Optimization Codex reviews code changes before commit, a Codex Security plugin and CLI run scans, deep scans and bulk scans in CI with a security workbench and finding export, and the agent runs tests and iterates on failures; Auto-review evaluates individual agent actions against a risk policy at runtime. Those tools check the customer's code and gate the agent's actions, and there is no harness to evaluate, replay or regression test the agent's own behavior. Sourcelearn.chatgpt.com/codex/code-review and /codex/securityread 2026-08-30 |
||
| Specialist automation | ||
|
Browser & Computer Use Browser, desktop, or remote/local computer control for workflows that cannot be handled through stable APIs alone. |
||
|
AiderBrowser & Computer Use Aider edits files, runs shell commands and scrapes web pages into markdown with /web, but it does not drive a browser or operate software through a graphical interface. Sourceaider.chat/docs/usage/commands.htmlread 2026-09-29 |
||
|
OpenAI CodexBrowser & Computer Use Browser and Computer Use let the agent work in a browser and operate a computer, alongside a browser extension for signed in browser workflows and Appshots. Browser and Computer Use activity is treated as its own traffic surface outside the command network proxy, with its own feature settings and workspace policies, and managed configuration lets administrators set feature requirements for browsers and Computer Use. Sourcelearn.chatgpt.com/codex/computer-use, /codex/browser and /codex/agent-approvals-securityread 2026-08-30 |
||
Pricing snapshot
Sourced from the Index pricing dataset · open each vendor's profile for full detail.
| Pricing | A Aider |
O OpenAI Codex |
|---|---|---|
|
Entry price Lowest public entry point |
Free. Open source under Apache 2.0, with no paid tier. | Included in ChatGPT plans. Free is $0 and Go is $8 a month, with GPT-6 Luna in the desktop app subject to rollout. Plus is $20, Pro starts at $100 ($100, $200 or $500), and Business is $20 per user a month billed annually ($25 monthly). Enterprise and Edu are sold through sales, and an API key pays per token. |
|
Pricing confidence How public the numbers are |
Public, exact | Public, partial |
|
Billing Primary billing axis |
Aider bills nothing. The only spend is model API token usage, paid directly to the chosen model provider. | A ChatGPT plan subscription with an included Codex usage quota, plus usage beyond the quota paid with ChatGPT credits or, on the API key path, at per token API rates. |
|
Variable cost Workload / overage exposure |
Medium variable cost | High variable cost |
|
Free tier / trial Try before you buy |
Free tier
|
Free tier
|
|
Buying motion Self-serve vs sales call |
Self-serve | Self-serve |
|
Pricing verified When this pricing was last checked |
Product updates
Newest first, each linked to its source.
OpenAI Codex
-
· MCP / tool calling / API
Codex CLI 0.164.0 lets enterprise MCP connections authenticate with eligible Codex account grants or a dedicated sign in, including OAuth clients that require secrets.
Source -
· Deployment / data residency
Codex CLI 0.161.0 lets the Bedrock Mantle provider accept AWS GovCloud regions, so Codex can send inference to OpenAI models hosted in Bedrock GovCloud.
Source -
· Agent capability
OpenAI shipped GPT-6.1 Sol into Codex on desktop and CLI, describing it as near top tier performance at lower cost for long running work, and made it the default model in the CLI.
Source
More comparisons with Aider or OpenAI Codex
Other matchups in coding agents
Not the pairing you were after? These compare a different set of coding agents on the same 14 capabilities.