Spacefast
Publish the sites your agents build. One command, a live URL, immutable versions, custom domains.
Spacefast hosts the sites people build with AI agents. You hand it a folder, it hands back a URL. Everything you can do in the dashboard you can also do from the sf CLI, the HTTP API, or an MCP server, so the agent that built the site can publish it too.
Publish in one command
npm install -g spacefast
sf publish ./dist
No account needed for the first publish. The CLI creates a Space, uploads the files, and prints a live URL plus a claim link. Sign in later to keep it.
Published: https://quiet-harbor.space.fast
Open https://quiet-harbor.space.fast
Version URL https://quiet-harbor--v1.space.fast
Version v1 (ready)
Files 12
Duration 3.2s
Or ask the agent that built it.
Publish this folder to Spacefast and give me the live URL.
How it fits together
A Space is one site with a stable hostname. Every publish creates a new version, an immutable snapshot with its own URL that never changes. The live channel points at one version. Promoting or rolling back moves that pointer. Nothing gets rebuilt.
Static output is the default path. Point sf publish at a build directory and it uploads only the files that changed. If you’d rather publish source, Spacefast detects the framework and builds it. Sites that need a database, server functions, or scheduled jobs opt into the Zero runtime with one line of config.
Quickstart
Install, sign in, publish, and attach a domain in five minutes.
Publishing
What gets uploaded, how versions work, and how to roll back.
Custom domains
DNS records, verification, TLS, and the primary domain.
Agents
Connect Claude Code, Cursor, Codex, or any MCP client.
CLI reference
Every sf command, flag, and exit code.
API
Auth, envelopes, errors, and the full operation reference.