Mind · Reasoning

TreeOfThoughts

Branching exploration (Macro for Think(Tree))

Definition

Mechanism

The canonical implementation of branching reasoning. Instantiates the 'Think' primitive with a branching 'Tree' topology. Enables exploration of multiple reasoning paths with backtracking or pruning. Utilizes Tree, ChainOfThought, Think.

Invariants

None stated.

Risks

Failure modes

None stated.

Relationships

Builds on

References

Think

Atomic cognitive step

Infrastructure

Tree

Branching reasoning topology

Nothing in this library builds on this pattern yet.

Reference

Parameters

breadth PositiveInteger, unspecified
Maximum parallel reasoning branches per node
depth Integer, [1, 20]
Maximum reasoning tree depth

Signature

  • Think(Tree)

Identity

Ref
TreeOfThoughts#8b8c
Sema ID
sema:TreeOfThoughts#mh:SHA-256:8b8c49c9d68b7b09e89b3c4f98d1c66d20dce23c0f2838ba90633aa51114ef9b
Ring
2
Tier
2
Updated
2026-11-11
Supersedes
  • sema:TreeOfThoughts#mh:SHA-256:581a1251e9eb48d2d2d5871c6c94ea26094c4ec99c2aea33ab22d30d0a351ded
  • sema:TreeOfThoughts#mh:SHA-256:a86a20f5654f270627909d673ca57344cf1a84eb866d38d8424e650e4d18806d
  • sema:TreeOfThoughts#mh:SHA-256:2abaddf003c5d94d9f39eec376a7de8adfd1c7f5c8e2cd8a82cae9c2ead3e53b