IntroductionWhy Causet?

Why Causet?

Stateful systems are easy to build and hard to trust.

Modern applications hide important workflows inside API routes, webhook handlers, queues, workers, cron jobs, and AI agents. Each piece works in isolation. Nobody can answer, with confidence, why the system is in the state it’s in.

Causet turns those fragile workflows into replayable timelines — beside your existing app, not instead of it.

AI is not the only use case. It is the sharpest version of the problem.


Backend workflows fail halfway without a timeline

API routes often mix validation, database writes, emails, third-party calls, and status updates. When one step fails:

  • What completed?
  • What did not?
  • Is the projection stale?
  • Can you replay safely?

Logs describe what a service said. Causet records the application timeline that defines how state changed.

AI agents remember things without history

Agents can store and retrieve memories, but teams often cannot answer:

  • Where did this memory come from?
  • Is it still valid?
  • Was it corrected?
  • Which decision used it?
  • Did a human approve it?
  • What happens if we replay without it?

Causet turns memory into a timeline.

Decisions happen without an audit trail

AI and rules-based systems make decisions:

  • refund allowed
  • customer escalated
  • transaction approved
  • account flagged
  • policy exception granted
  • message moderated

But teams need to know:

  • what inputs were used
  • what policy version applied
  • what prompt or rule ran
  • what model returned
  • what confidence was produced
  • who approved or overrode it

Causet records decisions as structured state transitions.

Workflows scatter across infrastructure

Teams end up stitching together:

  • REST controllers
  • service methods
  • SQL updates
  • Kafka consumers
  • queue workers
  • cron jobs
  • retries
  • DLQs
  • projection rebuild scripts
  • audit tables
  • admin repair tools

Causet gives those flows one deterministic model.

Production state breaks

When state is wrong, teams usually ask:

  • What changed?
  • Which event caused it?
  • Which projection drifted?
  • Which entities were impacted?
  • Can we replay safely?
  • Can we fix it without emergency SQL?

Causet gives you replay, forks, timelines, and verified repair.


What Causet changes

Causet gives teams:

  • Durable event ledger
  • Deterministic rule execution
  • Replayable timelines
  • Forkable state
  • AI memory provenance
  • AI decision audit trails
  • Human approval history
  • Automatic projections
  • Named queries
  • Safer production repair

Every write follows the same pipeline:

Intent / Agent Action

Validate

Run Rules

Decision / Tool Call / Approval

Commit Events

Update Timeline

Materialize Projections

Query / Replay / Fork / Audit / Repair

Why this matters for AI

AI agents do not just need memory. They need memory with history.

A vector database can retrieve relevant context. It does not, by itself, explain why that context exists, whether it was revoked, which decision used it, or how the system would behave if the memory were corrected.

Causet works alongside vector databases by recording the memory and decision ledger around retrieval. Retrieval answers “what’s similar.” Causet answers “why is this here, and what happened because of it.”


Use Causet when state has consequences

  • An AI support agent decides whether to issue a refund
  • A financial onboarding workflow approves or rejects an applicant
  • A customer memory gets updated and later needs correcting
  • A billing usage calculation determines what a customer is charged
  • A marketplace allocates inventory across competing orders
  • A compliance review needs to be reconstructed for an auditor
  • A production incident requires a repair that must be verified, not guessed

If getting it wrong costs money, trust, or a compliance finding, the state that led there should be replayable, forkable, and auditable.


Next steps