Skip to main content

Crate kronroe_wasm

Crate kronroe_wasm 

Source
Expand description

Kronroe WASM — browser-compatible temporal graph database.

This crate wraps kronroe_agent_memory::AgentMemory for WebAssembly environments. It uses an in-memory storage backend (no file I/O), making it suitable for browser-based demos and agent workflows.

§Usage (JavaScript)

import init, { WasmGraph } from 'kronroe-wasm';

await init();
const graph = WasmGraph.open();
const factId = graph.assert_fact("alice", "works_at", "Acme");
const facts = graph.current_facts("alice", "works_at");
console.log(JSON.parse(facts));

Structs§

WasmGraph
An in-memory AgentMemory store for browser environments.