Write once, sync everywhere

Three Things That Just Work

Adama is a reactive document platform where every document is a tiny virtual machine. You write backend logic in the Adama language — a purpose-built language that fuses a database, a real-time server, and a state machine into a single, deployable text file.

When a document changes, connected clients receive only what changed, filtered by who they are. No polling. No cache invalidation. No boilerplate.

  • Real-Time Synchronization. Every document computes minimal JSON deltas and pushes them to connected clients over WebSocket. A chat room with 10,000 messages? A new message costs ~100 bytes to sync — not the full history.
  • Data Persistence. Every state change is durably committed through a write-ahead log. Documents persist across restarts, deployments, and infrastructure failures. Your game state costs pennies to preserve indefinitely.
  • Privacy Logic. Privacy is a language feature, not middleware. Declare who can see what at the field level. The Adama compiler rejects code that leaks private data — at compile time, not runtime.

Built for State-Complex Applications

  • Multiplayer Games. State machines enforce turn order. Privacy hides opponent hands. A chess game can pause for weeks and resume exactly where it left off.
  • Collaborative Tools. One source of truth with real-time delta sync to every participant. No conflict resolution headaches. Changes propagate instantly.
  • Approval Workflows. State machines that persist across restarts. Block for human input for days. Resume exactly where they left off. No external workflow engine needed.
  • AI-Integrated Applications. AI agents are first-class reactive types. Sessions persist conversation history, enforce token budgets, and recover from crashes — all within the document transaction model.

"Every real-time app rebuilds the same infrastructure: database, cache, pub/sub, auth middleware, crash recovery. Adama handles all of it in a single reactive document. You write game logic, not infrastructure. The compiler guarantees privacy. State machines are durable. One process to deploy."

Jeffrey M. Barber, Inventor