Codex CLI
Codex CLI is an open-source command-line coding assistant tool released by OpenAI, built on large language models and designed to run in terminal environments. It interprets natural language instructions to automatically generate, modify, and explain code, and can execute operations on the local file system to assist developers with coding, debugging, and refactoring tasks. It supports multiple operating modes and allows users to configure different model backends to suit various development scenarios.
Core Facts
MCP采用客户端-服务器架构,基于标准化的JSON-RPC通信协议
Codex CLI can read local codebases, execute shell commands, edit files, and run tests.
Codex CLI is a command-line programming tool launched by OpenAI that allows developers to interact directly with AI models in the terminal to complete coding tasks.
Timeline (last 90 days)
Direct generation as well as general-purpose coding agents (such as Codex CLI and Claude Code) perform markedly poorly on formal verification tasks.
Agent Harness refers to the shell that hosts a large model and provides it with runtime capabilities such as tool calling, memory retrieval and session management; Claude Code, Codex CLI and Waku Agent all belong to this category.
Codex CLI 0.169.0 adds side-chat tabs, allowing multiple conversation threads to coexist as tabs within the same terminal interface.
In Codex CLI, a model provider refers to a configuration unit for connecting to different large-model services, typically including fields such as API endpoint, authentication method, and model name.
Before 0.169.0, codex exec would load project configuration and MCP servers in the current directory regardless of whether that directory was trusted.
After upgrading to 0.169.0, CI scripts or local automation that rely on project configuration or MCP servers in untrusted directories need to add --trust, otherwise functionality may be silently missing.
codex exec is the entry point in Codex CLI for non-interactive task execution, commonly used in scripts, CI pipelines, or batch processing.
Codex CLI 0.169.0 introduces the --trust parameter, used to restore loading of project configuration and MCP servers after the user confirms the directory is trusted.
Codex CLI 0.169.0 includes a model provider picker, turning the switching of model providers from manually editing configuration into an in-interface operation.
When Codex CLI 0.169.0 runs codex exec in an untrusted directory, it does not load project configuration or MCP servers by default.
40 more timeline events
All Facts (20)
MCP采用客户端-服务器架构,基于标准化的JSON-RPC通信协议
90%VerifiedCodex CLI can read local codebases, execute shell commands, edit files, and run tests.
80%VerifiedCodex CLI is a command-line programming tool launched by OpenAI that allows developers to interact directly with AI models in the terminal to complete coding tasks.
80%VerifiedCodex CLI offers three permission levels: suggest mode, auto-edit mode, and full-auto mode.
80%VerifiedThe command-line interface (CLI) is the most fundamental human-computer interaction method in operating systems, where users control program execution by typing text commands.
75%VerifiedCodex CLI supports MCP (Model Context Protocol) tool integration.
75%VerifiedCodex CLI uses the TOML format as its configuration file.
75%VerifiedCodex CLI is distributed as an npm package and requires a Node.js runtime environment.
70%VerifiedGemini CLI belongs to the same category of Agentic Coding tools as Claude Code and OpenAI Codex.
70%VerifiedCodex CLI was officially opened in 2025, allowing developers to invoke it directly in a local terminal.
70%VerifiedGit's post-checkout hook triggers after git checkout, git clone, and git worktree add; when a new worktree is created via git worktree add, Git passes an all-zero null ref as the first argument.
65%VerifiedCodex CLI is slower when performing code reviews and is suitable for handling complex changes or backend tech stacks.
65%VerifiedThe Codex CLI 0.154.0 update adds Windows daemon support.
65%UnverifiedThe hard rules for Codex CLI in the Code Review Router include: number of files >20, line count >500, involvement of database migrations or API service layer modifications, and spanning 3 or more top-level directories.
95%UnverifiedCode Review Router Skill的路由决策中,复杂度得分≥6分由Codex深度分析,<6分由Gemini快速反馈
95%UnverifiedThe Codex CLI project is open-sourced on GitHub, allowing community contributors to directly participate in feature development.
90%UnverifiedIn the autonomous loop of /goal, token consumption per round accelerates as the number of loop iterations increases (unless a context compression strategy is implemented).
90%UnverifiedCodex CLI controls resource consumption in autonomous loops through a token budget mechanism, allowing users to configure an upper limit on token usage.
90%UnverifiedCodex CLI支持Full Auto(全自动)和手动审批两种工作模式
90%UnverifiedCodex CLI通过API与OpenAI云端模型通信,采用云端大脑加本地执行的架构
90%