Now in preview: free to start

The simplest platform for building with AI.

Paste one prompt into the AI you're building with. It builds your app on cubek and puts it online, with a database, live queries, tasks, storage and your domain.

For your agentCopy this and give it to the AI you're building with.
Build this with cubek (https://cubek.dev).
1. Install the CLI: curl -fsSL https://cubek.dev/install | sh
2. Run `cubek skill` and read all of it before writing code; it covers cubek's TypeScript subset, database and deploy. If this project already exists, port it the way the Skill describes.
3. Run `cubek login`, show me the URL it prints, and wait; it finishes on its own.
4. Keep `cubek check` and `cubek test` clean, deploy with `cubek deploy --prod`, and reply with the live URL.
No shell? Read https://cubek.dev/SKILL.md in full instead.
Prefer the terminal?
curl -fsSL https://cubek.dev/install | sh
cubek init my-app && cd my-app
cubek login
cubek deploy --prod

Built in

Everything an app needs, nothing to wire.

No add-ons, no connection strings, no YAML. The primitives are part of the runtime and typed in your editor.

A database per app

SQLite typed from schema.ts, migrations applied on deploy, full-text search, point-in-time restore.

db.notes.find({ limit: 20 })

Live queries

Pages update when the data they read changes. No sockets to wire, no cache to invalidate.

useQuery(notesQuery, { q })

Tasks and cron

Background jobs with retries and delays, cron schedules in UTC, a queue you can inspect.

task.schedule("digest", "0 8 * * *")

File storage

Uploads and blobs next to your data, with signed, expiring URLs for the browser.

storage.put(key, bytes)

Custom domains

Point a CNAME, get a certificate. www and apex redirects in one command.

cubek domains add example.com

Nothing to operate

Failover, backups, point-in-time restore and certificates are handled for you. It scales with your app.

cubek db restore --to 10:00

Made for agents

Your agent already knows how.

cubek is small enough to fit in a prompt. The whole platform is one Skill your agent reads once; the CLI is an MCP server it can drive.

  • The Skill: about 4K tokens that teach routes, data, templates, tasks and deploys. Read it.
  • MCP server: check, deploy, logs, SQL and the exact API types as tools.
  • Errors carry the fix: every compiler error names its canonical form, so agents correct themselves.
src/app.tsx
import { app, db } from "cubek"
import { Home } from "./pages/home"

app.get("/", async (c) =>
  c.render(<Home notes={await db.notes.find({ limit: 20 })} />))

app.post("/notes", async (c) => {
  const body = await c.body<{ title: string }>()
  const note = await db.notes.insert({ title: body.title })
  return c.redirect(`/notes/${note.id}`, 303)
})

Pricing

Free, for real. Custom when you outgrow it.

Two plans. No credit card, no trial clock, no surprise invoices.

Free

Generous by design

$0

Everything the platform does, with limits most apps never reach.

Projects
50
Database
1 GB each, 5 GB total
File storage
5 GB
Requests
200/s (≈500M/month), no sleeping
Egress
150 GB/month
Background task runs
600/min
Custom domains
10 per project
Point-in-time recovery
7 days

Custom domains with TLS, backups and failover included.

Start building free

Custom

Let's talk

For teams and products that need more than Free.

  • Limits sized to your workload
  • Dedicated capacity
  • Point-in-time recovery up to 30 days
  • Direct line to the engineers
Contact us

Ship your next idea today.

Sign in with GitHub or Google, then give your agent one prompt.