{
    "products": [
        {
            "slug": "openai-codex",
            "name": "OpenAI Codex",
            "kind": "app",
            "website": "https://github.com/openai/codex",
            "page": "https://listme.name/software/openai-codex",
            "tagline": "OpenAI's open-source coding agent for the terminal",
            "summary": "OpenAI Codex is a coding agent from OpenAI that runs locally in the terminal. Its Codex CLI is open source under the Apache-2.0 license and is published on GitHub.",
            "developer": "OpenAI",
            "platforms": [
                "cli"
            ],
            "pricing": "open-source",
            "price_note": "Open-source CLI under Apache-2.0; README covers use with a ChatGPT plan",
            "free_to_use": true,
            "open_source": true,
            "license": "Apache-2.0",
            "source": "https://github.com/openai/codex",
            "strengths": [
                "Apache-2.0 licensed with source on GitHub",
                "Runs locally in the terminal",
                "README covers installation and quickstart"
            ],
            "limits": [
                "Terminal-only interface",
                "Tied to OpenAI sign-in and model access"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "overview": "Codex CLI is OpenAI's coding agent for the terminal. Its GitHub README describes it as a coding agent that runs locally on the user's computer, and it links to installation and quickstart guides. The README also includes a section on using Codex with a ChatGPT plan.\n\nThe source is published under the Apache-2.0 license, so the behavior of the local program can be read and built. Model access goes through OpenAI's services, which makes an OpenAI account part of the setup. For a terminal agent that can use several model providers, Aider and Cline are the open-source options listed in this category."
        },
        {
            "slug": "opencode",
            "name": "OpenCode",
            "kind": "app",
            "website": "https://opencode.ai/",
            "page": "https://listme.name/software/opencode",
            "tagline": "Open-source AI coding agent for the terminal, IDE and desktop",
            "summary": "OpenCode is an MIT-licensed coding agent from Anomaly that runs in the terminal, in an IDE or as a desktop app. Free models are included, and models from other providers can be connected. Its source is on GitHub.",
            "developer": "Anomaly",
            "platforms": [
                "windows",
                "macos",
                "linux",
                "cli"
            ],
            "pricing": "open-source",
            "price_note": "MIT-licensed and free to install; free models included, with separate Zen and Enterprise offerings",
            "free_to_use": true,
            "open_source": true,
            "license": "MIT",
            "source": "https://github.com/anomalyco/opencode",
            "strengths": [
                "MIT-licensed with a large public repository",
                "Works in the terminal, IDE and desktop app",
                "Connects models from many providers"
            ],
            "limits": [
                "Results depend on the model connected",
                "Hosted offerings are separate from the free software"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "overview": "OpenCode helps write and change code from a terminal, an IDE or a desktop app. The site lists LSP support, which loads language servers for the model, multiple sessions that run agents in parallel on one project, and share links for any session. Desktop downloads are listed for macOS, Windows and Linux.\n\nThe site says free models are included and that any provider's model can be connected, including Claude, GPT and Gemini. Logging in with GitHub can use a GitHub Copilot subscription. The repository is MIT licensed and had more than 200,000 stars when checked. Teams that want a hosted agent with fixed plans may compare Cursor in this ranking, while Kilo is another MIT-licensed option."
        }
    ],
    "differences": [
        "Only OpenCode runs on Windows.",
        "Only OpenCode runs on macOS.",
        "Only OpenCode runs on Linux."
    ],
    "shared_rankings": [
        {
            "list": "terminal-coding-agents",
            "name": "Terminal coding agents",
            "page": "https://listme.name/best/terminal-coding-agents",
            "of": 13,
            "results": [
                {
                    "product": "openai-codex",
                    "rank": 2,
                    "score": 91.5,
                    "verdict": "Open source under Apache 2.0, with MCP servers and built-in Ollama and LM Studio providers next to OpenAI models. Other vendors need a custom provider entry.",
                    "best_for": "Open-source terminal agent for OpenAI models",
                    "spec": {
                        "providers": "OpenAI models plus custom OpenAI-compatible providers",
                        "local_models": true,
                        "mcp": true
                    }
                },
                {
                    "product": "opencode",
                    "rank": 3,
                    "score": 90,
                    "verdict": "MIT-licensed terminal agent with a long provider list, including Ollama and LM Studio, plus MCP servers and built-in subagents. Desktop and IDE front ends are separate from the terminal app.",
                    "best_for": "Open-source agent that switches between many providers",
                    "spec": {
                        "providers": "Many hosted and local providers, including Ollama",
                        "local_models": true,
                        "mcp": true
                    }
                }
            ]
        },
        {
            "list": "ai-coding-assistants",
            "name": "AI coding assistants",
            "page": "https://listme.name/best/ai-coding-assistants",
            "of": 10,
            "results": [
                {
                    "product": "openai-codex",
                    "rank": 8,
                    "score": 81,
                    "verdict": "An Apache 2.0 terminal agent from OpenAI that runs on the user's computer. The pages checked tie model access to OpenAI sign-in, and it offers no graphical interface.",
                    "best_for": "Open-source terminal agent in the OpenAI ecosystem",
                    "spec": {
                        "interface": "Terminal",
                        "model_choice": "OpenAI models",
                        "git_commits": "Not listed"
                    }
                },
                {
                    "product": "opencode",
                    "rank": 4,
                    "score": 87.5,
                    "verdict": "MIT-licensed agent that runs in a terminal, an IDE or a desktop app, with free models included and any provider's models connectable. Its public repository and session features place it near Cline in this list.",
                    "best_for": "Open-source terminal agent with any model provider",
                    "spec": {
                        "interface": "Terminal, IDE and desktop app",
                        "model_choice": "Free models or any provider",
                        "git_commits": "Not listed"
                    }
                }
            ]
        }
    ],
    "ranks_higher_in_closest_shared_list": "openai-codex",
    "page": "https://listme.name/compare/openai-codex-vs-opencode",
    "json": "https://listme.name/api/v1/compare/openai-codex-vs-opencode.json",
    "notes": [
        "Scores are editorial and only comparable inside one list. Products with connected_to_publisher true receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}