Make your app multiplayer
Mimic DB keeps shared documents in sync for everyone working on them, people and AI agents alike. Host it yourself, or let us run it for you.
Build the collaboration your users already know
Mimic DB syncs any document your app is built around, so it fits whatever people make together.
Whiteboards
Sticky notes, drawings and live cursors
Task boards
Cards that move for everyone at once
Design tools
Canvases where a team edits one file
Flowcharts
Diagrams that stay connected while people rearrange them
Forms
Fill in and review together
Slides
Decks your whole team can edit at once
The paywall designer in Voidhash is built on Mimic DB.
Multiplayer looks easy in a demo. Then two people move the same card, someone’s train goes into a tunnel, and someone else presses undo. Mimic DB handles all of it, so you can spend your time on the product.
Everything collaboration needs
The features people expect from Figma, Miro and Linear, ready to use in your own app.
Live editing
Everyone sees each change the moment it happens, without refreshing or merging anything by hand.
See who’s here
Show who has the document open, where their cursor is and what they have selected.
Undo stays yours
Undo takes back only your own changes, never a teammate’s, even when you work on the same thing.
Keep working offline
Changes made without a connection are kept and sent as soon as you are back online.
Saved automatically
Every change is stored as it happens. Reload the page and everything is where you left it.
Data that stays valid
Describe what a document may contain. Changes that don’t fit are turned away before anyone sees them.
Edit from your backend
Read and update documents from your server, scripts and background jobs, not only from the browser.
React and Zustand built in
Hooks for React and a Zustand middleware, so shared state reads like local state.
AI agents work right next to your users
Let an agent plan, sort or fill in a document while people keep working in it. Everyone sees what the agent changes, and it is easy to take back.
Agents join like a teammate
Your agent connects from your backend and shows up in the document with its own name and cursor.
Changes appear as they’re made
People watch the agent work instead of waiting for a finished result to replace their own.
Undo the agent’s whole turn
Didn’t like what it did? One undo takes back everything from that turn, nothing else.
Bad output can’t break anything
Edits that don’t fit your document are refused, whether a person or a model wrote them.
1import { Primitive } from "mimic-core"2import { createSyncClientDocument } from "mimic/sync"34const Card = Primitive.TreeNode("card", {5 data: Primitive.Struct({ title: Primitive.String().max(34) }),6 children: [Primitive.TreeNodeSelf],7})8const Board = Primitive.Tree({ root: Card })910const board = createSyncClientDocument({11 primitive: Board,12 url, database, collection, document,13 credential: fetchToken,14})15await board.connect()Multiplayer in a few lines
Describe your document, connect it, and use it like any other state in React. Mimic DB takes care of syncing, saving and edits that happen at the same time.
Ship updates without breaking older apps
Change how your data is shaped whenever you need to. Documents update the next time they are opened, and people on an older version of your app can still view them.
Open source, so it’s yours to run
Mimic DB is open source. Run it on your own servers, or let us run the same thing for you.
Host it yourself
Run the open-source engine on your own servers and keep every document inside your infrastructure. No account, no license key.
Or use our cloud
We run it, scale it and keep it up to date. Idle databases only pay for storage, and the free plan needs no card.
Questions
Something else? Read the docs.
- How is Mimic DB different from Yjs?
- Yjs merges edits on each device and can work without a server. Mimic DB sends every change through a server that checks it against your document’s rules before anyone else sees it. That keeps data valid, gives each person their own undo and lets agents edit safely. If you need peer-to-peer editing with no server at all, Yjs is the better fit.
- How does Mimic DB compare to Liveblocks?
- Both give you live documents, presence and offline edits. Mimic DB is open source, so you can run the same server yourself, and every edit is checked against a schema you define.
- Can I host Mimic DB myself?
- Yes. The engine is open source. Run it on your own servers, or let us run it for you.
- Which frameworks does it work with?
- Any JavaScript app. React hooks and a Zustand middleware are included.
- What does the cloud cost?
- Start on the free plan, with capped databases and no card. Paid plans charge for storage, connection time and writes, and idle databases only pay for storage.
Bring your users together
Start for free in our cloud, or run it on your own servers.