code-anything.com
Sign inStart free

Get started with code-anything.

Two ways in: describe an app from scratch, or connect a repo and ship reviewed changes. This page walks both paths step by step, defines every term the product uses, and covers what to do when something goes wrong.

Start here

What this documentation covers

Everything on this page describes the product as it actually behaves: the tabs you will see, the words it uses for things, and the order operations happen in. Read the quickstart that matches your situation, then use the reference sections below it as you hit them.

The create path: you do not have code yet

You describe an application in plain English and get a real, running one back. The agent plans it, writes it, provisions the services it needs, and runs it in a sandbox you can open and click through. You refine it conversationally and visually, then publish it to a public URL. Nothing is installed on your machine and there is no configuration to do first.

Choose this if you are validating an idea, building an internal tool, or replacing a spreadsheet — and you would rather describe the outcome than assemble the parts.

Go to the quickstart ›

The edit path: you already have a repository

You connect a GitHub repository and describe a change. The agent indexes the codebase, works inside an isolated clone, runs your typecheck, tests and build against its own work, and opens a pull request. Your repository only ever changes when you merge that PR — the agent never pushes to your branches.

Choose this when the code already exists and the thing you actually want is a reviewable diff that has already cleared the checks.

Go to the quickstart ›

The two paths, side by side

Create — prompt to appEdit — repo to pull request
You start withAn idea, described in a sentence or twoAn existing GitHub repository
The agent producesA complete, running applicationA change to code you already own
Where work happensA fresh build sandbox with the backend code written inAn isolated clone of your repository
You get backA live preview you can publish with Go LiveA pull request with passing checks
How you iterateChat, click-to-target editing, screenshots, template and palette swapsFollow-up prompts and review comments on the PR
Who approvesYou, by pressing Go LiveYou, by merging the pull request
They are not tiers, and one is not the beginner version of the other. A project created here can be connected to a repository and worked on the same way afterwards.

What you need before you start

An account and a browser. That is the whole list for the create path — the workspace, editor, preview, database and deploys are all hosted, so nothing is installed and the same project follows you to whichever machine you sign in from. The edit path adds one thing: a GitHub repository you are allowed to authorise access to. No credit card is needed to start; what each plan includes is on billing.

Quickstart · create path

Prompt to a live website, step by step

Go from a sentence to a published app. A managed Postgres database, authentication, transactional email and payments are provisioned when your app needs them, so you are not wiring infrastructure before you can ship something real.

  1. Create an account

    Signing in puts you on the dashboard, which is both the project list and the starting point for a new build. No credit card is needed to start.

    What you see
    The dashboard, with a single prompt box at the top and a template gallery below it.
  2. Describe the app — or start from a template

    Type what you want in plain language: the screens, the data, who uses it and what they do. The more precise the description, the fewer edits you pay for later. If you would rather not start from a blank page, pick something from the template gallery first and describe your changes on top of it.

    What you see
    Suggestion chips under the box, and a gallery grouped by category — Animated, Portfolio, Commerce, Dashboard and the rest. A selected template stays pinned near the prompt with its palette, so you can see what you are building on, and you can clear it again.
    If it does not go to plan
    A vague first prompt still produces a working starting point — you keep steering it in chat afterwards, so do not agonise over wording.
  3. Answer the scoping questions in chat

    A new project opens in chat first. The agent asks about the parts of your idea it cannot guess — who signs in, what gets stored, whether money changes hands — and fills in a blueprint as you answer.

    What you see
    A Blueprint control in the project header. It stays labelled Blueprint while the scope is still thin and changes to Review blueprint once the agent thinks it has enough to build from.
  4. Review the blueprint and choose a build quality

    Opening the blueprint shows what is about to be built and which services it will use, with each one marked as managed for you or connected under your own account. You also choose how much effort the build should spend: Prototype is the fastest and cheapest with fewer checks, Standard is the balanced default, and Best researches current practice and reviews more before shipping.

    What you see
    A confirm action that reads Confirm & start building once the scope is ready, and Keep refining the scope… while it is not.
    If it does not go to plan
    Nothing here is permanent. You can change anything after the first build — the blueprint is a starting point, not a contract.
  5. Watch it build, then open the preview

    Confirming starts the first run. Your project gets a sandbox — an isolated container that holds the code and runs the dev server — and the Preview tab renders whatever is running inside it. This is your real app, not a mockup.

    What you see
    A boot panel with a terminal streaming the steps: claiming a container, booting the runtime, installing dependencies, starting the dev server. The first start provisions the container from scratch, which can take up to a minute.
    If it does not go to plan
    If the boot fails, the start control turns into a retry. The terminal output above it names the step that failed.
  6. Iterate in chat, and visually in Studio

    Keep describing changes in chat the way you would to a colleague. For design work, the Studio tab is the visual surface: it has a live mode where you arm element selection, click the thing you mean in the running app, and describe the change against that focus instead of explaining where it is on the page. You can also attach a reference image to a message when you want the agent to match a look.

    What you see
    The preview updating as changes land. The Preview tab itself keeps just two controls — refresh, and open the running app in a new tab — because selection moved to Studio.
  7. Check what actually got built

    Repository → Features lists every feature the agent has built for the project and whether the most recent build confirmed it still works. A passing build re-verifies the whole list; a failing one flags what it touched. Repository → Changes shows the history of accepted states.

    What you see
    A feature list with a verification status against each entry.
  8. Go Live for a public URL

    Repository → Deploy carries the Go Live action. It ships the current build to production hosting on Cloudflare and gives the project a real, public address over HTTPS. Once a project is live the same button becomes a redeploy, so publishing is something you do continuously rather than once.

    What you see
    A deployment status card with the live URL, when it last shipped, the sandbox preview URL, and the Cloudflare project — which is provisioned on the first Go Live.
    If it does not go to plan
    Every attempt is written to the deploy history on the same tab, including the failures, so you can see what shipped and when.

Example

chat — a first prompt and what comes back
Build a landing page for a neighbourhood bakery.
Show today's specials, an order form, and an email signup.
Scaffolding the project…
Wiring an orders table (Postgres) + email signup (Resend).
✓ Live preview ready — open it and keep describing changes.

What gets provisioned for you

Services are created when your prompt actually calls for them, on established providers rather than bespoke infrastructure — so a simple page stays simple.

  • Managed Postgres database on Supabase
  • Authentication and user sessions
  • Transactional email through Resend
  • Stripe checkout and subscriptions
  • Hosting, builds and HTTPS on Cloudflare

Details on each of these live under integrations.

YOUR WORKSPACE · NOTHING HERE IS PUBLIC YETa sentencewhat you type in chata blueprintit fills as you answerone runplan · edit · verifythe previewyour app, runningGo Liveyou press thisyour URLHTTPS, and it stays upGo Live builds the project inside itssandbox, scans what the build produced,and ships that output to Cloudflare.A scan finding a secret in the shipped bundle stops the deploy rather than publishing it.
The blueprint conversation never touches a sandbox, and the preview is a dev server inside one. Neither is on the internet. Go Live is the first moment a Cloudflare project exists for your app — it is created on that first press, not before.

Quickstart · edit path

Connect a codebase and ship a reviewed pull request

Already have a repository? Point the agent at it. It indexes the code, works in an isolated clone, verifies its own changes against your real gates, and hands you a pull request to review.

  1. Open a GitHub project

    The workspace navigation has an entry for opening a GitHub repository. Connect your GitHub account and it lists the repositories you can reach so you can open one in a click — or skip that and paste a repository directly. Both the full https://github.com/owner/repo URL and the shorter owner/repo form are accepted.

    What you see
    A note that access is requested only to clone and import, and that your token stays server-side. Private and archived repositories are labelled in the list.
    If it does not go to plan
    Connecting repositories and opening pull requests is listed on the Pro plan. Check the plan comparison if the option is not available to you.
  2. Let the import finish bringing the project up

    Import is a sequence, and the overlay names each stage as it happens: cloning the repository, loading the code into the editor, reading the codebase, installing dependencies, and starting the live preview. Reading the codebase builds two complementary indexes — a semantic one of what the code does, so you can ask for behaviour without knowing file names, and a symbol-aware one of definitions and references, so the agent can see what a change will ripple into.

    What you see
    Repository → Structure, generated for connected repositories, describing entry points, routes and the modules everything else depends on.
    If it does not go to plan
    Your local .env is gitignored, so it never arrives with the clone. Expect the environment keys to start empty — step five deals with that.
  3. Describe the change

    Ask for a feature, a fix or a refactor in plain language. Because the index is semantic, you can describe the behaviour you want changed rather than pointing at a file — "where do we calculate the cart total" is a usable instruction.

    What you see
    The agent working through the task in chat, with the files it is reading and editing.
  4. The agent edits inside a sandbox clone

    No edit happens in your repository. Work is done in an isolated clone, which is why an unfinished or wrong change can never reach your branches.

    What you see
    Repository → Changes, which states the rule plainly: a connected repository only ever changes through a reviewed pull request.
  5. Fill in the secrets the app needs to run

    If the project needs credentials to run, Manage → Environment lists the keys it declares, grouped by the provider that needs them, each marked set or missing. Paste values there, or paste a whole .env at once. Manage → Connections is the sibling surface: connect a provider account and it can fill some of those keys for you.

    What you see
    A missing-secret warning on the Manage tab, and a banner over the preview reading that a number of required secrets are missing and the preview may not fully work.
  6. Verification runs before you look

    Typecheck, your test suite and a full build run against the change inside the sandbox. If a gate fails the agent keeps working there rather than handing you something broken.

    What you see
    The run recorded under Manage → Usage with its verdict and what it cost.
    If it does not go to plan
    A run that cannot get to green is still recorded. Read the failure in chat and reply with the missing context — a needed environment value, a convention it got wrong, a test that was already red.
  7. Review and merge the pull request

    You get an ordinary pull request against your repository: a diff scoped to the task you asked for, with the checks already run. Read it, ask for tweaks, merge when it looks right. You remain the reviewer of record and nothing lands without you.

    What you see
    The PR in GitHub, exactly as you would see one from a colleague.

Example

a representative edit, start to finish
connect  github.com/acme/dashboard
indexing the codebase…

task  "add CSV export to the reports page"
→ editing in an isolated sandbox clone
✓ typecheck  ·  ✓ tests  ·  ✓ build
→ opened a pull request — scoped to the task, ready for review

Reference

Core concepts and glossary

A short vocabulary makes the rest of the documentation readable. These are the words the product uses in its own interface, defined once here so nothing later has to explain itself.

Project
One app. A project owns its own code, its sandbox, its preview, its environment values and its deploy target. The free plan covers one active project; paid plans lift that.
Workspace
The set of tabs around a project: Editor, Chat, Preview, Studio, Repository, Agents and Manage. Repository groups Changes, Structure, Features and Deploy; Manage groups Environment, Connections, Usage and Ownership.
Sandbox
The isolated container your project is edited and run in. It is not your laptop and not your repository, which is what makes an in-progress change harmless.
Preview
The dev server running inside the sandbox, rendered in the Preview tab. It is billed per second while running and sleeps on its own after about five minutes with no activity — an idle window, not a countdown from when you started, since every request resets it.
Run
One pass of agent work — plan, edit, verify. Each run is recorded with what it consumed and whether it was accepted, which is what the Usage tab counts as builds run and builds shipped.
Blueprint
The scope summary for a project still being drafted: what will be built and which services it will use. It fills in as you answer questions in chat.
Build quality
How much effort a build is allowed to spend, and the one lever you control over cost. Prototype is fastest and cheapest with fewer checks — the right choice for testing whether an idea is worth having. Standard is the balanced default. Best researches current practice and reviews more before shipping, which is slower and a bit pricier, and is what you want for something people will rely on.
Go Live
The action on Repository → Deploy that ships the current build to production hosting on Cloudflare and returns a public HTTPS URL. On a project that is already live, the same action redeploys. It publishes a static build, so every project generated here can go live; an imported repository can only go live if it builds to static output.
Pull request
How a connected GitHub repository changes. The agent works in a sandbox clone and opens a PR; you review and merge it. The agent never pushes to your branches — the one thing that writes to main without a PR is a progressive rollout you promote yourself.
Connection
A provider account attached to the project on Manage → Connections. A connection can fill the environment keys that provider needs, either under your own account or under a managed one.
Credits
The units usage is metered in, split into build credits and runtime credits. Your plan carries a monthly allotment; the balance, the ledger and the per-run cost all live on Manage → Usage.
Agent
The worker that plans, edits and verifies. The Agents tab also covers the automatic repair that runs on every build and the standing agents you can switch on to watch a lifecycle, a URL or a business event.

Every one of these has a longer page behind it under capabilities.

Reference

Limits: where the platform stops

Every one of these is a real constraint rather than a coming-soon. Knowing them up front is what makes the rest dependable.

  1. Vague prompts make vague apps. An underspecified brief is not rejected — it is interpreted. If the outcome matters, describe the edge cases, the roles and the rules rather than only the happy path.
  2. Verification is as strong as your checks. On the edit path the agent runs the checks your repository already defines. A codebase with thin tests gets a thinner guarantee, and the pull-request review matters more.
  3. Big changes are better split up. A sweeping rewrite described in one sentence is harder to review than the same work requested as a handful of smaller, self-contained changes — the same rule that applies to a human contributor.
  4. Taste and compliance stay yours. A template or palette gets you further, but the last ten percent of art direction is a human decision — as are licensing, content and any regulatory obligation your product carries.

What still takes effort from you

The work does not disappear; it changes shape. You spend less time typing and more time deciding: saying what you actually want (the agent makes a decision for every detail you leave out), reading the result (the preview, or the diff — automated checks prove the code runs, not that it does the right thing), and owning the judgement calls about what is done, what is safe to ship and who may see which data. No irreversible step happens without a person choosing it.

The trade-offs we made on purpose ›

Guide

Working with the live preview

The preview is your project actually running — a dev server inside its sandbox, not a rendering of one. Understanding when it starts, when it sleeps and what it costs is most of what you need to know about it.

  • Starting and waking it

    Opening the Preview tab on a sleeping project starts the sandbox for you, with a start control and a terminal that streams the boot steps beside it. The first start of a project provisions a container and installs dependencies, so it is the slow one — later starts are warm. If a boot fails, the control becomes a retry.

  • Editing what you can see

    Element selection lives on the Studio tab rather than here. Studio has a live mode where you arm selection, click an element in the running app, and describe a change scoped to that focus. The Preview tab itself deliberately keeps only two controls: refresh, and open the running app in a new browser tab.

  • When a secret is missing

    If required environment keys have no value, a banner sits over the preview saying how many are missing and warning that the preview may not fully work. It links straight to the Environment tab so you can paste them.

EVERY REQUEST RENEWS THE CLOCKyouclicking around the previewthe agentrunning a tool in the sandboxthe workspaceheld open while you readthe sandbox containeryour dev server lives in hereIDLE CLOCKknocked back to zero by every one of themasleepscaled to zero, billing nothingwoken by your next visita deployed site is not this container
The timer is not a countdown from when you started it — every request renews it, so a sandbox you are working in never sleeps and one you walked away from bills nothing. A deployed site is separate machinery and stays up either way.
preview tab — a cold start, as the terminal reports it
Booting the preview…
· claiming a sandbox container…
· booting the runtime…
· installing dependencies…
· starting the dev server…
· almost there — finishing the first boot…

What a running preview costs you

The sandbox is billed per second while it is awake, and it puts itself to sleep after about five minutes with nothing hitting it — you do not have to remember to stop it. That five minutes is an idle window rather than a countdown from when you started: loading the preview, the agent running a tool, and the workspace held open while you work all reset it, so a sandbox you are actively using stays up and one you have walked away from does not. That consumption is metered as runtime credits, separately from the build credits the agent spends thinking.

  • Starting a cold sandbox is the slow path; warm restarts are quick
  • Sleeping costs nothing — waking it is a single action
  • A deployed site stays up regardless of the sandbox
  • Per-run and per-project spend is itemised on the Usage tab

Guide

Connecting a GitHub repository

Bringing an existing codebase in is a one-way, read-and-rebuild operation: the repository is cloned into a sandbox, understood, and reconstructed as a project you can keep working on. Your remote is untouched until a pull request is merged.

What the import actually does

  • Clones the repository into an isolated sandbox
  • Detects the stack so it knows how to install and run it
  • Indexes the codebase semantically and by symbol
  • Rebuilds the project's features, structure and docs

Accepted forms are the full repository URL or the shorter owner and repository name.

The guarantees worth knowing

  • Edits happen in a clone, never in your working repository
  • Changes reach you as a pull request, never as a push
  • Typecheck, tests and build run before the PR opens
  • Access is scoped to the repositories you authorise, and revocable

More on the mechanics in the GitHub PR agent and sandbox verification.

what an import reports back
open  https://github.com/acme/dashboard
✓ cloned into an isolated sandbox
✓ stack detected — install and dev commands resolved
✓ codebase indexed — semantic + symbol graph
✓ features, structure and docs rebuilt
→ ready: open the project and describe a change

Connections versus environment values

These are two different surfaces on the Manage tab and it is worth keeping them straight. Connections attach provider accounts — GitHub, and the services your app talks to — and a connection can fill the keys that provider needs. Environment is where the keys themselves live, including everything no provider can supply. A key filled by a connection is shown as coming from it rather than as something you typed.

A connection can run under your own account, which you own from day one, or under a managed one that can be handed over later. The Ownership tab records what is provisioned where, with each provider id, so a handover is a first-class operation rather than a migration.

YOUR REPOSITORY · THE DEFAULT BRANCHnever a direct pusha sandbox cloneyour files, laid over real historya new brancha fresh one, every timea pull requestthe checks already runyou mergeor you do notA build or a deploy already touching the tree makes this route refuse rather than race it.
The agent works on a clone with your current files laid over it, so the diff is against your real history. The branch it pushes is a new one every time, and the only edge into your default branch is the merge you perform yourself.

Guide

Environment variables and secrets

Anything your app needs at runtime and cannot hold in source control lives on the project's Manage tab, under Environment. It lists every key the app declares, grouped by the provider that needs it, each marked set or missing.

How values are stored and used

  • Every value is stored encrypted on the server and injected into your running preview. A secret is never read back to the browser — a key that already has a value shows a mask and an option to clear it.
  • Each key is either a secret or a plain variable. Secrets are hidden; variables stay visible and editable, which is what you want for anything that ends up in client-side code.
  • On a bulk import, publicly-prefixed keys — the NEXT_PUBLIC_ and VITE_ families — are stored as visible variables, and everything else is stored as a secret.
  • Pasted .env text is parsed mechanically by the server. Comments and blank lines are ignored, quoted values are unquoted, and no model ever sees the contents.
  • Keys a connected provider can supply are filled from that connection instead, and show as coming from it rather than as something you typed.
bulk import — paste a whole .env at once
DATABASE_URL="postgres://…"
STRIPE_SECRET_KEY=sk_live_…
NEXT_PUBLIC_SITE_URL=https://example.com
# comments and blank lines are ignored
✓ parsed mechanically — no model reads these values
✓ NEXT_PUBLIC_* stored as a visible variable
✓ everything else stored encrypted as a secret
✓ injected into the running preview
the modelnever reads the valuesyou paste itthe whole .env, at oncethe server parsesa regex, line by linesealedAES-256-GCMthe containerits .env, written freshproject_secretsciphertext, and nothing elseiv · ciphertext‖tagread it back••••••••••a mask, or clear itKeys whose names say they areclient-side — NEXT_PUBLIC_, VITE_and that family — stay visibleinstead. The browser bundlewould show them anyway.A row read straight out of the database is useless without the key, and the key is not in the database.
The master key lives in the control plane and never beside the ciphertext, so the database on its own holds nothing usable. The value is opened once, to write the container’s own .env — and that file is wiped whenever the container recycles, which is why it is written again on every fresh start.

Guide

Custom domains and deployment

Deploying is one action, and it lives on the Deploy tab inside the Repository group. Going live promotes the build you have been previewing to production hosting on Cloudflare — the app you reviewed is the app that ships.

Going live

The deployment status card is the whole picture: the live URL, when it last shipped, the sandbox preview address, and the Cloudflare project — which does not exist until your first Go Live and is provisioned then. Once a project is live the same action becomes a redeploy, so shipping is continuous rather than a one-off ceremony.

  • Every attempt is written to the deploy history, failures included
  • HTTPS is handled for you on every address
  • Hosting runs under a managed account, transferable later
  • A live project can be listed publicly on the showcase, if you want it to be

Which projects can go live today

Go Live publishes a static build to Cloudflare Pages, so what it can ship depends on how your project builds. Every project generated here is a Vite app and goes live without qualification — this is the ordinary path and there is nothing to check.

A repository you imported goes live only if it builds to static files. Vite, Create React App, Astro, SvelteKit, Vue CLI, Angular and plain static sites are deployable today. A framework that needs a server at runtime — Next.js, Nuxt, a Node service — is not yet, and neither is a monorepo: the preview still runs it and the agent still opens pull requests against it, but Go Live returns a plain refusal saying so rather than shipping something broken. Those paths are being built.

Generated projectsAlways deployable
Imported static-output repositoriesDeployable
Imported server frameworks and monoreposPreview and pull requests work, Go Live does not yet

Rolling out gradually

The same tab offers a progressive rollout: route a slice of traffic to a new build, watch how it behaves, then widen it or pull it back. It is the safer path for a change you are not certain about, and it is worth using before a risky release rather than after one.

Attaching your own domain

A domain can only be attached to a project that is already live, so go live first. Enter the hostname you want to serve from, and the panel returns the single DNS record to create at your registrar. It then reports the status until the domain goes active, and you can ask it to re-check rather than wait.

  1. Deploy the project so it has a live URL
  2. Enter the hostname and attach it
  3. Create the DNS record the panel shows, at your registrar
  4. Wait for it to report active — certificates are automatic
the DNS record the panel gives you
Type    CNAME
Name    app            (or @ on a root domain)
Value   <your project>.pages.dev

# the panel shows the exact values for your project — copy them from there
● pending  — the record has not been seen yet
● active   — serving from your domain over HTTPS

You keep the domain and buy it wherever you like; only its DNS points here. See custom domains.

Guide

Workspace monitoring and health checks

Shipping is not the end of the job. A project keeps correcting and reporting on itself after it goes live, so a broken build or a bad deploy surfaces on its own rather than waiting for someone to notice.

Automatic repair on every build

Every build self-corrects before you see it. It verifies typecheck, tests, the production build and runtime errors, repairs what failed and re-checks — with a behavioural pass and a visual pass alongside. A build is accepted only when it is green and in scope; otherwise it is held for your review rather than shipped broken.

Standing agents you switch on

Alongside that automatic pass, the Agents tab lets you turn on agents that keep watching after the build ends — over a project lifecycle, a URL, or a business event, around the clock. Open alerts surface on the same tab.

Checkpoints you can rewind to

Every build checkpoints the code, and Repository → Changes keeps a version history you can rewind the sandbox to. The current state is snapshotted before a rewind, so the rewind itself is reversible; where the project has a provisioned database, its data is snapshotted and restored alongside the code.

Feature-level verification

Repository → Features is the honest ledger of what exists. A passing build re-verifies every feature on the list; a failing one flags what it touched.

A record of everything that shipped

Repository → Deploy keeps a deploy history: every Go Live, what shipped, when, and whether it failed. It is the first place to look when you need to identify a bad release.

Usage you can actually read

Manage → Usage shows builds run, how many shipped, total spend and the last build, plus a per-run breakdown and the credit ledger for the account.

THE HISTORY ONLY EVER GROWSa builda builda buildnowyou pick this onethe old tree is replayed forwarda safety snapshot of nowrestored to that buildNothing between the two is discarded, so changing your mind is another restore, not a loss.The tree is rebuilt from the durable snapshot, which outlives the sandbox it was made in.
Restoring does not move you back along the history — it writes two new entries at the end of it. The state you were in when you pressed it is saved first, so the restore is itself reversible, and the tree is rebuilt from a durable snapshot rather than from the sandbox, which may be long gone.
usage tab — what a project has cost
At a glance
builds run          · every run the agent has made
shipped (accepted)  · how many of them landed
total spend         · itemised per run, not estimated
last build          · when it happened

Reading the credit picture

Credits come in two buckets — build credits for the agent's model work, runtime credits for the compute your sandbox uses. Your plan carries a monthly allotment, and the Usage tab shows the balance against it plus an immutable history of grants and deductions. Plan, balance and top-ups are managed for the whole account rather than per project.

Third-party provider subscriptions billed to you directly are estimated separately on the same tab, so infrastructure you pay for yourself is never conflated with credits. The account-level billing page is where the plan itself, the balance and one-time top-ups are managed.

Compare plans ›

The repair loop, standing agents, alerts and limits, in the agents reference ›

Reference pages

The topics that need more room than this page has. Each one is a full page of its own, written for the people who want to know exactly how it works.

Capabilities and bricks

How the jobs chain together, the six vetted bricks, and what they replace in a hand-built stack.

Read the page ›

Agents: reference

The repair loop in every build, standing agents, alerts, approvals and the limits they run inside.

Read the page ›

Integrations

The six services built in, connecting anything else over HTTP, where keys live, and one environment for preview and production.

Read the page ›

Billing and credits

Build and runtime credits, each plan’s allotment, what bounds a run, running out, and changing or cancelling a plan.

Read the page ›

Templates

What a template carries, how to choose one, and how customising it edits real files.

Read the page ›

Colour palettes

The seven colour roles, how a palette reaches the code, editing, and contrast basics.

Read the page ›

Elements library

Drop-in components: categories, themes, recolouring, the library API and licensing.

Read the page ›

Showcase and remix

Publishing a live app, exactly what a card makes public, what a remix copies, and taking an app off again.

Read the page ›

Teams, security and procurement

Change control, data handling, access, reliability, support and billing for a review.

Read the page ›

Working with a partner

When to hire one, the eight kinds of engagement, how to brief, who pays for what, and who does which half.

Read the page ›

Evaluating an AI app builder

Four kinds of tool, ten questions to test any of them on, and the trade-offs we made on purpose.

Read the page ›

Getting help

Where to ask what, writing a bug report or a feature request, what happens after, and the house rules.

Read the page ›

How the roadmap is run

The three stages, how priorities are decided, and what is deliberately not planned.

Read the page ›

Reference

Troubleshooting common problems

Most problems are one of eight things, and nearly all of them are diagnosable from the workspace itself. Find the symptom, work down the checks in order.

The preview will not start

  1. A cold start provisions a container and installs dependencies — give the first boot up to a minute before assuming it is stuck.
  2. Read the terminal in the boot panel. It names the step that failed rather than just reporting failure.
  3. If the start errored, the button turns into a retry. A second attempt clears most transient container problems.

The preview loads but a feature is dead

  1. Look for the missing-secrets banner over the preview. It counts the required keys that have no value.
  2. Open Manage → Environment and fill anything marked missing.
  3. If the value should come from a provider account rather than a paste, attach it on Manage → Connections instead.

The preview looks stale or has gone blank

  1. While a build is running, the preview deliberately keeps showing your last stable version and labels it as such, then refreshes itself when the build finishes — so you never watch a half-built page. Stale during a build is the intended behaviour.
  2. Use the refresh control on the preview before anything else — a hot reload can drop a frame.
  3. The sandbox sleeps after about five minutes with nothing hitting it, so the first visit after a break may need it started again. Anything that touches it — loading the preview, the agent running a tool, the workspace held open while you work — resets that clock, so it only sleeps once you have genuinely stopped.
  4. Open the app in a new tab from the preview controls to rule out an iframe problem.

A build failed or the agent could not finish

  1. Verification runs typecheck, tests and a build in the sandbox, so the failure is a real one — it is not a formatting complaint.
  2. The run is still recorded on Manage → Usage with its verdict, so you can see what it did before it stopped.
  3. Repository → Features flags what a failing build touched, which is usually the fastest way to see the blast radius.
  4. Reply in chat with the missing context — a value it did not have, a convention it got wrong, a test that was already red.

An imported repo looks empty or wrong

  1. Import clones the repository, detects the stack, indexes the codebase and rebuilds features, structure and docs. Let it finish before judging it.
  2. Repository → Structure is generated for connected repositories — if it is empty, the import did not complete.
  3. Confirm you pasted the right repository. Both https://github.com/owner/repo and owner/repo are accepted, so a typo is easy to miss.

None of my environment values came across

  1. This is expected. A local .env is gitignored, so it is never part of the clone.
  2. Use the .env import block on Manage → Environment to paste the whole file in one step.
  3. Anything a provider can supply is better attached as a connection than pasted by hand.

My custom domain is stuck pending

  1. The domain only goes active once the DNS record shown in the panel exists at your registrar. Check the type, name and value character for character.
  2. The panel polls on its own and also offers an explicit status check if you do not want to wait.
  3. On a root domain, registrars that refuse a CNAME at the apex need their CNAME-flattening or ALIAS record instead — the panel says so when it applies.
  4. DNS propagation is outside anyone’s control. If the record is right, the remaining variable is time.

A deploy shipped something broken

  1. Repository → Deploy records every Go Live — what shipped, when, and whether it failed — so you can identify the bad one.
  2. Repository → Changes holds a version history of build checkpoints. Rewinding the sandbox snapshots the current state first, so the rewind is itself reversible.
  3. Use progressive rollout to route a slice of traffic to a new build, watch it, then widen it or pull it back.
  4. Fix forward in the preview and redeploy; the live site follows the same one-action path it did the first time.

Something broke after a platform update

Platform releases change the machinery — the agents, the build pipeline, monitoring, deploys and the workspace — but never rewrite the code inside your project. If something behaves differently and you did not expect it to, these four steps turn a vague “it stopped working” into something that can be fixed, and get you unblocked meanwhile.

  1. Reproduce it once, deliberately. Note what you did, what you expected, and what happened instead. The answer often surfaces while you write the reproduction down.
  2. Check whether it is your project or the platform. Look at the most recent build and check results. If the last build failed or a check is red, the cause is usually a change inside the project. If everything is green and the behaviour is still wrong, it is worth reporting.
  3. Rewind if you need the working version back now. Version history on Repository → Changes keeps earlier versions, so you can rewind to the last one that behaved and investigate from a working baseline.
  4. Tell us, with the details attached. The reproduction, the project, and roughly when it started — to hello@code-anything.com. How releases are gated and rolled out is on teams and security.

Documentation questions, answered

Do I need to know how to code to use the docs on this page?

No. The prompt-to-website quickstart assumes no programming at all — you describe an app in chat and refine it visually. The second quickstart, connecting a GitHub repository, is written for developers who already have a codebase and want reviewed pull requests.

Which quickstart should I follow?

If you do not have a codebase yet, follow the prompt-to-website path: it scaffolds a real project, runs it in a sandbox and publishes it to a public URL. If you already have a repository and want the agent to work inside it, follow the codebase path — every change arrives as a pull request you review.

What is the difference between the preview and the live site?

The preview is your app running inside its sandbox, and it sleeps after about five minutes with no activity — every request resets that clock, so it only sleeps once you have actually stopped. Go Live promotes that same build to production hosting on Cloudflare with a public HTTPS address, which stays up whether or not the sandbox is awake.

Where do I put API keys and other secrets?

On the project’s Manage tab, under Environment. Every key the app declares is listed there and marked set or missing. Values are stored encrypted and injected into the running preview, and a key stored as a secret is never shown again. You can also paste an entire .env file at once.

Why did my environment variables not come across when I imported a repository?

A local .env file is gitignored, so it is never part of what gets cloned. That is why the Environment tab includes a bulk import block: paste the contents of your .env and the server parses and stores the keys in one step, without any model reading the values.

How do I connect my own domain?

Go Live first, then attach the domain on the same Deploy tab. The panel shows the DNS record to add at your registrar — its type, name and value — and reports the status until the domain goes active, with HTTPS handled for you. If your registrar refuses a CNAME at a root domain, use its CNAME-flattening or ALIAS record.

Can I Go Live with a repository I imported?

If it builds to static files, yes — Vite, Create React App, Astro, SvelteKit, Vue CLI, Angular and plain static sites deploy today, using the framework’s own build command and output directory. A framework that needs a server at runtime — Next.js, Nuxt, a Node service — cannot yet, and nor can a monorepo. In those cases Go Live refuses with a message naming the reason instead of shipping a broken deploy; everything else about the project still works, including the live preview and the pull-request workflow. Projects generated here are Vite apps, so they are always deployable.

Can the agent push directly to my repository?

No. Work happens in an isolated sandbox clone and lands as a pull request you review and merge. Your branches are never written to directly, which is the whole point of the sandbox. The single exception is one you drive yourself: promoting a progressive rollout fast-forwards main, because that is the action you asked for.

What checks run before I see a change?

Typecheck, your test suite and a full build, all inside the sandbox. If a gate fails the agent keeps working there instead of handing you broken code, so review starts from a passing baseline. For connected repositories this happens before the pull request opens.

What are build credits and runtime credits?

They are the two buckets usage is metered in — model work for builds, and compute for running your sandbox. Each plan carries a monthly allotment, and Manage → Usage shows the balance, the per-run cost of everything the agent has done, and the credit history for your account.

What can I see about a build after it has run?

Manage → Usage records every run with its cost and verdict. Repository → Features lists what has been built and whether the latest build confirmed it still works. Repository → Changes holds the history of accepted states, and Repository → Deploy keeps a record of every Go Live including the failures.

Does a project have to be live to use a preview?

No. The preview runs from the sandbox and is available long before you deploy anything. Going live is a separate, deliberate action on the Deploy tab, and a custom domain can only be attached once a project is live.

Can one project cover more than one use case?

Usually it should. A booking app is also an ops tool; a storefront is also a marketing page; a BI dashboard is also an internal tool. A single project can hold a public page, a signed-in area and an internal admin view.

Is everything available on the free plan?

No. The free plan covers one active project and the prompt-to-preview loop. Unlimited projects and going live to custom domains appear on paid plans, and connecting GitHub repositories to open pull requests is listed on Pro. The pricing page has the current comparison.

Keep exploring. Where to go after the docs.

Start your first build.

Describe an app or connect a repo — free to try, with nothing to configure.