Skip to main content
Back

Cloudflare's Open Source VibeSDK Lets Anyone Build Their Own AI App Generator

Cloudflare open sourced VibeSDK, a full stack template for running your own text to app platform, deployable to Cloudflare with one click.

Repo, Full Access
  • Cloudflare open sourced VibeSDK, a full-stack template for running your own vibe coding platform.
  • One-click deploy to Cloudflare with Workers, Durable Objects, D1, R2, and Containers.
  • Uses Google Gemini 2.5 by default, routed through AI Gateway with caching and multi-provider support.
  • Each generated app runs as its own isolated Worker via Workers for Platforms dispatch namespaces.
  • Ships with agentic loop, live previews, browser error repair, Artifacts-based restore points, and GitHub export.
  • MIT licensed but architecturally locked to Cloudflare infrastructure; requires paid Workers plan.

Cloudflare has released VibeSDK, an open source, full-stack template for building your own AI-powered app generator similar in spirit to v0, Lovable, or Bolt. Rather than paying a SaaS to host the coding agent for you, you deploy the entire platform to your own Cloudflare account and customize it however you want.

The whole thing runs end-to-end with a single click, and the repo has already crossed 5,000 stars with over 1,200 forks. VibeSDK lets people build full-stack applications by working with an AI coding agent: you describe what you want, answer clarifying questions, and follow along as the agent plans, edits files, deploys previews, inspects errors, and iterates with you in the loop.

What you actually get

Deploying VibeSDK provisions a complete generation pipeline on top of Cloudflare primitives. You get LLM integration to generate code, build applications, debug errors, and iterate in real time via the Agents SDK; isolated development environments where users can safely build and preview applications in secure sandboxes; and enough headroom to serve thousands or millions of end-user applications on Cloudflare's global network. By default, VibeSDK leans on Google's Gemini models (gemini-2.5-pro, gemini-2.5-flash-lite, gemini-2.5-flash) for project planning, code generation, and debugging.

Under the hood the stack maps cleanly to Cloudflare products:

  • Frontend: React and Vite with a modern UI kit
  • Backend: Workers with Durable Objects hosting the AI agents
  • Database: D1 (SQLite) with Drizzle ORM
  • Sandboxing: Cloudflare Containers for isolated app previews
  • Storage: R2 buckets for templates, KV for sessions
  • Deployment: Workers for Platforms with dispatch namespaces