A content-addressed graph for processing networks, shared by independent node systems. This is used internally by Durable Programming for multimedia processing; our internal consumers are proprietary, but if you are working on a similar system, you may find this useful.
cag-core: BLAKE3 ids, theEnvelopeevery node is stored and hashed as, theNodetrait a system implements, async store traits, an in-memory store, layered stores, and graph traversal and copying that work across systems.cag-store-disk: a directory store with atomic writes, verify-on-read, write-once memos, and named refs.cag-eval: products, providers, and steppers. Every result is memoized under a key derived from the node's id and the request, so it is never invalidated and is shared by every process using the store. Steppers handle outputs that depend on all of history (IIR filters, feedback effects) by checkpointing their state as they go.cag-vm: the op registry fandango and oscillatide each carried a copy of, and an opt-inWorkspacefor hosts that hold several graphs over several stores at once.
cargo test --workspace
MIRIFLAGS=-Zmiri-disable-isolation cargo +nightly miri test --workspace
(cd fuzz && cargo test) # AFL targets; see fuzz/README.md to fuzzDESIGN.md has the model, and what each project changes to move onto
it. tests/interop.rs is a worked example of two systems used together.
Licensed under MIT or Apache-2.0, at your option.