| id | agents.docs.install.codex | ||||||
|---|---|---|---|---|---|---|---|
| title | Install WebDev Agent Kit for Codex | ||||||
| doc_type | user-guide | ||||||
| layer | docs | ||||||
| status | active | ||||||
| publishable | true | ||||||
| local_only | false | ||||||
| tags |
|
||||||
| parent |
|
||||||
| related |
|
||||||
| depends_on |
Before extracting, complete the first-run checks. For an existing installation, use upgrade and rollback to preserve local state.
-
Download the latest Codex package.
-
Extract the archive into the project root. After extraction, the
.agents/directory must be located directly in the root next to the project files. -
Add the following root-anchored entries to the project's
.gitignoreso the local agent kit, Codex configuration, generated project context, and root instruction pointer are not committed to the remote repository:/.agents/ /.codex/ /AGENTS.md
-
Start Codex from the project root and send this prompt:
Adapt this .agents bundle to my project and create AGENTS.md in the root -
After adaptation, Codex creates
.agents/project/with local information about the stack, architecture, available tools, and important project paths. During subsequent work, this context is updated when the project changes substantially. To request an update manually, send:Update the project context after these changes.
Full adaptation can set up missing local subagent roles. Existing working settings stay in place. Follow GPT model routing. To skip model setup, ask for project facts only. Plan Mode also leaves settings unchanged. After setup, refresh the client and check one real role invocation; a configuration file alone does not show that the role works.
← All installation guides · MCP for WebDev Agent Kit · All documentation