| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An open source, agentic platform for building and deploying full-stack applications on Cloudflare.
VibeSDK lets people build full-stack applications by working with an AI coding agent. Describe what you want, answer clarifying questions, and follow the agent as it plans, edits files, deploys previews, inspects errors, and iterates with you in the loop.
The platform runs the complete workflow on Cloudflare. Think drives the agentic model-and-tool loop, a Durable Object provides an isolated workspace for each project, Dynamic Workers serve generated application previews, Durable Object Facets provide per-app SQLite storage, and Cloudflare Artifacts stores durable git history and restore points.
| Component | Role |
|---|---|
| ThinkAgent | Agent powered by Cloudflare Think and backed by a Durable Object that runs the model-and-tool loop |
| SpaceDO | Durable Object that provides each project's isolated workspace and files |
| Cloudflare Artifacts | Binding that stores commits, branches, history, and restore points |
| Worker Loader | Binding that loads bundled code as a Dynamic Worker preview |
| Generated App | Durable Object Facet with isolated SQLite storage |
| AI Gateway | Routes configured model providers with observability and caching |
flowchart LR
U[User] <--> T[ThinkAgent]
T <--> M[Models via AI Gateway]
T <--> S[SpaceDO workspace]
S <--> A[Cloudflare Artifacts]
S --> L[Worker Loader]
L --> W[Dynamic Worker preview]
W <--> F[App Facet + SQLite]
Think manages conversation history, streaming, skills, and the iterative model-and-tool loop. Its explicit tools read and edit the SpaceDO workspace, create restore points, deploy previews, inspect browser logs, and ask clarifying questions. Bash access is disabled.
VibeSDK bundles each committed deployment with @cloudflare/worker-bundler and loads it through the Worker Loader binding. Static assets are served by SpaceDO, while backend requests and WebSockets are forwarded to the generated App Durable Object Facet. Each Facet has isolated SQLite storage that users can inspect and reset.
SpaceDO is the workspace and file layer. Cloudflare Artifacts is the git and version-history layer. Rollback restores a selected commit into the current branch, creates a new commit, and redeploys without rewriting history.
The fastest way to deploy is the Deploy to Cloudflare flow:
You will need:
Authentication providers, model providers, and export integrations are optional and configuration-dependent. See the complete setup guide for current permissions, DNS, AI Gateway, provider, OAuth, and production configuration.
git clone https://github.com/cloudflare/vibesdk.git
cd vibesdk
bun install
bun run setup
bun run devOpen http://localhost:5173. The setup script configures local and production environments, Cloudflare resources, AI Gateway and model providers, authentication, and database migrations.
For all setup options and troubleshooting, read docs/setup.md.
Feature settings are dashboard-managed rather than committed in wrangler.jsonc, so production values survive deploys through keep_vars: true. Set them in the Cloudflare dashboard for each deployed environment, or in .dev.vars for local development. Unset values default to off unless noted otherwise: ENABLE_ARTIFACTS, ENABLE_READ_REPLICAS, ENABLE_CLOUDFLARE_LIMITS, ENABLE_USER_ACCOUNT_DEPLOY, ALLOWED_EMAIL, USE_CLOUDFLARE_IMAGES, and USE_TUNNEL_FOR_PREVIEW; ENABLE_EMAIL_AUTH defaults to on. ALLOCATION_STRATEGY uses its normal default when unset. See the feature-toggle setup reference for dependencies and behavior.
| Command | Purpose |
|---|---|
| bun run dev | Start the frontend development server |
| bun run dev:browser | Start the optional local browser sidecar used for console-log inspection |
| bun run build | Build SpaceDO and the Vite application |
| bun run typecheck | Run TypeScript type checking |
| bun run lint | Run ESLint |
| bun run test | Run the test suite |
| bun run test:watch | Run tests in watch mode |
| bun run deploy | Build, migrate, and deploy using .prod.vars |
More diagnostics are available in the setup guide. For help, use GitHub issues, GitHub discussions, or the Cloudflare Developers Discord.
VibeSDK is available under the MIT License.
| Back | FazBrowse Home | New Git URL |