The core philosophy of this project can be summarized as: The model is the author, the script is the orchestrator. When a user describes a workflow task, the model generates a JavaScript script containing the execute(context) function, then hands it over to the local daemon for execution.
The daemon runs the script in a WASM-isolated QuickJS sandbox, where the only available scope is workflow primitives—including agent, parallel, pipeline, verify, loop, and checkpoint. Each agent() call becomes an HTTP request to the model provider, scheduled via a concurrent queue. The user's chat window will only see the final answer, not the intermediate processes.