Skip to main content

Crate agentstategraph_wasm

Crate agentstategraph_wasm 

Source
Expand description

WASM bindings for AgentStateGraph — runs in browsers, Deno, and Node.

Usage (browser/Deno): import init, { WasmAgentStateGraph } from ‘./agentstategraph_wasm.js’ await init() const asg = new WasmAgentStateGraph() asg.set(“/name”, “my-cluster”, “Checkpoint”, “init”) asg.get(“/name”) // → ‘“my-cluster”’

Structs§

WasmAgentStateGraph
AgentStateGraph for WASM — uses IndexedDB for persistent browser storage.
WasmPolicyStore
PolicyStore — situation-matching authorization + change-cost policies. Wraps agentstategraph_policy::PolicyStore.