Skip to main content

Module object

Module object 

Source
Expand description

Content-addressed objects — the fundamental unit of state storage.

All state in AgentStateGraph is composed of Objects. Every Object is individually content-addressed via BLAKE3 hash of its canonical serialization.

Two objects with identical content always produce the same ObjectId, enabling automatic deduplication of identical subtrees.

Structs§

ObjectId
A BLAKE3 hash identifying an object by its content. Two objects with identical content always produce the same ObjectId.

Enums§

Atom
A leaf value in the state tree.
Node
A container value in the state tree. Nodes reference children by ObjectId, forming a Merkle DAG.
Object
An Object is either an Atom (leaf) or a Node (container). This is the fundamental unit of state storage in AgentStateGraph.