Agent state

ReasoningTree

Tree-of-Thoughts / MCTS-style branching reasoning. Nodes carry scores and statuses (explored, pruned, selected, pending). Pass selectedPath to highlight the winning branch.

Sourcesrc/components/ai/reasoning-tree.tsx

Selected path

Vertical file-tree layout. The selectedPath prop highlights root → a → a2 as the winning branch.

Reasoning tree
6 nodes

Horizontal mind-map

Same tree rendered horizontally — better for presentation screenshots.

Reasoning tree
6 nodes

Scores hidden

Set showScores={false} when you want a clean topology without numeric noise.

Reasoning tree
3 nodes