AllSource use cases

Keep the history your system will need later.

AllSource records ordered events so teams can prove what happened, replay how state changed, give agents source-backed memory, and reconstruct financial history.

One history · four outcomes
  1. 01 · ProveAudit trails and compliance
  2. 02 · ReproduceEvent replay and debugging
  3. 03 · RememberAI-agent memory with provenance
  4. 04 · ReconcileFinancial transaction history

01 · Prove

Audit trails and compliance

Record each accepted change with its actor, timestamp, entity, and metadata. Query the ordered history instead of reconstructing it from overwritten rows and scattered logs.

Use when: When someone asks what changed, who changed it, and what the system knew then.

  • Append-only events with integrity checks
  • Point-in-time state through `as_of` queries
  • Tenant-scoped HTTP history through Query Service
Explore audit and compliance
Ordered event stream
  1. +00:01

    customer.created

  2. +01:02

    risk.reviewed

  3. +02:03

    policy.approved

Derived result

Export the source events and reconstruct state at the review timestamp.

02 · Reproduce

Event replay and debugging

Replay the exact production sequence against a fresh projection. The first divergent state gives engineers a smaller, testable explanation for a failure.

Use when: When current state shows the failure, but not the sequence that caused it.

  • Deterministic replay from ordered events
  • Query Service rebuilds read models without rewriting source history
  • Published Core reference: 11.9µs p99 indexed reads
See event replay debugging
Ordered event stream
  1. +00:01

    checkout.started

  2. +01:02

    payment.authorized

  3. +02:03

    inventory.rejected

Derived result

Rebuild the checkout projection and compare state before and after rejection.

03 · Remember

AI-agent memory with provenance

Let an agent recall decisions across sessions while retaining the source events behind each memory. Prime derives graph, vector, and temporal context; Core can persist the record.

Use when: When an agent must remember more than the current prompt and explain where recall came from.

  • Graph, vector, and temporal retrieval in Prime
  • Durable source-event provenance through Core
  • Agent access through separate MCP connectors
Explore agent memory
Ordered event stream
  1. +00:01

    decision.recorded

  2. +01:02

    constraint.changed

  3. +02:03

    memory.recalled

Derived result

Return the relevant decision with its relationships, timestamp, and source-event trail.

04 · Reconcile

Financial transaction history

Store debits, credits, reversals, and corrections as ordered events, then derive balances in a projection. Corrections remain visible instead of replacing prior facts.

Use when: When a balance or transaction must be explainable at any point in its history.

  • Append-only ledger history
  • HTTP, realtime, and analytics reads over balance projections
  • Published Core reference: 469K events/sec batch ingest
Explore financial services
Ordered event stream
  1. +00:01

    debit.posted

  2. +01:02

    fee.assessed

  3. +02:03

    credit.reversed

Derived result

Replay the ledger to show when the balance moved and which event caused it.

Architecture fit

One event-native data layer across products.

Core owns durable source history and event-sourced operational metadata. Tenant boundaries let one deployment serve multiple projects without adding a database per application.

Core is primary

Events and system metadata share one WAL-durable source of truth.

Serve many projects

Separate products with tenant-scoped streams, keys, metadata, and projections.

Derive current state

Query Service builds tenant-scoped read models from retained Core events and rebuilds them through replay.

Integrate at edges

Connect external transport or specialist systems only when a workload explicitly needs them.

Product walkthrough

See event history become inspectable state.

Open working examples
Load on play

Direct answers

AllSource use-case questions

What role does Query Service play in these use cases?

Core remains the durable source of truth. Query Service provides tenant-scoped HTTP queries, realtime event and projection channels, analytics endpoints, and rebuildable read models tailored to each consuming application.

What are the main AllSource Event Store use cases?

AllSource is designed for audit trails, event replay and debugging, AI-agent memory with provenance, and financial transaction history. These workloads benefit from ordered, immutable events and point-in-time reconstruction.

Does AllSource require PostgreSQL?

No. AllSource Core is the database for event history and event-sourced operational metadata, including tenants, users, API keys, configuration, subscriptions, quotas, and billing state. Current AllSource services run without PostgreSQL.

Which AllSource product handles AI-agent memory?

AllSource Prime is the agent-memory engine. It combines graph relationships, vector retrieval, temporal context, and source-event provenance. Core is the event-store database; MCP connectors expose explicit tools to compatible agents.

Can one AllSource deployment serve multiple projects?

Yes. Tenant-scoped streams, API keys, system metadata, and projections let one AllSource deployment isolate and serve multiple products. External databases and streaming systems are optional integrations, not prerequisites.

Next event

Put one real workload through AllSource.

Use hosted services for managed operation, or run Apache-2.0 Core in your own stack.