Below Orchestration
Frameworks Make It Run
LangGraph, CrewAI, AutoGen, and Letta orchestrate the agent. They ship state schemas, reducers, and checkpointers — then hand the state architecture back to you.
membrane · agent state + governance layer
membrane is the state and governance layer for AI agents, built on fasten. It computes what the agent believes, why, whether it's still true, and what to do about it — before a bad action lands.
The wider AI agent governance category is converging on the right shape (discover, enforce, prove); where products differ is the substrate underneath — a vendor sensor in your network, or the audit log your services already write. membrane runs in your code path, not your network.
audit → belief & governance → correction
A Layer Your Framework Leaves to You
Below Orchestration
LangGraph, CrewAI, AutoGen, and Letta orchestrate the agent. They ship state schemas, reducers, and checkpointers — then hand the state architecture back to you.
Above Call-Tracing
Per-call LLM tracing tools show what was sent to the model on a single call — per call, in process, mutable. They don't model belief over time or reconcile against your systems of record.
membrane · The Seam
The seam between them: belief over time, drift reconciliation against the source of record, policy enforcement, and a tamper-evident trail. The thing only membrane does.
membrane is built on the fasten substrate — one typed, correlated, tamper-evident event model. Framework-agnostic by design, because state is where LangGraph, CrewAI, AutoGen, Letta, and homegrown agents all leave you on your own.
How It Works · The Pipeline
membrane · belief engine
Per-field provenance — which source won, when it was last verified, and freshness or TTL on every value the agent holds.
membrane · drift
Reconcile the belief against your systems of record. When the agent's copy diverges from the source, surface the drift.
membrane · control tier
Decide and enforce on the request path — block the action on stale or contradicted state before the side-effect lands.
↳ mbnl sits in front of all three — the model boundary normalization layer maps any model or vendor's output to one typed event before it touches state, and raw output enters at the lowest authority so it can't corrupt the belief. control is membrane's enforcement tier, not a separate product.
membrane · Drift Reconciliation
An agent holds plan = Growth, active. Billing cancelled the customer three days ago — a missed webhook, or a value cached at session start. membrane reconciles the belief against Stripe, the system of record, and the control tier blocks the refund before it goes out.
mbnl · The Front Layer
You switch GPT to Claude for cost or quality. The tool-call and state shapes differ, and state extraction quietly corrupts. mbnl — the model boundary normalization layer in front of membrane — maps every vendor's output to one typed event before it touches state.
Use Cases · Illustrative Failure Classes
The same failures happen on any framework, because state is what every framework leaves to you. These are illustrative problem → solution scenarios, not customer case studies.
Drift · Stripe
An agent holds plan = Growth, active; Stripe cancelled them three days ago. The agent issues a refund and re-grants access. membrane reconciles against the system of record, and the control tier blocks the action until it is re-verified.
Coherence · Cross-Thread
Same user, two threads — web chat and email. Each holds its own plan tier and preferred tone; they diverge; the agent contradicts itself across channels. membrane declares fields user-global or thread-local, surfaces the contradiction, and resolves to the authoritative source.
Freshness · TTL
A sales or support agent cached a price, policy, or eligibility rule. It changed. The agent quotes the old value confidently. Per-field TTL and decay mean the agent sees "verified 40 days ago, low confidence" and hedges or refreshes instead of asserting.
Provenance · explain
An agent gave a wrong answer; compliance wants the exact reconstruction. Tracing shows spans, not the belief state or provenance. fasten's 7-anchor trail plus membrane explain shows this value, this source won, this was suppressed, verified at T.
membrane is built on fasten. Bring your existing framework — the capture adapter speaks LangGraph today, with CrewAI and AutoGen next — and see what your agent believes and why.
The audit substrate for distributed systems — and the belief layer for the AI agents on top of them.