QUESTPIE
Star on GitHubStart free
v0.3.0 · MIT · TypeScript · Bun + Node

Your site.Your ops.Your infrastructure.One open stack.

QUESTPIE replaces the SaaS patchwork with one open-source stack: a typed backend framework, managed cloud, and AI agents that run your business. You own the code. You own the data.

Self-host
Free · MIT
Adapters
Hono · Elysia · Next · TanStack
Database
Postgres · Drizzle
collections/posts.ts
1export const posts = collection("posts")
2 .fields(({ f }) => ({
3 title: f.text(255).required(),
4 slug: f.text(160),
5 status: f.select(["draft", "published"]),
6 content: f.richText().localized(),
7 author: f.relation("users"),
8 }))
9 .admin(({ c }) => ({ icon: c.icon("ph:article") }));
/admin/posts
4 recordsNew
TitleStatusDate
Getting started with QUESTPIEPublishedMay 18
How AI agents run your opsDraftMay 17
Self-host vs managed cloudPublishedMay 14
Building custom collectionsReviewMay 12
QUESTPIE is open source. Star us on GitHub.
The fastest way to support a small team building everything in public.
questpie/questpie
The ecosystem

Three products. One platform.

Start with the open-source framework today. Add managed infrastructure and AI agents as you grow. Switch off any layer without losing your data.

[01]Available now

Framework

The base layer.

Server-first TypeScript application framework. Define collections once. Get typed API, admin workspace, validation, auth, jobs, and clients projected from one schema.

  • Collections + globals + hooks
  • Drizzle ORM + Zod + Better Auth
  • Hono, Elysia, Next, TanStack adapters
  • MIT. Runs in your codebase
Read the docs
[02]Q3 2026 · Waitlist open

Cloud

Runtime control plane.

Accounts, projects, environments, managed Postgres, storage, custom domains, builds, rollouts and observability. Plus hosted Autopilot for your account.

  • Health-checked deploys + rollback
  • Managed Postgres + storage + email
  • Custom domains + SSL automatic
  • Hosted Autopilot per account
Explore Cloud
[03]Q4 2026 · Early access

Autopilot

AI-native operating layer.

Like Linear for work, Lovable for app building, Zapier for automation. Issues, workflows, schedules, knowledge, agents and an AI builder. Open source.

  • Issues + durable workflows + schedules
  • AI builder for QUESTPIE apps
  • Pluggable agents · MCP · same RBAC
  • Slack / GitHub integrations
Explore Autopilot
01 · Framework

Backend architecture, executable.

Instead of manually wiring APIs, admin dashboards and operational tooling, QUESTPIE derives them automatically from your TypeScript schema.

collections/posts.ts
1import { collection } from "#questpie/factories";
2
3export const posts = collection("posts")
4 .options({ versioning: { workflow: true } })
5 .fields(({ f }) => ({
6 title: f.text(255).required(),
7 slug: f.text(160),
8 content: f.richText().localized(),
9 author: f.relation("users").required(),
10 status: f.select(["draft", "published"]),
11 }))
12 .access({
13 update: ({ session, d }) => d.authorId === session?.user.id,
14 delete: ({ session }) => session?.user.role === "admin",
15 })
16 .hooks({
17 beforeChange: ({ data }) =>
18 ({ ...data, slug: slugify(data.title) }),
19 })
20 .admin(({ c }) => ({ icon: c.icon("ph:article") }))
21 .list(({ v, f }) =>
22 v.collectionTable({ columns: [f.title, f.status] }))
23 .form(({ v, f }) =>
24 v.collectionForm({ fields: [f.title, f.content] }));
Collections
Define data once. Get CRUD API, validation, types, and admin views.
Admin workspace
Production-ready UI from your schema. Custom fields, access control, i18n.
Auth & RBAC
Better Auth built-in. Roles, OAuth, field-level permissions.
Jobs & workflows
Background tasks, scheduled jobs, durable workflows that survive restarts.
Adapter-first
Storage, cache, queue, search, email. Swap for what you already use.
End-to-end types
Schema → Drizzle columns → Zod → typed clients. No glue code.
Modules
Extension unit. Add collections, routes, services, views. Autopilot itself is a module on top.
Codegen + introspection
Plugin-driven codegen produces typed clients, OpenAPI, admin metadata from one schema.
Built for production
i18n built-in
Mark a field `.localized()` and it lives in a per-locale i18n table. Fallback chain, admin locale switcher, typed queries.
Realtime SSE
Every mutation writes to an outbox. Subscribers get live updates via pg_notify or Redis Streams. TanStack Query picks it up automatically.
Versioning + workflow
Opt into versioning per collection. Draft → review → published transitions. Revert to any version. Full audit trail.
Blocks · page builder
`f.blocks()` field type. Define block schemas server-side, register React renderers client-side. Server prefetches data for SSR.
Plug into your stack
One adapter line. The same typed app.
server.ts
1import { Hono } from "hono";
2import { questpieHono } from "@questpie/hono/server";
3import { app } from "#questpie";
4
5const server = new Hono();
6server.route("/api", questpieHono(app));
7
8export default { port: 3000, fetch: server.fetch };
One schema, many projections
Codegen turns your collection into everything around it.
Input
collection("posts")
  .fields({...})
  .hooks({...})
  .access({...})
  .list(v.collectionTable)
  .form(v.collectionForm)
$ questpie generate
REST API
GET / POST / PATCH / DELETE on /posts. Pagination, filtering, sorting.
Drizzle schema
Typed Postgres columns + indexes + FK constraints.
Zod validators
Input + output schemas. Field-level overrides honored.
Admin list + form
Server-driven views with filters, search, tabs, sidebar.
TypeScript types
`AppCollections["posts"]` exact shape across server and client.
OpenAPI + SDK
Auto-published OpenAPI. Typed client. TanStack Query hooks.
MCP tools
CRUD exposed to agents under the same RBAC. No prompt glue.
Realtime feed
Every mutation publishes to SSE. TanStack Query auto-refetches.
Start with the docsStar on GitHub$ bun add questpie drizzle-orm zod
02 · Cloud

The runtime control plane.

Accounts, projects, environments, managed Postgres, custom domains, builds and rollouts. Plus hosted Autopilot for your account. Framework stays free; Cloud is the part you'd rather not operate.

cloud.questpie.com / deploymentsus-east-1
Last 7 days
127
Deploys
84ms
p95
99.99%
Uptime
0 failed
Builds
Project · branchStatusTime
marketing-site prodlive2m ago
blog prodlive1h ago
marketing-site preview/feat-pricingbuilding3m
internal-tools prodliveyesterday
project · marekstreeteu-west-1
Environments
prod · marekstreet.barbersok
staging · staging.marekstreet.barbersok
preview/feat-pricing · preview-feat-pricing.questpie.appstep 3/6
Resources
Postgresshared-eu · 16 GB
Storage5.2 GB · S3-compat
Emailsend · verified
Domains2 · SSL auto
hosted Autopilot · mappedmarekstreet.autopilot ↗
Health-checked deploys
Durable build workflow, atomic switchover, one-click rollback when metrics regress.
Managed Postgres + storage
Provisioned, scaled, point-in-time recovery up to 30 days. S3-compatible object storage served via CDN.
Custom domains + SSL
Point DNS at QUESTPIE. Certificates and routing configured automatically.
Preview deploys per branch
Every PR gets a stable URL. Same pipeline as production, build cache reused across deploys.
Hosted Autopilot per account
Managed Autopilot installation mapped to your Cloud projects. AI builder + workflows + agents ready.
Logs, metrics, alerts
p95, errors, uptime in dashboard. Alerts to your channels. Same data Cloud uses for health checks.
Backups + audit
Daily backups, PITR restore, audit log on Scale. Data residency configurable on enterprise plans.
Team roles + SSO
Member roles, scoped API keys, SAML/OIDC SSO and audit log on enterprise tiers.
Cloud · Waitlist
Be first to try Cloud. We email when your environment is ready. No spam, ever.
03 · Autopilot

The AI-native operating layer.

Like Linear for work, Lovable for app building, Zapier for automation. Issues, durable workflows, schedules, knowledge, agents and an AI builder that edits real code. Open source. Audited. Yours.

workflows/onboard-customer.ts
1// workflows/onboard-customer.ts · durable, restartable
2export default workflow(
3 "onboard-customer",
4 async (step, { email }) => {
5 const user = await step.run(
6 "create-account", () => createUser(email)
7 );
8
9 await step.run("welcome", () => sendWelcome(user));
10 await step.sleep("trial", "14d");
11 await step.waitForEvent("trial-end-action");
12 await step.invoke("send-renewal", { user });
13 }
14);
Workflow primitives
step.runexecute + persiststep.sleepwait hours/days/weeksstep.waitForEventblock on signalstep.invokecompose workflows
agent · content-team-01running
Run · #4821
step.draft-post01.4s
Generated 612 words
step.fact-check03.1s
3 sources verified
step.seo-pass00.9s
title + meta updated
step.human-review·
Waiting for @marek
step.publish·
Will run after approval
trace: wf_a821-04283 / 5 steps · 5.4s
Issues
Linear-style work items with status, type, project and attached workflow.
Workflows
Durable procedures. step.run · step.sleep · step.waitForEvent · step.invoke.
Schedules
Cron triggers that create issues or run workflows directly.
Knowledge
Context, docs and rules with semantic search. Used by workflows and agents.
AI builder
Lovable-style. Modifies real QUESTPIE code, opens a PR, deploys through Cloud.
Agents
Capability profiles + tools + MCP. Pluggable provider. Anthropic, OpenAI, local.
Integrations
Slack, GitHub, email. Open issues from a thread. Approve workflows in one click.
Packs
Installable bundles: skills, workflows, schedules, MCP tools, knowledge seeds.
Agent runtimes
Pluggable backbone. Works with the model you trust.
MCP · spawn-agent · streaming
Claude Code
Active
Codex
Active
Gemini
Planned
Cursor
Planned
OpenCode
Planned
Copilot
Planned
Autopilot · Waitlist
Be first to try Autopilot. We email when your environment is ready. No spam, ever.
For real businesses

Built for every kind of business.

Use the same Framework + Cloud + Autopilot stack to ship a restaurant menu, a Shopify alternative or a multi-tenant agency platform. Less glue, less SaaS spend, less migration debt.

Architecture

What you ship vs. what we run.

QUESTPIE is a stack you can read. Open packages on top, open infrastructure underneath. Cloud is the part you'd rather not operate yourself.

Surface
Your site & internal tools
Public site
Admin workspace
API & SDKs
Docs site
FrameworkLIVE
Open source · MIT
Collections + admin
Auth + RBAC
Jobs + workflows
Adapters
AutopilotQ4 26
Open source · MIT
Issues + workflows
AI builder
Agents + MCP
Knowledge + packs
QProbeLIVE
Verification layer
Run app locally
Drive browsers
API checks
Evidence for runs
CloudQ3 26
Managed by QUESTPIE
Build + deploy
Postgres + storage
Domains + SSL
Hosted Autopilot
PostgreSQL · Drizzle ORM · Zod v4·Better Auth · pg-boss · Flydrive·React 19 · Tailwind v4 · shadcn·Bun / Node 18+
Pricing

Free to self-host. Managed when you want it.

Framework is open source. Self-host for as long as you like. Cloud just removes the parts of running infrastructure you'd rather skip.

Self-host
FreeMIT

Run QUESTPIE Framework + Autopilot on your own infrastructure.

Read the docs
  • Collections, admin, auth, workflows
  • All adapters (Hono / Elysia / Next / TanStack)
  • Autopilot. Self-hosted, full
  • Community support
  • Managed builds + deploys
  • Managed Postgres + storage
  • Hosted Autopilot per account
  • Enterprise SLA + SSO
Cloud · Starter
$19/ month

One project, custom domain, hosted Autopilot.

Explore Cloud
  • 1 project, 1 environment
  • Custom domain + SSL
  • 5 GB storage, 100 GB bandwidth
  • Production Postgres + PITR
  • Hosted Autopilot, 2 agents
  • Email + community support
  • Multi-environment
  • SSO + audit log
Popular
Cloud · Pro
$49/ month

Multi-project teams shipping apps and operating ops.

Explore Cloud
  • 10 projects, multi-environment
  • 50 GB storage, 1 TB bandwidth
  • Preview deploys per branch
  • Hosted Autopilot, unlimited
  • Knowledge base + workflows
  • Team roles + API keys
  • Priority support
  • SSO + audit log
Cloud · Scale
CustomSLA

Dedicated capacity for enterprises with compliance needs.

Talk to us
  • Unlimited projects + envs
  • Dedicated database + VPC
  • Custom Autopilot configs + packs
  • 99.99% uptime SLA
  • SSO + audit log
  • Solution engineering
  • Custom contract / data residency
  • Volume discount
FAQ

Questions, answered.

Honest answers. No marketing fluff. Can't find what you need? Ask the team.

Framework is the open-source TypeScript engine: collections, admin, auth, workflows, adapters. Autopilot is the open-source AI-native operating layer on top. Issues, workflows, schedules, knowledge, agents and an AI builder. Cloud is the managed runtime control plane that builds, deploys and hosts both. You can run any combination, including just Framework on your own server.

Framework and Autopilot are MIT-licensed. You can fork, modify and self-host them forever. Cloud is the only paid product, and it's optional. It exists for teams that don't want to run Postgres, deploys and infrastructure themselves.

Yes. Your project is just QUESTPIE code + a Postgres dump. Export, point it at your own database and deploy with the Hono/Elysia/Next/TanStack adapter of your choice. No proprietary runtime.

Hosted platforms own your schema, your data and your operational tooling. QUESTPIE inverts that. Your code defines the schema, and the admin, API and workflows are generated. You stay in TypeScript, in version control, in your codebase.

Autopilot uses MCP (Model Context Protocol) to expose your collections and routes to agents. The same field-level permissions that apply to your humans apply to agents. Every action is logged, every workflow step is auditable, and you can require human approval anywhere in the workflow.

The runtime is pluggable. Claude Code and Codex are active. Gemini, GitHub Copilot, Cursor and OpenCode are on the roadmap. You can configure which runtime to use per agent profile, and rotate without changing your workflows.

Cloud: Q3 2026. Autopilot: Q4 2026. Both are accepting waitlist signups. Framework is shipping today on npm.

Build. Deploy. Automate.

One stack you actually own.

Start with Framework today. It's free, open and ready to ship. Add Cloud and Autopilot whenever you outgrow what you can run yourself.

$ bun create questpie my-app·cd my-app·bun dev