█

AI/TLDR

Me pague um café
Me pague um café

OpenAI Codex

Agente de programação da OpenAI: um CLI de código aberto que roda localmente, mais versões para IDE, aplicativo de desktop e nuvem (Codex Web)

Autonomous Coding AgentsOpen core
Latest
v0.172.0
Atualizado
24 Nov 2026
Idioma
Rust
Licença
Apache-2.0
Coverage
8 stories
$curl -fsSL https://chatgpt.com/codex/install.sh | sh

What's new

v0.172.024 Nov 2026

Tab now completes slash-command arguments, thread links open saved conversations and nested agents in the terminal, and optional MCP servers with cached tools start on first use. App-server clients can pick Amazon Bedrock Runtime at sign-in, and codex exec resume restores saved sandbox permissions.

Últimas notícias

all 8 ↓
EM RESUMO

What is OpenAI Codex?

OpenAI Codex é o agente de programação da OpenAI. Seu núcleo é o Codex CLI, um agente de código aberto escrito em Rust que roda localmente no seu computador e trabalha dentro do seu repositório pelo terminal. It sits in the Autonomous Coding Agents category of the AI Coding tools and is open-source, written in Rust and licensed Apache-2.0.

Atualizado Versão em Markdown ↗

Visão geral

OpenAI Codex é o agente de programação da OpenAI. Seu núcleo é o Codex CLI, um agente de código aberto escrito em Rust que roda localmente no seu computador e trabalha dentro do seu repositório pelo terminal. O mesmo agente também está disponível como extensão para VS Code, Cursor e Windsurf, como aplicativo de desktop (iniciado com codex app) e como Codex Web, o agente na nuvem em chatgpt.com/codex que executa tarefas em paralelo.

Codex CLI in a terminal: the startup banner shows the model and directory, then the agent answers "Explain this code base to me" with its reasoning and a checklist plan
A Codex CLI session: the banner names the model and working directory, and the agent replies with its reasoning and an updated plan before exploring the repository.openai/codex README ↗

O CLI é instalado com um script de uma linha no macOS, Linux e Windows, ou pelo npm e Homebrew. Os instaladores independentes baixam do host de releases da OpenAI e recorrem ao GitHub Releases, onde também são publicados binários por plataforma para instalação manual. Na primeira execução, você entra com uma conta do ChatGPT (os planos Plus, Pro, Business, Edu ou Enterprise incluem o Codex) ou configura uma chave de API com alguma configuração adicional.

O repositório é licenciado sob Apache-2.0 e inclui documentação de contribuição e de build, além de um fundo de código aberto. O Codex na nuvem e no ChatGPT é um serviço comercial, por isso o catálogo classifica o produto como open-core: o cliente é de código aberto, enquanto o agente hospedado e os modelos por trás dele não são.

O que faz

  • Codex CLI: agente de programação de código aberto (Apache-2.0) em Rust que roda localmente e edita seu repositório pelo terminal
  • Extensão de IDE para VS Code, Cursor e Windsurf, e um aplicativo de desktop iniciado com codex app
  • Codex Web: agente na nuvem da OpenAI que executa tarefas de programação em paralelo a partir de chatgpt.com/codex
  • Instaladores de uma linha para macOS/Linux e Windows, além de pacotes npm e Homebrew e binários por plataforma nas Releases do GitHub
  • Entre com um plano do ChatGPT (Plus, Pro, Business, Edu, Enterprise) ou use uma chave de API
  • Plugins: instale, liste e remova plugins de marketplaces remotos pela linha de comando

Primeiros passos

Instale o CLI, execute codex e entre com sua conta do ChatGPT. Tudo abaixo vem do README do projeto.

Instalar no macOS ou Linux

O script de instalação baixa o binário certo para sua plataforma. npm (npm install -g @openai/codex) e Homebrew (brew install --cask codex) são alternativas.

bashbash
curl -fsSL https://chatgpt.com/codex/install.sh | sh

Instalar no Windows

Execute o instalador do PowerShell.

textotexto
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

Inicie e entre na conta

Execute codex em um diretório de projeto e escolha Sign in with ChatGPT. A OpenAI recomenda essa opção em vez de uma chave de API para que o Codex rode como parte do seu plano.

bashbash
codex

Abra o aplicativo de desktop

O mesmo agente como aplicativo de desktop.

bashbash
codex app

Commands and code are distilled from the project's own documentation — always check the repositório oficial para as novidades.

Quando usar

  • Rode um agente de programação com IA localmente na sua máquina, com um cliente de código aberto que você pode ler e compilar por conta própria
  • Use o mesmo agente dentro do VS Code, Cursor ou Windsurf, ou como aplicativo de desktop
  • Delegue tarefas mais longas ao Codex Web para executar em paralelo na nuvem
  • Estenda o CLI com plugins de marketplaces remotos

Histórico de versões

Every verified update to OpenAI Codex that AI/TLDR tracked, newest first — each links to our coverage and the official changeset.

  1. 2026-11-24v0.172.0

    Tab now completes slash-command arguments, thread links open saved conversations and nested agents in the terminal, and optional MCP servers with cached tools start on first use. App-server clients can pick Amazon Bedrock Runtime at sign-in, and codex exec resume restores saved sandbox permissions.

  2. 2026-11-20v0.171.0

    GPT-6.2 Sol and Astra join the model catalog with Sol as the default, and the TUI workspace with document, image and subagent previews is on by default. codex exec can start or resume sessions on a remote app server, and drafts and queued input now survive session switches.

  3. 2026-11-18v0.170.0

    The terminal UI can hold realtime voice calls, negotiated over WebRTC, and OpenTelemetry HTTP exporters refresh their auth headers. Permission updates and child threads no longer drop sandbox restrictions, and MCP OAuth credentials no longer race during cancel, login or logout.

  4. 2026-11-13v0.169.0

    The terminal workspace holds several side-chat tabs that reopen after a restart, the agent command center searches older tasks, and the transcript can collapse finished turn details. `codex exec` keeps project config and MCP servers off in untrusted directories unless `--trust` is passed.

  5. 2026-11-13v0.168.0

    A side conversation can sit beside the main chat behind `features.tui_workspace`, audio-capable models accept audio recordings, and `features.image_generation_animation` makes animated GIFs. Sessions → Model providers sets the default provider for new chats.

  6. 2026-11-05v0.167.0

    `codex agents --no-daemon` opens the agent command center, which now marks unread results. The session picker switches between connected backends without losing drafts, and a Google Cloud Vertex AI setup wizard sits behind the `gcp_setup_wizard` flag.

  7. 2026-10-29v0.166.0

    Transcript text can be selected and searched from the keyboard, and `codex doctor --network-only` runs focused connectivity checks. `codex queue --resume` resumes unloaded threads, and GPT-6.1 Terra joins the Vertex AI and Bedrock catalogs.

  8. 2026-10-27v0.165.0

    Codex gains a built-in Google Cloud Vertex AI provider (model_provider = "gcp") and adds GPT-6.1 Terra to its model catalogs. Memory v2 is on by default for new profiles, and reasoning effort can be changed mid-conversation by default.

  9. 2026-10-23v0.164.0

    Reusable prompts and slash commands can be saved in ten numbered /presets slots, and /model and /permissions take inline arguments. Enterprise MCP connections gain account-grant and OAuth sign-in options, and the fullscreen transcript previews images on Kitty or Sixel terminals.

  10. 2026-10-15v0.163.0

    A follow-up message can now steer Codex while it is still answering, and independent read-only tools run in parallel. /config becomes a searchable preferences panel, and /daemon restarts the managed background server.

  11. 2026-10-08v0.162.0

    Managed Git worktree tools arrive for trusted local projects, and tasks can be pinned in the Command Center. /copy and Ctrl+Insert copy transcript blocks, and apply_patch now keeps CRLF line endings.

  12. 2026-10-07v0.161.0

    GPT-6.1 Sol becomes the default model in the bundled and Amazon Bedrock catalogs, and /mcp login signs in to MCP servers from the terminal. codex exec can pick a Cyber access program per turn.

  13. 2026-10-01v0.160.0

    Sessions can start outside a project with workspace defaults when policy permits, and an opt-in Guardian review can now pull in earlier user instructions and agent-handoff context. Queued messages no longer send twice after a reconnect.

  14. 2026-09-29v0.159.0

    Adds an opt-in instant_interrupt setting so new input can steer Codex during a model response or a long code-mode call, plus a compact welcome screen and richer Mermaid flowcharts. .aws directories are now protected by default under writable roots, and Windows no longer opens stray console windows for MCP servers.

  15. 2026-09-28v0.158.0

    Adds configurable copy-on-select and right-click paste to the fullscreen UI, with copied text keeping its Markdown, and connects to MCP servers that need a pre-registered OAuth client secret. Elevated commands now need approval before reading terminal input, and sandbox bugs on Windows, Linux and macOS are fixed.

  16. 2026-09-25v0.157.0

    Adds GPT-6 Sol and GPT-6 Luna for Amazon Bedrock users, with prompts to move off older models, and makes fullscreen transcripts the default. Network restrictions now hold across redirects and live HTTP and WebSocket traffic, and a policy change that removes access cuts the connection.

  17. 2026-09-23v0.156.1

    Adds GPT-6 Sol and GPT-6 Luna to the model picker, one day after OpenAI launched them, so either can be selected from the menu instead of a config edit. The rate-limit notification was updated to name GPT-6 Luna as the model to switch to when an account is running low.

  18. 2026-09-22v0.156.0

    Adds an optional fullscreen terminal UI, switched on for the next launch with /tui, bringing transcript search, mouse selection and right-click copying, plus six new themes and Mermaid diagrams in responses. Voice conversations and worktree support are on by default, a /usage dashboard reports token totals and plugin and skill activity, and three sandbox isolation gaps are closed.

  19. 2026-09-17v0.155.0

    Adds experimental /voice conversations over WebRTC with live transcripts and microphone controls, enabled through /experimental on supported builds. macOS builds can require Touch ID before an MCP request proceeds, and the agents overview gains task hiding, archiving and deletion plus worktree ownership details.

  20. 2026-09-09v0.154.0

    GPT-6 Astra is added to the model picker and to Amazon Bedrock catalogs. Experimental worktree support (`--worktree` or `/worktree`) gives a new or forked session its own isolated checkout, and Windows sessions can share one background Codex server.

  21. 2026-09-03v0.153.0

    Adds a plugin command line that lists, installs and removes plugins from remote marketplaces; Vim mode gains undo and redo, and TUI sessions reconnect after an app-server drop without losing the draft.

OpenAI Codex in the news

  1. 2026-11-24NOTÁVELCodex CLI 0.172.0 — Tab-completes slash commands, adds Bedrock sign-in
  2. 2026-11-20NOTÁVELCodex CLI 0.171.0 — GPT-6.2 Sol becomes the default, TUI workspace on
  3. 2026-11-18NOTÁVELCodex CLI 0.170.0 — realtime voice calls in the terminal over WebRTC
  4. 2026-11-13NOTÁVELCodex CLI 0.169.0 — side-chat tabs, task search and collapsible turns
  5. 2026-11-13NOTÁVELCodex CLI 0.168.0 — side-by-side chats, audio clips and animated GIFs
  6. 2026-11-12NOTÁVELCodex Security 0.10.0 — OpenAI's scanner can resume scans and cap costs
  7. 2026-11-05NOTÁVELCodex CLI 0.167.0 — an agent command center and backend switching
  8. 2026-11-04GRANDEOpenAI to acquire Pierre Computer — Code Storage is coming to Codex

Do Feed de lançamentos do AI/TLDR — cada item é verificado na fonte quando é publicado.

How OpenAI Codex compares

OpenAI Codex alongside other open-source autonomous coding agents tools AI/TLDR tracks, ranked by GitHub stars.

FerramentaEstrelasO que faz
opencode★ 230kOpenCode is an open source AI coding agent that runs in your terminal, with built-in build and plan agents and an optional desktop app.
Claude Code★ 158kAnthropic's agentic coding tool for the terminal, IDE and GitHub: it understands your codebase, executes routine tasks, explains code and handles git workflows from natural-language commands.
Orca★ 147kOpen-source desktop workspace that runs Claude Code, Codex, OpenCode and other CLI coding agents in parallel, each in its own git worktree, with a mobile companion app.
OpenAI Codex★ 137kAgente de programação da OpenAI: um CLI de código aberto que roda localmente, mais versões para IDE, aplicativo de desktop e nuvem (Codex Web)
Pi★ 125kMinimal terminal coding agent harness with four built-in tools, extended through TypeScript extensions, skills and prompt templates instead of forks.
Gemini CLI★ 109kAn open-source command-line AI agent from Google that connects your terminal to Gemini models for reading code, editing files, running shell commands, and searching the web.
autoresearch★ 101kKarpathy's minimal harness that hands a coding agent a single-GPU LLM training script and lets it run fixed five-minute experiments, keeping or discarding each change on its own.
OpenHands★ 94.6kAn open-source AI software-development agent that plans tasks, edits files, runs commands, and tests code, usable from a terminal CLI, a local web GUI, or a Python SDK.