OSS terminal coding assistant — pair-programs, edits in place, commits as you go.

OpenAI’s open-source terminal agent for refactors, audits and migrations.
| Spec | Codex CLI | Windsurf |
|---|---|---|
| Agent Rank | 70 / 100 (B) | 80 / 100 (A) |
| Autonomy | Semi-autonomous | Semi-autonomous |
| Pricing | Free · OSS | Freemium · from $15 |
| Open source | Yes | No |
| Capabilities | Code, Tool use | Code, Tool use, Memory, Browser |
| Integrations | 2 apps | 2 apps |
| Verified | Verified | Verified |
| Released | Apr 2025 | Apr 2025 |
Auto-computed from autonomy, capabilities, integrations, pricing, maturity and editorial verification. Updated every deploy. How is this computed?
Auto-computed from autonomy, capabilities, integrations, pricing, maturity and editorial verification. Updated every deploy. How is this computed?
Pick Codex CLI if cost is the main constraint or if auditability or self-hosting matters.
Try Codex CLI →Pick Windsurf if its specific capabilities (Code, Tool use) match what you need.
Try Windsurf →Affiliate links. We may earn a commission at no extra cost to you.
Pick Codex CLI if cost is the main constraint or if auditability or self-hosting matters. Pick Windsurf if its specific capabilities (Code, Tool use) match what you need. Most working teams running both can use Codex CLI for primary work and Windsurf for the workflows where its specific strengths matter.
Codex CLI starts at Free · OSS; Windsurf starts at Freemium · from $15. Codex CLI is the cheaper entry option. For team deployments the TCO can differ — use the AI Agent Rank TCO calculator for your specific volume.
Both Codex CLI and Windsurf are Semi-autonomous agents — neither has a meaningful autonomy advantage over the other. The decision should hinge on capabilities and pricing instead.
Adjacent agents in the same category with overlapping capabilities — worth a side-by-side glance before you commit.
OSS terminal coding assistant — pair-programs, edits in place, commits as you go.

Open-source autonomous coding agent that lives in your IDE.
Open-source coding agent for VS Code and JetBrains — bring your own model, customize every prompt.