Kiro vs Codex

Kiro is AWS's terminal coding agent, the successor to the Amazon Q Developer CLI, sharing its agent, steering, hooks and MCP setup with the Kiro IDE; Codex is OpenAI's open-source coding agent for the terminal, which inspects code, makes changes and runs commands with OpenAI's models. Side by side, with every command checked.

Updated November 23, 2026 · Checked against Kiro 2.34.0 and Codex 0.157.1 in EnvHaven v1.9.0

KiroCodex
Made byAWSOpenAI
KindCoding agentCoding agent
Open sourceNoYes, Apache-2.0
ModelsAWS modelsOpenAI models
Installcurl -fsSL https://cli.kiro.dev/install | bashcurl -fsSL https://chatgpt.com/codex/install.sh | sh
Full-access switchkiro-cli chat --trust-all-toolscodex --dangerously-bypass-approvals-and-sandbox
Instructions fileAGENTS.md, .kiro/steering/*.mdAGENTS.md, AGENTS.override.md
Add an MCP serverkiro-cli mcp add --namecodex mcp add
Headlesskiro-cli chat --no-interactive --trust-all-toolscodex exec
Version checked2.34.00.157.1

How to choose

  • Pick Codex if you want to read, audit or modify the agent itself: it is open source under Apache-2.0.
  • If you already pay for a plan from AWS, Kiro is the natural start: Kiro has a free tier and Pro, Pro+, Pro Max and Power plans priced by credits, and Amazon Q Developer subscriptions also work.
  • If you already pay for a plan from OpenAI, Codex is the natural start: ChatGPT Plus and Pro include Codex in the CLI, as do Business and Enterprise workspaces; API-key sessions bill at API rates.
  • Not sure? Run both on the same task. An EnvHaven workspace has both built in: sign in to each once from the Launch menu, give them the same prompt in two terminal windows side by side, and compare, so the comparison costs one prompt each.

Kiro in detail

AWS’s terminal coding agent, the successor to the Amazon Q Developer CLI, sharing its agent, steering, hooks and MCP setup with the Kiro IDE. --trust-all-tools (-a) runs every tool without confirmation; /tools trust-all does the same inside a session, and --trust-workspace skips the workspace-trust screen for one launch. In the terminal UI, both first show a warning that you must acknowledge before the agent gets full access.

More: Kiro setup and commands, its full-access mode.

Codex in detail

OpenAI’s open-source coding agent for the terminal, which inspects code, makes changes and runs commands with OpenAI’s models. The flag turns off approvals and the sandbox together; its help calls it “EXTREMELY DANGEROUS” and meant for environments that are already sandboxed, and OpenAI’s docs recommend full access inside Docker for that reason. Quote the values in config.toml: an unquoted never fails with “Error loading config.toml”. Administrators can forbid both values through requirements.toml.

More: Codex setup and commands, its full-access mode.