all.sourceAllSource

The pillar guide

Event Sourcing for AI Agents

Agents forget. A chat window scrolls past, a process restarts, and the context is gone. Event sourcing fixes that at the storage layer: every decision, observation, and message becomes an immutable event you can replay, query at any point in time, and recall in microseconds.

What event sourcing gives an agent

Instead of overwriting state, you append events. The current state is a projection you derive from the log — and because the log is durable, the agent’s memory survives restarts, crashes, and redeploys. With AllSource Core that log is a Rust write-ahead log (CRC32 checksums, configurable fsync) backed by columnar Parquet, with in-memory projections that answer recalls at 11.9μs p99 and ingest at 469K events/sec.

  • Durable memory — nothing is lost on restart; the WAL + Parquet store is the source of truth.
  • Full provenance — replay the log to reconstruct exactly what the agent knew and when.
  • Time-travel queries — ask for any entity’s state as_of a past moment, first-class.
  • AI-native access — 43 MCP tools, plus x402 per-call payments for autonomous agents.

How AllSource compares

Evaluating a managed memory layer? Here’s how a durable event store stacks up against the popular agent-memory tools.

Go deeper

Every AllSource deep-dive, grouped by theme. New posts surface here automatically.

Engineering

How the durable event store is built — WAL, Parquet, recall, and the Rust core.

Use Cases

Patterns for putting event-sourced memory to work in real agent systems.

Product

Product updates, releases, and the story behind AllSource and Prime.

Give your agents memory that survives

Start on the hosted Indie plan for $19/mo, or self-host the whole stack for free under MIT.