Declare your state, read it, and make one protected write. If you already have a backend and database, still start here. The SDK call shape is the same; Integration Guide explains when to use Ablo-managed state versus a Data Source that calls your existing API service.Documentation Index
Fetch the complete documentation index at: https://docs.abloatai.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Install
2. Declare a Schema
schema. Treat it like Prisma’s schema file:
it is the source of truth for typed model resources, realtime subscriptions,
agent writes, and Data Source requests.
3. Read and Update
4. Multiplayer and Busy Work
There is no separate multiplayer mode. Use the same schema client for human UI, server actions, and agents; Ablo fans out confirmed writes and keeps active intents visible on the same resource. Intents tell you when another human or agent is active on the same target. For schema clients, wait on the intent stream and then write through the model.ifBusy controls what happens when another human or agent is already working
on the same target:
returnreturns immediately with active intents.waitwaits for the intent stream to clear.failthrowsAbloBusyErrorwith the active intents attached.
5. Next Steps
Keep using the schema client for app and agent writes. Reach for the advanced schema-less agent wrapper only when a worker intentionally cannot import the app schema.- Integration Guide explains the full app, React, Data Source, multiplayer, and agent path.
- Guarantees explains what confirmed writes and stale checks mean.
- Client Behavior covers errors, retries, and public imports.
- Connect Your Database covers the optional route for teams keeping rows in their own database.
- AI SDK Tool shows the same write path inside a tool call.