#daemon #hash #worker #soma #pipeline #cache #sub-processes #carries #env-manager #serialization

bin+lib somatize-worker

Worker daemon for distributed execution in the Soma runtime

30 releases

Uses new Rust 2024

0.5.1 Aug 6, 2026
0.5.0 Aug 5, 2026
0.4.0 Aug 5, 2026
0.3.1 Jun 28, 2026
0.2.46 Apr 6, 2026

#307 in Caching

40 downloads per month
Used in 2 crates

Elastic-2.0

1MB
23K SLoC

somatize-worker

The worker daemon: runs plans, isolates Python, and moves data between machines.

A LocalRunner that listens on a port. Python filters execute in a child subprocess, so the GIL is completely isolated from Rust and Tokio.

EnvManager keeps one isolated venv or conda environment per pipeline and updates it incrementally — it hashes the requirements and installs, upgrades or removes only what changed. Set SOMA_LOCAL_PACKAGE when developing against a working tree, or the worker installs the last released Soma and runs code different from the one that pickled the filters.

Remote streaming drives the runtime's StreamRun rather than reimplementing it, and the serialized plan carries the run seed so remote cache keys are salted like local ones.


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.

Dependencies

~20–31MB
~484K SLoC