What is Causet?
Causet keeps an execution record of the critical flows in your app. For every change it handles, it records what triggered it, which rule or AI decision ran, and what state changed as a result. You can inspect that record, fork it, replay it, or repair from it.
Your app submits intents. Causet records events. Queries and projections expose current state.
Causet runs alongside your existing app. Your frontend, database, queues, vector DB, and services stay where they are. You adopt it one endpoint, webhook, background job, or agent action at a time.
The problem
Important workflows often live inside API routes and webhook handlers:
validate → write DB → call service → send email → update statusWhen something fails halfway, logs can’t tell you what completed, what didn’t, or how to get state back to where it should be.
AI agents have the same problem with more moving parts. Their decisions, memory, tool calls, and side effects all need to be inspectable too.
Causet gives backend workflows and AI agents the same thing: a durable, replayable record of the state changes that matter.
What Causet records
request_access
→ access_requested
→ approval_required
→ access_approved
→ notification_sentEach line is a recorded state change, in the order it happened. That’s the history you inspect, replay, or repair from.
What you define
Developers author .causet files:
| Section | Purpose |
|---|---|
state | Durable workflow entity fields |
events | Immutable domain facts |
actions / intents | Commands from apps, jobs, webhooks, or agents |
projections | Read models derived from events |
queries | Named reads against projections |
sagas / workflows | Multi-step processes |
decisions / memories | Optional AI, on the same timeline as everything else |
The compiler validates the model. The runtime executes state changes deterministically and commits them to the ledger.
What Causet doesn’t replace
Causet isn’t a database, a message broker, a vector database, a web framework, or a logging tool. You keep Postgres, Kafka or Redpanda, your API, and your observability stack. Causet sits next to them and handles the flows where correctness, auditability, and repair matter.
See What Causet handles.
What’s available today
The production core includes the CLI, timeline inspection, inbound and outbound HTTP webhooks, and snapshot rehydration on Managed Causet. The JavaScript / TypeScript SDK is a supported preview on npm (0.2.0). Managed Causet is in early access for approved customers.
What runs today? has the full breakdown, including which replay paths are production-supported. See also the Support policy.