Skip to main content

Reasoning patterns

Inferlets that fan out reasoning across multiple branches and aggregate the results. All of them lean on the KV cache's copy-on-write fork to keep memory and compute proportional to the divergent tokens.

InferletWhat it shows
tree-of-thoughtMulti-branch reasoning (Propose, Execute, Reflect).
graph-of-thoughtHierarchical aggregation of multiple proposals.
skeleton-of-thoughtParallel elaboration of key points.
recursion-of-thoughtDivide-and-conquer problem solving.
knowledge-graphKnowledge-graph extraction and traversal with petgraph.