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
| Kiro | Codex | |
|---|---|---|
| Made by | AWS | OpenAI |
| Kind | Coding agent | Coding agent |
| Open source | No | Yes, Apache-2.0 |
| Models | AWS models | OpenAI models |
| Install | curl -fsSL https://cli.kiro.dev/install | bash | curl -fsSL https://chatgpt.com/codex/install.sh | sh |
| Full-access switch | kiro-cli chat --trust-all-tools | codex --dangerously-bypass-approvals-and-sandbox |
| Instructions file | AGENTS.md, .kiro/steering/*.md | AGENTS.md, AGENTS.override.md |
| Add an MCP server | kiro-cli mcp add --name | codex mcp add |
| Headless | kiro-cli chat --no-interactive --trust-all-tools | codex exec |
| Version checked | 2.34.0 | 0.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.