Files
nexus/wiki/concepts/Tree-of-Thoughts.md

27 lines
855 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Tree of Thoughts"
type: concept
tags: []
sources:
- multi-agent-system-reliability
last_updated: 2026-04-28
---
# Tree of Thoughts
## 定义
思维之树——多智能体系统的树形探索模式,是[[Genetic-Algorithm]]遗传算法的精简实现。通过验证器决定哪些Agent分支被淘汰持续筛选直至找到最优解。
## 核心公式
将任务分配给N个Agent → Validator决定淘汰哪些 → 可选用通过验证的Agent特征生成新Agent填补空缺
## 关键要求
- 需要快速验证输出的方式如Eval/单元测试)
- 如果需要人工检查所有分支,太慢且容易出错
## 与Knock-out Pattern的关系
Tree of Thoughts是Knock-out模式的进阶——后者只是淘汰前者还包括通过验证的Agent特征重组。
## 来源
- [[multi-agent-system-reliability]]