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 status

When 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_sent

Each 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:

SectionPurpose
stateDurable workflow entity fields
eventsImmutable domain facts
actions / intentsCommands from apps, jobs, webhooks, or agents
projectionsRead models derived from events
queriesNamed reads against projections
sagas / workflowsMulti-step processes
decisions / memoriesOptional 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.


Next step

What runs today? →