Skip to content
Cairn

Stack an idea into working software.

Describe what you want. Cairn lays the first stones, then you shape the rest in a live editor with an assistant that edits right beside you.

Guests get one project with a live preview and the AI assistant. Sign in to save and use GitHub.

One stone at a time.

  1. Describe it

    Write what you want in plain language. A sentence is enough to start.

  2. Watch it assemble

    The assistant creates folders and files in your project and explains what it did.

  3. Shape it

    Open any file in the editor. Accept ghost-text suggestions, or select code and press ⌘K to rewrite it.

  4. See it run

    The preview runs your code in the browser, so every edit shows up as you type.

  5. Keep it

    Sign in to save projects, then import from or export to GitHub when you're ready.

An editor that works with you, not around you.

Quick edit

Select code, press ⌘K, say what you want. The change lands in place. Try it here.

function total(items) {
  let sum = 0;
  for (let i = 0; i < items.length; i++) {
    sum += items[i].price;
  }
  return sum;
}
⌘K · "make this a one-liner"

Ghost-text suggestions

Completions appear as faint text at your cursor. Tab accepts, keep typing to ignore.

Live preview

Run your project in the browser with a built-in terminal. No setup, no local install.

GitHub both ways

Import a repository to start from existing code, or export your project to a new repo.

Saved and in sync

Files save automatically and sync instantly, so a second tab always shows the latest.

No account needed to try it.

Open the playground and start. Nothing is stored on a server. Sign in only when you want to keep your work.

As a guest

  • One project with a live preview
  • Full code editor
  • AI assistant (a few requests per 10 minutes)
  • Saving: closing the tab clears it
  • GitHub import and export
Open the playground

Signed in

  • Unlimited saved projects
  • AI chat that edits your files, with history
  • Ghost-text suggestions and ⌘K quick edit
  • GitHub import and export
  • Real-time sync across tabs
Sign in

Under the hood.

Framework
Next.js 16 App Router with React 19 and TypeScript. Public pages skip auth middleware entirely.
Data and sync
Convex for the database and real-time queries, with Clerk issuing the identity tokens.
AI
Vercel AI SDK. The model provider switches between Google Gemini and Anthropic Claude based on which key is set.
Background jobs
Inngest runs each AI request as a job with retries, so a slow model never blocks the page.
Editor
CodeMirror 6 with custom extensions for ghost text, quick edit, a minimap and indentation guides.
Preview
WebContainers run Node projects in the browser. The guest playground uses a sandboxed iframe.