Skip to content

Codex

Codex is OpenAI’s AI coding agent, available as a web-based IDE and a CLI. The web IDE is the easiest starting point.

Clone your application first:

Terminal window
anybuild clone <your-app-url>

Then open the cloned folder in your preferred environment:

  • Web IDE - open openai.com/codex and connect your project folder
  • CLI - install with npm install -g @openai/codex and run codex from the terminal inside the cloned folder

If your instance has more than one application, consider connecting your project at the instance level rather than inside a single application:

my_instance/
app1/ ← anybuild clone <app1-url>
app2/ ← anybuild clone <app2-url>

Open the my_instance/ folder in Codex. The AI can then see and work across all your applications in one session. CLI commands must be run from inside a specific application folder - open a terminal per application when you need to push or pull.

Prompt the agent

Describe what you want to build or change. The AGENTS.md file at the root of your project is picked up automatically - no manual context loading needed.

Review changes

Terminal window
anybuild status

Lists all locally modified files across the tracked folders (ui/lit/components, be/node, be/plv8).

Push to the platform

Terminal window
anybuild push

Deploys your changes back to the Anybuild application.

Pull latest

Terminal window
anybuild pull

Fetches the latest version of your application code from the platform.