Loading documentation...
Loading documentation...
Chain tools into multi-step orchestrations with YAML or JSON. Pass outputs between steps, run in parallel, debate for rounds.
1name: my-workflow2description: What this workflow does3version: "1.0"4 5settings:6 optimization:7 enabled: true8 smartRouting: true9 10steps:11 - name: step-name12 tool: tool_name13 input:14 param1: value115 output:16 variable: variable_name17 18output:19 format: detailedSimple chaining runs one step after another. A TachiBot swarm runs models in parallel, then synchronizes, debates and synthesizes.
Reference earlier outputs with ${step_name.output}.
A jev_decide step returns calibrated numbers as JSON. Later steps read them with condition.if — a dotted path plus == != > >= < <=. When the condition is false the step is skipped, so the expensive work only runs when it is needed. Jev answers in under a second for about $0.00002.
1steps:2 - name: answer3 tool: perplexity_ask4 input:5 query: "${query}"6 output:7 variable: first_answer8 9 - name: gate10 tool: jev_decide11 input:12 state: "QUESTION: ${query} ANSWER: ${first_answer}"13 questions:14 grounded:15 type: noul # yes/no probability16 instructions: "Is every key claim supported by evidence?"17 complete:18 type: score # ordered scale, lowest first19 instructions: "How completely does it answer the question?"20 criteria: ["partial", "mostly", "complete"]21 22 # Runs only when Jev doubts the answer is grounded.23 - name: extra-research24 tool: grok_search25 condition:26 if: "gate.answers.grounded.noul < 0.6"27 input:28 query: "${query}"Question types: noul takes only instructions; choice needs criteria as an {option: description} map with at least two options; score needs criteria as an ordered array.
overwrite: true to replace an existing file.