> npm install -g deepclause-sdk
Copied!Move beyond stochastic prompting. Compile your agent specifications into deterministic, sandboxed logic programs that run exactly as defined.
Most AI tools act as "wrappers" around prompts. When they fail, you tweak the prompt. DeepClause treats specifications as source code. We compile your intent into DML (DeepClause Meta Language), providing guarantees that pure LLMs cannot.
Tools run in AgentVM - a lightweight WASM-based Linux environment. Zero native code execution risks.
Define multiple approaches. If one fails, the runtime intelligently backtracks and tries the next branch. No if/else spaghetti.
Combine the semantic power of LLMs with the rigorous correctness of symbolic
logic. Use @("...") for neural predicates.
Strictly limit what tools are available to specific sub-tasks. Prevent an agent from reading files when it should only simple-search.
DeepClause Meta Language (DML) is a Prolog-based dialect designed for AI workflows. It allows precise control over agent behavior.
In DML, you define what should happen, not just a linear script. If the first method
fails (e.g., validate_answer rejects the output), the runtime automatically
resets state and tries the next defined clause.
Note how validate_answer acts as a
gatekeeper. Pure LLMs often ignore such constraints; logic enforces them.
Standard agents pollute their context window with every step. DML allows you to spawn
isolated sub-tasks using prompt/N that don't share history.
Use this for unbiased critiques or parallel exploration where one thought path shouldn't influence another.