Spacetime

Spacetime

4 min read Original article ↗

Move fast and
don’t break things.

Spacetime is the reactive backend platform that AI agents love. Database, server logic, auth, deployment, and real-time sync in one place.

See LLM benchmarks

Install Spacetime

curl -sSf https://install.spacetimedb.com | sh

Initialize your project

spacetime dev --template chat-react-ts

Copy prompt to get started

Read https://spacetimedb.com/agent-setup.md and set yourself up.

Relational database

Define tables in code and store your application data with ACID transactions.

Server logic

Run application logic directly inside your database, with typed functions your clients can call.

Real-time sync

Keep subscribed clients up to date automatically as your data changes.

Auth

Identify connected users and control access through your application logic.

Type Safe API

One type system across your client, server, and database, generated from your schema.

Cloud deployment

Deploy your backend without managing servers, containers, or orchestration.

Deploying to

Cloud Service Provider

Deploying to

Spacetime

1

Write a Spacetime module

2

Run spacetime publish to deploy

3

Your app is ready for customers

Trusted by industry leaders and fast-growing companies around the world.

  • Google
  • Supercell
  • Databricks
  • PayPal
  • Stripe
  • Niantic Spatial
  • Canva
  • Wix
  • Kyocera
  • HypeHype
  • Avanade
  • Hinge

Quickstart guides

Spacetime just works.And with your favorite frameworks.

One backend.Everything in sync.

Reducer Functions

Clients call functions that run your server logic and update the database.

Tables

Store your app’s shared data, from chat messages to player positions.

Subscriptions

Clients subscribe to the data they need and receive updates automatically.

Five guarantees your agent can build on.Everything is…

  1. 01A Table

    Your entire application state lives in tables.

  2. 02Persistent

    Persisted by default, including the full history of every row.

  3. 03Real-time

    Subscribed data stays synced to your clients automatically.

  4. 04Transactional

    Every reducer is atomic. It fully completes, or it does not run.

  5. 05Programmable

    Real code running inside the database, in Rust, C#, or TypeScript.

Node.js + PlanetScale (HA)

Node.js + PlanetScale (SN)

Transactions Per Second

050,000100,000150,000200,000250,000300,000

Built with Spacetime.Discover what developers are building.

BitCraft Online

BitCraft Online

A survival crafting MMORPG where players build towns and shape a shared, persistent world.

bitcraftonline.com
Pogly

Pogly

A collaborative stream overlay tool that brings real-time editing to your broadcast.

pogly.gg

Developers are choosing Spacetime.And here’s what they’re saying.

Join our Discord

Ok, Spacetime is actually pretty cool! It gives you almost everything you need on the server side to build a multiplayer game. Think of it as Supabase but for building games.

You can write reducers to handle events on the server, and you can call them directly from the client or subscribe to their changes.

Spacetime — a database and server in one. Clients connect directly, run logic inside the DB. No Docker, no K8s, no ops bloat.

Used to power the entire backend of BitCraft, including real-time multiplayer.

I couldn't resist! Heard about Spacetime yesterday and had to vibe code a flight simulator. One hour in, it's completely multiplayer with a Rust + Spacetime backend.

Spacetime collapses your entire backend into the database itself. No servers, no microservices, just Rust modules running at memory speed. Powers an entire MMORPG with zero traditional infrastructure.

It's time! I'm using Spacetime to backend my game, Vaerfel idle. It's an original idle mmorpg. We're almost at a point to where I'm comfortable asking for fundraising money for professional hooman-made art assets, etc.. Let me know what you think!

Marty McGlovin@MartyMcGlovin

love you spacetimedb ❤️

Spacetime is a cheat code.

Ray Fernando@RayFernando1337

I did develop and operate a successful web3 marketplace with the full stack.. kubernetes, postgres, elastic search, risingwave, redis etc... imho for game dev go with @spacetimedb. Currently building an @PlayArtifact clone in godot and spacetimedb and its fun and painless

Code Crusader@CrusaderCode

For anyone who ever wanted to play with multiplayer try this platform out, its really amazing.

The design of Spacetime—or rather, its underlying mechanism—is so genius that I just can't stop grinning like an idiot, oh my.

Unironically you can achieve this with a single rocket API and spacetimedb behind a loadbalancer.

we've been looking at it since launch, one of our developers loves you guys so much

Team Reagent@Reagent_Systems

If you don't know yet, Spacetime is here and it's going to warp the game dev space into a new big bang.

Think of it as whatever levelsio had to vibe code for his plane game to be a smooth multiplayer game, you can do it in an hour now.

Priyav K Kaneria@_diginova

We started concepting the game in July, and shipped it to the App Store before Halloween. 95% of the 3 month development time was spent developing the front-end client.

The backend was completely plug-and-play. It's genuinely shocking how easy Spacetime made it to create a persistent open world.

Ryan Murphy@LightfoxGames

Andreessen Horowitz

Skycatcher

David BaszuckiFounder of Roblox

David HelgasonFounder of Unity

Hilmar PéturssonCEO of CCP Games

Ed FriesEx VP Publishing Microsoft

Production-ready on
day one.

Spacetime is the reactive backend platform that AI agents love. Database, server logic, auth, deployment, and real-time sync in one place.

Start building