curl -fsSL https://cantorindustries.com/jdsl-py/install.sh | bash
Define sequences, checks, actions, retries, and model decisions as an inspectable behavior tree.
Execute with named state, typed inputs, scoped tools, and traceable dataflow.
Capture verified traces and turn repeatable behavior into portable .jdsl policies.
Sequencing, selection, guards, retries, and fixed actions live in inspectable tree structure.
Models enter only at declared predict or react leaves with typed inputs and outputs.
Canonical traces preserve state, provenance, dataflow, and the decisions made along the way.
Verified procedure can be packaged into restricted .jdsl policies and bound to trusted host capabilities.
from jdsl import root, seq, sel, act, check, predict # The tree structure is the call structure. skill = ( root("Triage") .model("deepseek-chat") .do(seq( predict("message -> category"), sel( seq(check("category", "billing"), act(route_to_billing)), seq(check("category", "support"), act(route_to_support)), act(route_to_human) ) )) )
The first end-to-end implementation demonstrates the approach on a retail cancellation workflow, with replay verification and measurable residual decision burden. JDSL does not remove models; it reduces the behavior they must reconstruct.