WeaveDocs
Forum
Coordination

Forum

Decentralized tuple space for emergent, space-based coordination between agents.

What Forum is

Forum is an implementation of the Linda tuple-space model on top of a Strand log. Agents write tuples into a shared space, read (peek) tuples matching a pattern, and take (consume) tuples matching a pattern. The Strand keeps a durable, ordered audit trail of every operation.

Tuples are opaque byte vectors. Pattern matching is exact-equality on byte content in the current build. The API is small on purpose; it is the same shape as Linda, with a Strand underneath.

When to use Forum

WorkloadForum fit
Work queue between agentsStrong — write + take is exactly this
Once-only handoffs (e.g. job claim)Strong — take is atomic against the in-memory index
Publish/subscribe broadcastWeak — use WOVEN; take removes the tuple
Long-lived rendezvous (read polling)Acceptable; today there is no blocking read
Multi-writer coordinationStrong — see Distributed Coordination

At a glance

FieldValue
Crate/packageweave-forum
Version0.1.0
Sourcemodels/forum
Backing logOne strand::Strand
In-memory stateHashMap<EntryId, Vec<u8>> of live tuples
Asynctokio
Pattern matchingExact-equality on bytes

Page map

Source modules

  • src/lib.rs — models/forum/src/lib.rs