Metaorcha

Agent graph

Planned for 0.4.3

Agent graphs will run dependent steps in order.

A graph is a set of steps with dependencies. In 0.4.3 a step will wait until the steps it needs have passed, and when a step fails, the steps that depend on it will not run.

This page describes a feature that ships in MetaBot 0.4.3. The behaviour below is the design, and it is marked planned until that release.

What the graph will do

  • A step with a needs list will wait for each step it names to pass.
  • A failed step will block its dependents. The receipt will name the blocked step.
  • Each step will be one receipt, and the graph will have one receipt that lists them.

What you can check yourself, after 0.4.3

  • A refusal receipt: a test step fails, and the dependent step does not run. The receipt shows both.

Questions

Can I use graphs today?
Not yet. Graphs are planned for MetaBot 0.4.3. Until then, the loop shapes that ship are ladders, checks and routines.
What is the difference between a loop and a graph?
A loop repeats one task until a check passes. A graph runs different steps in the order their dependencies allow.