Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 3.12 KB

vscode-codex.md

File metadata and controls

78 lines (62 loc) · 3.12 KB
id agents.docs.install.vscode-codex
title Install WebDev Agent Kit for VS Code Codex
doc_type user-guide
layer docs
status active
publishable true
local_only false
tags
docs/install
client/codex
parent
[[docs/install/README|Installation Guides]]
related
[[docs/install/gpt-model-routing]]
[[docs/install/first-run|First Run And Installation Checks]]
[[docs/install/upgrade|Upgrade And Rollback]]
[[common/client-adaptation-policy|Client Adaptation Policy]]
[[docs/mcp/codex-vscode|MCP in VS Code Codex]]
depends_on

Install WebDev Agent Kit for VS Code Codex

Before extracting, complete the first-run checks. For an existing installation, use upgrade and rollback to preserve local state.

  1. Download the latest VS Code Codex package.

  2. Extract the archive into the project root. After extraction, the .agents/ directory must be located directly in the root next to the project files.

  3. Add the following root-anchored entries to the project's .gitignore so the local agent kit, Codex configuration, generated project context, and root instruction pointer are not committed to the remote repository:

    /.agents/
    /.codex/
    /AGENTS.md
  4. Open the Codex extension in VS Code and send this prompt:

    Adapt this .agents bundle to my project and create AGENTS.md in the root
    
  5. Select the frontend role or designer role for this conversation as described in role selection. Preserve your existing personality and global instructions.

  6. After adaptation, Codex creates .agents/project/ with local project profiles, capability information, and path indexes. During subsequent work, it updates the affected context when project facts change substantially, for example after a major refactor or feature addition. This happens as part of tasks, not through background file monitoring. To refresh cached context manually, send:

    Update the project context after these changes.
    

Installation Video Guide

Watch the VS Code Codex installation video guide

← All installation guides · MCP setup · All documentation

GPT Subagents During Onboarding

For a compatible installed Codex surface, follow GPT model routing. Client capability and model availability must be confirmed; the VS Code target alias alone is not proof. Full onboarding includes missing local setup and read-only checks without a second confirmation; facts-only and Plan Mode requests exclude this phase.