Cloudflare Vibe SDK
Open-source AI full-stack app generator built on Cloudflare, deployable to your own infrastructure.
- Source repo
- cloudflare/vibesdk
- Stars
- ★ 5.5k
- Last updated
- 1mo ago v1.5.0
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- TypeScript
- FA score
- 61/100 · Some gaps
At a glance
- How it runs
- Works with
- Platform-specific
- Cost
- Free software; you pay for model usage
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- Companies building AI-powered platforms: deploy and customize the UI, AI behavior, component libraries, and keep customer data within their infrastructure.
- Not a fit if
- Teams that want to avoid Cloudflare platform lock-in
- Users unwilling to pay for Workers Paid and Workers for Platforms
- Website
- build.cloudflare.dev ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-10-22latest release v1.5.0 (2026-02-06)+1.1 ★/day over 7 days
- Source review
- 61/100 · Some gaps
What does this agent do, and when should you use it?
Cloudflare Vibe SDK is an open-source AI vibe-coding platform that allows users to describe an app in natural language, and an AI agent creates and deploys it. It leverages the full Cloudflare ecosystem: React + Vite frontend, Workers with Durable Objects for stateful agents, D1 (SQLite) with Drizzle ORM, AI Gateway for multi-provider LLM support, Cloudflare Containers for sandboxed previews, R2 for storage, and Workers for Platforms for deployment. The platform offers a one-click deploy button, a programmatic TypeScript SDK, and comprehensive setup and configuration guides. It is ideal for companies building AI-powered platforms, internal development tools, or SaaS extensions.
The platform accepts natural language descriptions, uses an AI agent to generate code in phases (planning, foundation, core, styling, integration, optimization), and provides live previews in sandboxed containers. Users can iterate via a chat interface, and final apps deploy to Workers for Platforms. Key components include PhasicClient (TypeScript SDK) for programmatic builds, CodeGeneratorAgent (Durable Object) for stateful generation, and deployment scripts (bun run deploy). Required environment variables include GOOGLE_AI_STUDIO_API_KEY, JWT_SECRET, and optional SANDBOX_INSTANCE_TYPE.
- Companies building AI-powered platforms: deploy and customize the UI, AI behavior, component libraries, and keep customer data within their infrastructure.
- Internal development: non-technical teams (marketing, sales, operations) create landing pages, dashboards, or workflow automation by describing what they need, without waiting for engineering.
- SaaS platforms: allow customers to extend product functionality by describing custom integrations, workflows, or interfaces, without learning the API.
- Developers: use the
@cf-vibesdk/sdkto programmatically build apps and integrate into CI/CD pipelines. - Developers wanting to explore the Cloudflare stack (Workers, Durable Objects, D1, R2, Containers) can learn from this reference implementation.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm install @cf-vibesdk/sdk
- Environment variables
GOOGLE_AI_STUDIO_API_KEYCLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_ID
How do you install or deploy this agent?
Requires a Cloudflare Workers Paid Plan, Workers for Platforms subscription, and Advanced Certificate Manager for custom domains. Obtain a Google Gemini API key (GOOGLE_AI_STUDIO_API_KEY). Easiest: click the 'Deploy to Cloudflare' button in the README and configure variables. Alternatively, manual deployment: clone the repo, run npm install or bun install, run npm run setup for guided setup, set credentials (CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID), and run bun run dev for local development or bun run deploy for production.
How do you use this agent?
After deployment, users interact via a web interface, typing prompts like 'Create a todo list with drag and drop and dark mode'. The AI generates the app and provides a preview. Iterate via chat. For programmatic access: install the SDK with npm install @cf-vibesdk/sdk, create a PhasicClient, and call client.build() with a prompt and options. Wait for session.wait.deployable() to retrieve the preview URL.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- rollback or recovery path
What are this agent's strengths and limitations?
- Leverages the full Cloudflare stack, natively scaling with Workers, Durable Objects, D1, R2, and Containers.
- One-click deployment and automated dashboard flow lower the barrier to entry.
- Supports multiple LLM providers via AI Gateway and provides an official TypeScript SDK.
- Generated apps use a modern React + TypeScript + Tailwind stack for high quality.
- Extensive documentation for deployment, configuration, and troubleshooting, with active community support.
- Tightly coupled to the Cloudflare platform, making migration to other clouds difficult.
- Requires paid plans (Workers Paid, Workers for Platforms) and Advanced Certificate Manager, adding cost.
- Configuration is complex, involving multiple API keys, OAuth setup, DNS wildcard records, and certificate management.
- Defaults to Google Gemini API for AI, which may incur additional fees.
- Some documentation links (e.g., GitHub issues) point to placeholders, indicating incomplete guides.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Cloudflare Vibe SDK This agent | 61 · Some gaps | Self-hosted serviceFree + model costs | ★ 5.5k | 1mo ago | TypeScript | — |
| Cloudflare Skills for Agents | 64 · Some gaps | Agent plugin / skillFree | ★ 3.6k | today | Shell | Codex · Claude Code |
| moltworker: Run OpenClaw on Cloudflare Workers | 57 · Major gaps | Self-hosted serviceFree + model costs | ★ 9.9k | 8mo ago | TypeScript | — |
| Open-Inspect Background Agents | 72 · Some gaps | Self-hosted serviceFree + model costs | ★ 3.5k | today | TypeScript | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README describes explicit tools, disabled workspace bash, project isolation, preview authorization, credentials flowing through Cloudflare services and bindings, and rollback that preserves history. The app-ai-binding skill requires server-side AI calls and transparent failure reporting. Users can clarify requests and follow iterations. Deductions: these are mostly documentation claims, and the supplied code is insufficient to verify permission and secret-handling details. The dependency list is large, with no dependency audit or vulnerability-remediation evidence. Attribution is limited to the license and README, and publisher identity is unknown.
The README, AGENTS.md, and CLAUDE.md broadly agree on the roles of ThinkAgent, SpaceDO, Artifacts, previews, and rollback. The README provides deployment troubleshooting, and the AI skill requires non-2xx responses for inference failures. Deductions: there is no evidence about current dependency availability or maintenance. Failure-handling evidence is mainly a skill example; the supplied main-code excerpt cannot establish that all paths follow it.
The README targets users who want to create and deploy full-stack applications through natural-language interaction, and describes clarification, previews, repairs, export, and model configuration. Skills cover AI in generated apps, bundler constraints, and marketing and SaaS interfaces, including differences between preview and deployment. Deductions: scenarios and limits are mostly documented; trigger descriptions are specific but the sample is incomplete, and there is no evidence of support for other environments or non-Cloudflare deployment needs.
The README, setup-guide reference, command table, troubleshooting, and contribution instructions provide a usable information structure. The package manifest gives a version, the license is explicitly MIT, and skills include names, use cases, examples, and preview and model constraints. Deductions: no complete changelog or named maintenance owner is supplied. The setup script provisions resources, gateway, authentication, and migrations, but this packet does not explain every option or its cost. Examples and FAQ coverage is limited to common paths.
The product describes a loop from clarification through file edits, preview deployment, browser inspection, repair, and rollback, with export and isolated storage for building Cloudflare applications. Deductions: the value claim is mostly in the README, and the sample lacks a complete product interaction or output to evaluate. The need for a paid Workers plan, platform permissions, model credentials, and possibly a custom domain makes setup and operation costly.
The main architecture and workflow claims in the README receive partial corroboration from AGENTS.md, CLAUDE.md, and the SpaceDO and Worker export files. Skills state concrete preview limits and failure behavior that can be checked. Deductions: these sources are repository-authored documentation rather than independent evidence; code is sampled and key files are absent; README capability claims are not evidence of successful execution.
- Deployment requires a Cloudflare account and permissions; production previews may require a Workers Paid plan and Workers for Platforms, with additional model and domain setup or costs.
- This review uses only the supplied file sample. One skill is truncated, and installation, tests, and deployment were not run, so documented behavior is unverified.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
[1.5.0](https://github.com/cloudflare/vibesdk/compare/v1.4.0...v1.5.0) (2026-02-03) Features * add app visibility check for preview deployment ([3c4f203](https://github.com/cloudflare/vibesdk/commit/3c4f2030d730e95fe0bd8deb17b1265cd5f20ecf)) * add phase timeline change subscription and event handling ([a1c7404](https://github.com/cloudflare/vibesdk/commit/a1c740411d7b183d26b334d4c5a2a80ab4905728)) * add phase timeline change subscription and event handling ([f8b14cd](https://github.com/cloudflare/vibesdk/commit/f8b14cde831e284d478633154189e5032dce3506)) …View on GitHub ↗ -
Release notes excerpt
Release v1.4.0 Highlights - New Client SDK: Full TypeScript SDK (@cf-vibesdk/sdk) for programmatic interaction with the platform, enabling headless automation, CI/CD integration, and third-party tooling (#277) - Zero-Knowledge Vault: End-to-end encrypted user secrets storage with Argon2id/WebAuthn PRF key derivation for secure API key management (#267) - Enhanced Code Generation Safety: Pre-deploy AST-based static analysis detects and auto-fixes common React antipatterns like render loops and unstable selectors (#267) …View on GitHub ↗ -
Release notes excerpt
[1.3.0](https://github.com/cloudflare/vibesdk/compare/v1.2.0...v1.3.0) (2025-12-08) Features * enforce template write-protection in simple code generator ([4f0dccf](https://github.com/cloudflare/vibesdk/commit/4f0dccf60661a6ae7ca09fd696270a0152316ea1)) * latest packages updated ([e5496e0](https://github.com/cloudflare/vibesdk/commit/e5496e0cfd2923acc25d7e4f2265b4a0d7fd69f8)) Bug Fixes * filter protected files ([ff3a302](https://github.com/cloudflare/vibesdk/commit/ff3a302bf8fa3059156c4f10efc30c55aa6f0455)) …View on GitHub ↗
FAQ
What are the costs to deploy and run?
What permissions are required?
Where are generated apps deployed?
How do I add user login functionality?
.dev.vars and .prod.vars, then redeploy.What if I encounter deployment issues?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.