Expand description
Algorithm adapter — an Extism guest algorithm driving GraphCompute kernels.
§Wire contract (per qname q)
algo_<q>_invoke— input is a JSON object{session, graph, args}. The guest drives the coarse kernels via the importeduni_graph_callhost fn (referencingsessionon every call) and publishes its per-vertex result withemit. The output bytes are ignored; the host reads the emitted columns from the session registry (proposal §4.6).
The host projects the graph (capability-gated on GraphCompute + HostQuery
via the bridge), opens a session in the shared registry, invokes the guest,
then closes the session and assembles the declared (nodeId, …) batch.
Structs§
- Extism
Algorithm AlgorithmProvideradapter wrapping an Extism plugin pool + session registry.