cd /news/ai-agents/a-protocol-for-ai-agent-workspace-st… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-74090] src=github.com β†— pub= topic=ai-agents verified=true sentiment=Β· neutral

A protocol for AI agent workspace state and effect management

Reel, a protocol for managing the boundary between an AI agent's speculative work and external systems, defines six content-addressed types, three verbs, and three invariants to make agent actions transactional. The protocol ensures that irreversible effects are never executed if the agent later abandons the reasoning that produced them, by constructing the capability to fire an effect only inside a commit operation. A Rust kernel implementing the protocol is under development, with fork and abort already implemented and commit in progress.

read3 min views2 publishedJul 26, 2026
A protocol for AI agent workspace state and effect management
Image: source

reel is a protocol for the boundary between an AI agent's speculative work and the systems it does not own.

An agent reasons by attempting things. Some attempts cross that boundary: a message is posted, a row is written, a payment is taken. Once an action has crossed, no later decision β€” including the decision to abandon the line of reasoning that produced it β€” can retract it. reel exists to make the boundary transactional, so that an action the system decides to discard is never performed in the first place.

reel defines six content-addressed types β€” Hash

, Block

, Ref

, Delta

, Capability

, View

β€” three verbs β€” fork

, commit

, abort

β€” and three invariants: reachability, the silencing of discarded irreversible effects, and capability narrowing.

The load-bearing decision is that a View

's pending side-effects are themselves a content-addressed Block

. commit

moves that block into the committed log and drains it; abort

drops the reference, after which the block is unreachable and is collected. No path between the submission of an irreversible effect and commit

can fire it, because the capability needed to fire one is constructed only inside commit

's drain. abort

constructs none, so on the discard path the effect is, by construction, unable to run.

The verbs, the snapshot-isolation reading of a View

, the capability model and the effect taxonomy are each taken from existing work β€” Gray (1981), Wang & Zheng (2026), Berenson et al. (1995), Miller, Yee & Shapiro (2003), Garcia-Molina & Salem (1987). reel's contribution is their composition under a single content-addressed representation.

State, side-effects and capabilities are represented as the same kind of content-addressed block. One transactional kernel therefore provides rollback, audit and sharing for an entire workspace, rather than each being implemented again for each feature. A system that routes work across many external resources can rebuild its state-and-effect layer on this one kernel instead of reasoning about transactionality resource by resource.

The specification(spec/

): the six types, three verbs and three invariants; the effect classes; the conformance criteria; the adapter interface.A Rust kernel(crates/

):reel-spec

β€” the protocol types. The namespace is a persistent, copy-on-write map, so a fork shares it in constant time.reel-store

β€” a content-addressed block-and-ref store, with an in-memory backend and a redb-backed persistent one, and a reachability walker for collection.reel-effects

β€” the sealed effect-class traits and the linear fire-capability.reel-core

β€” the kernel.fork

(constant-time copy-on-write inheritance with capability narrowing) andabort

are implemented;commit

follows.adapters/

,reel-cli

β€” the filesystem and remote adapters and the command-line surface, in progress.

The workspace builds on stable Rust and passes its test suite, which includes property-based tests over the kernel's invariants.

commit

β€” precondition validation and the ordered drain of buffered effects.- The command-line tool β€” a dry-run loop that runs a process, displays its pending effects, and either commits or discards them.

  • The effect-interception layer β€” capturing a process's outbound effects through a replaceable backend, so that classifying a new service is the only work a new integration requires.
cargo build --workspace
cargo test  --workspace

Rust 1.95 (stable), edition 2024.

Pre-release. The specification is settled; the kernel is under construction along the path described above. Interfaces may change.

Apache-2.0. See LICENSE.

── more in #ai-agents 4 stories Β· sorted by recency
── more on @reel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/a-protocol-for-ai-ag…] indexed:0 read:3min 2026-07-26 Β· β€”