Agent Planning Tree (Tree-of-Thought)
Branch-and-evaluate planning tree with backtracking on dead ends.
Rendering…
Make it your own.
digraph plan {
rankdir=TB;
graph [bgcolor=transparent];
node [shape=box, style="rounded,filled", fontname=Inter, fontsize=10];
G [label="Goal", fillcolor="#fce7f3"];
A [label="Plan A\nscore 0.72", fillcolor="#dcfce7"];
B [label="Plan B\nscore 0.45", fillcolor="#fef3c7"];
C [label="Plan C\nscore 0.83 ★", fillcolor="#dcfce7"];
A1 [label="A.1 step", fillcolor="#dbeafe"];
A2 [label="A.2 dead-end", fillcolor="#fee2e2"];
C1 [label="C.1 sub-plan\nscore 0.85"];
C2 [label="C.2 sub-plan\nscore 0.70"];
Final [label="Execute C → C.1 → ...", fillcolor="#dcfce7"];
G -> A; G -> B; G -> C;
A -> A1; A -> A2;
C -> C1; C -> C2;
C1 -> Final;
}