Skip to content

AI code generator

Code that fits your codebase.

Generate, refactor, test, and document code in TypeScript, React, Node, and SQL.
The agent panel mid-run: the plan, the files being written, the action list and the checks waiting to run, beside the explorer with modified files marked.The agent panel mid-run: the plan, the files being written, the action list and the checks waiting to run, beside the explorer with modified files marked.
An agent run in progress, captured from the workspace.

What it is

Ask for a component, an endpoint, a migration, or a test file. The agent writes it into the project, runs the type-check, and shows the diff.

Code generation inside a project, not in a chat window. Because the agent reads the surrounding files and runs the compiler, generated code matches your imports, types, and conventions more often than pasted snippets do.

repair attempts at most
2
agent tools, each shown as it runs
11
starter templates
115

These numbers come from the product’s own configuration, so they change when the product does.

01 · How it works

Step by step, in one workspace.

  1. Open the file or describe the module.
  2. Generate, refactor, test, or document, in Build or Ask mode.
  3. The sandbox runs type-check, build, or tests and the agent repairs failures (max two attempts).
  4. Read the diff; revert the run if you disagree.

02 · What you get

The parts that matter, in detail.

Sample data · try typing “drop”

SQL and migrations

Schema changes and queries against a connected PostgreSQL or Supabase database.

Tests

Vitest unit tests for a module, run in the sandbox to confirm they pass.

  • Components and pages

    React + TypeScript components styled with Tailwind, wired to existing state and routes.

  • API endpoints

    Express routes with validation, error handling, and typed request/response shapes.

  • Refactors

    Rename, extract, or restructure across files with every change recorded in the run.

  • Explanations

    Ask mode explains existing code without changing anything.

Questions, answered.

Do I own the code?

Yes. Projects are ordinary files stored in your workspace. You can download them, push them to GitHub, or deploy elsewhere at any time.

Which stacks are supported today?

Starter templates cover React + Vite + TypeScript + Tailwind single-page apps, static HTML/CSS/JS sites, Node + Express REST APIs, and Expo (React Native) mobile apps. You can import other repositories from GitHub, but the sandbox is tuned for these four.

Does the AI work out of the box?

Only when the operator of the Codexa instance has configured an Anthropic or OpenAI API key. Without one, AI features show a "not configured" state. Everything else (editor, runtime, deployment) works without AI.

What happens when the AI makes a mistake?

A snapshot is taken before every run, each run records its plan, tool calls, and changed files, and you can revert the run with one click. Validation (type-check, build, tests) runs in the sandbox and the agent repairs errors at most twice before handing control back.

Where does my code run?

Never inside the web application. On Cloudflare each project gets its own Container, started on demand, where the runner executes commands as an unprivileged user. Self-hosted runners use Linux namespaces with cgroup memory and process limits; Docker and E2B drivers are available for operators who prefer them.

Describe it.
Watch it build.

Free plan, no card. Your idea goes with you through sign-up, straight into a real project you can edit, run and deploy.

Creates a free account first; your idea is carried over.

Start building See pricing