StateFabric — durable state for AI agents

The memory layer your AI agents
can trust

StateFabric is a durable, deterministic, replayable state backend built for AI agents. Set a value, kill the box, hydrate elsewhere — your agent doesn't even notice.

1 state fabric
100K ops / month
10 MB storage
No credit card

The problem

State is the silent killer of agent apps

Every agent you've shipped hits one of these walls. StateFabric removes all four.

Forgetting

Every restart, deploy, or cold start wipes your agent's context. There's no durable memory layer underneath.

Unverifiability

You can't prove what state produced an output — no chain of custody for debugging, audits, or trust.

Race conditions

Concurrent writers clobber each other's state. No CAS, no per-tenant isolation, no consistency guarantee.

No rollback

A bad state change is permanent. No branches, no snapshots, no time-travel replay to recover from mistakes.

How it works

One write, four steps, zero loss

Every state change flows through an append-only journal into a verifiable chain.

01

Request

Your agent calls the StateFabric API — set, get, compare-and-swap, snapshot, branch.

02

Journal

The write lands in an append-only event journal. Nothing is overwritten; everything is recorded.

03

BLAKE3 chain

Every event is content-addressed and hash-chained. Replays are deterministic, byte for byte.

04

Any object store

State hydrates from R2, B2, Wasabi, or local disk — bring your own bucket or use ours.

Built for scale

Everything a production state layer needs

Nine capabilities, zero boilerplate. StateFabric is the state layer you don't have to think about.

Survives crashes

Durable writes, acknowledged before return

Restart anything — state never disappears

Time-travel replay

Replay any day of history

Debug production like it's local

Compare-and-swap

Optimistic concurrency out of the box

Two writers, zero clobbered state

Branches

Copy-on-write, git-for-memory

Test schema changes on a copy, merge when green

Snapshots

On demand or on schedule

Point-in-time recovery in one call

WASM transitions

Module-hash verified (BLAKE3 allowlist)

Tamper-proof state-transition logic

Encryption at rest

AES-256-GCM, customer-managed keys

CISO-approved by default

Multi-backend storage

R2 / B2 / Wasabi / local FS

No vendor lock-in, ever

Pub/sub triggers

React to state changes in real time

Events drive your workflows

Pricing

Free to ship, production-grade when you're ready

StateFabric rides the platform plans — no separate signup, no metering surprise.

Tier
Monthly
Storage
Operations / mo
Fabrics
WASM
State Fabric features
Free
$0
10 MB
100K / mo
1
Sandbox for experimentation.
Starter
$24
5 GB
10M / mo
50
1
Real workloads on the dev-friendly tier.
Professional
$79
50 GB
100M / mo
500
5
Hot Cache included · add-ons available.
Enterprise
$299
500 GB
1B / mo
25
All add-ons included · volume pricing beyond.

Enterprise SLA ($499/mo) and MicroVM Enterprise ($399/mo) carry the same StateFabric caps as Enterprise with their respective differentiators.

Add-ons

Stack the capabilities you need

Hot Cache Booster ($79/mo) is included on Professional and above. Purchase the rest per line item — no plan change required.

Multi-Region

$50/mo

Active–active replication across regions for HA and global latency.

AI Memory Pack

$99/mo

Vector stores, embedding indices, and semantic memory for agent workloads.

Advanced Insights

$29/mo

Per-state metrics, dashboard, and alerting on size, count, and throughput.

Advanced Security

$49/mo

Audit log export, IP allowlisting, MFA on state operations, break-glass.

Overage

Bundled quotas, fair overage

Paid plans never hard-stop: beyond the bundle you pay per unit. Free tier hard-stops at 100K ops.

Storage overage$0.20 per GB-month

Rounded up to the next GB. Free tier hard-stops.

Operations overage$0.50 per million ops

Paid plans only; Free tier hard-stops at 100K.

WASM slots$5 / month per slot

Additional state-transition modules beyond the bundled count.

Get started

Running in 5 minutes

StateFabric is a single self-hostable service — or use the hosted one behind the platform API.

Cargo install

cargo install statefabric

Runs the Rust service locally against your own Postgres and object store.

Docker

docker run -p 9000:9000 statefabric

One command, zero local toolchain. Compose file included in the repo.

Fly Machine or any host

fly launch

Ship the service on Fly, your VPS, or inside your VPC behind the marketplace proxy.

FAQ

Frequently asked questions

How is StateFabric different from Redis?

Redis is a fast key-value store, but it isn't a state backend: no deterministic replay, no hash-chained history, no branches, no WASM state transitions. StateFabric gives you Redis-class hot reads via the Hot Cache add-on on top of a durable, replayable journal.

How is StateFabric different from Cloudflare Durable Objects?

Durable Objects are compute + state fused to the Workers platform. StateFabric is a standalone state backend: content-addressed and replay-deterministic, multi-backend (R2 / B2 / Wasabi / local), with WASM state-transition modules, copy-on-write branches, and no platform lock-in.

How is StateFabric different from Temporal?

Temporal durable-executes workflows; StateFabric durable-stores state. They complement each other — many teams pair StateFabric's replayable journals with Temporal's orchestration. StateFabric starts free and bundles its quotas into the platform plans instead of a $100/mo Essentials floor.

Do I have to bring my own object storage?

No. Use ours by default — it's the easiest path. Bring your own R2 / B2 / Wasabi bucket whenever you want full control.

What happens when I hit my quota?

On the Free tier you hard-stop with a statefabric_quota_exceeded 429 so nothing silently accrues. On paid plans, overage applies instead: $0.20/GB-month, $0.50 per million operations, $5/mo per WASM slot — and the dashboard shows you exactly where you stand.

Is StateFabric ready for regulated workloads?

State is encrypted at rest with AES-256-GCM, per-tenant isolation is enforced at the DB layer, and WASM modules are pinned by a BLAKE3 hash allowlist. The Advanced Security add-on adds audit-log export, IP allowlisting, MFA on state operations, and break-glass recovery.

StateFabric. Memory your agents can trust.

Start on the free tier in minutes. Need more than 500 fabrics, 500 GB, or a custom SLA? Talk to us about Enterprise.