somatize-compiler 0.5.1

Graph-to-execution-plan compiler for the Soma runtime
Documentation

somatize-compiler

GraphExecutionPlan: cache resolution, schema validation, distribution.

Turns a graph into something executable, and answers what it can before anything runs: schemas that cannot connect, nodes nothing reaches, a gradient that cannot flow.

ExecutionPlan variants: Sequence, Parallel, Execute, Step, Composite, Loop, Branch, Stream, Remote, Empty. Loop bodies and branch arms are claimed by dominance, and a loop carries carry_from separately from until — what a loop carries and what stops it are different questions.

The Scheduler reads a plan's topology and assigns it across workers: sequential stays together, parallel distributes, differentiable groups.


Part of Soma, a computational graph runtime for research pipelines, agent orchestration and data virtualization. Most users want the somatize facade or the Python package rather than this crate on its own.

Licensed under the Elastic License 2.0.