Two terminal / coding agents, side by side. Facts below link to their sources; last checked 2026-10-17.

Open-source (Apache-2.0) coding agent from OpenAI that runs on your machine. Sign in with ChatGPT or use an API key; also available as IDE extension, desktop app and cloud agent. source

Open-source autonomous coding agent (VS Code extension and more). Plans, then edits files and runs commands with your approval, using any model provider. source
Codex CLI: OpenAI's open-source coding agent that runs locally in your terminal. Cline: Open-source coding agent in VS Code with Plan/Act modes; bring any model.
Codex CLI: From $20/month (free tier available). Cline: See official pricing (free tier available). Prices change often; confirm on the official pricing pages.