How it works
Prompt to production, step by step.


01 · The loop
Plan, generate, validate, run and ship.
The agent reads your prompt and the project files, then writes a short plan of the files it will create or change.
DetailsHide details
The agent receives your prompt together with a listing of the project files and the contents of the files it decides to read. It writes a short plan: which files it will create or change and why. In Ask mode it stops here and answers without editing.
Before any edit, Codexa creates a snapshot of the project. That snapshot is what the per-file diff and the revert action compare against.
It edits real files with tools (read, write, rename, delete). Every change is recorded, and a snapshot is taken first.
DetailsHide details
Edits happen through tools (read, write, rename, delete) against your real project files, stored by Codexa in Cloudflare D1 (snapshots go to R2). Each tool call and each file change is streamed to the browser as it happens, so you can follow along or cancel.
- Starter templates: React + Vite + TypeScript + Tailwind, static HTML/CSS/JS, Node + Express, Expo (React Native + TypeScript).
- Imported GitHub repositories are edited in place.
- Usage (requests and tokens) is recorded per run and counted against your plan; see credits.
Type-check, build, and tests run in an isolated sandbox. Errors are read back and repaired, bounded to two attempts.
DetailsHide details
The changed project is synced into an isolated sandbox where type-check, build, and tests run as allowlisted commands. Output is read back by the agent. If there are errors it attempts a repair, at most twice, and then hands control back to you with the errors visible.
Start a preview in the sandbox with streamed logs, viewport controls, and a share link.
DetailsHide details
Start a preview in the same sandbox. On Cloudflare each project runs in its own Container and the runner executes it as an unprivileged user (self-hosted runners use Linux namespaces with memory and process limits); a host-based proxy serves it at a preview hostname on a separate origin. Logs stream to the workspace and you can switch viewports to check responsive layouts.
Deploy to Codexa static hosting or Vercel, keep deployment history, and roll back in one click.
DetailsHide details
Deploy to Codexa static hosting: the build runs in the sandbox, the output is served at a subdomain, and every deployment stays in history so you can roll back. The Vercel adapter is available when a token is configured. Custom domains get CNAME instructions today; verification is planned.
Requires an AI provider
02 · FAQ
Questions, answered.
Short answers here; the docs have the full detail for every step.
Can I stop a run half way?
Yes. Runs stream their progress and can be cancelled. Whatever was changed up to that point is visible in the diff and can be reverted.
What if validation keeps failing?
After two repair attempts the agent stops and shows the errors. You can fix them in the editor, ask the agent in Fix mode with a specific error, or revert the run.
Does the agent run my code on its own?
Only allowlisted commands (install, build, test, type-check) in the sandbox. Starting the preview is a separate action you trigger.
Where is my code stored?
In Codexa's own storage: project files in Cloudflare D1 and snapshots in R2. You can export to GitHub whenever GitHub OAuth is configured, or download the files.
Try the loop on your own idea.
Free plan, no card. Your idea goes with you through sign-up, straight into a real project you can edit, run and deploy.
