Skip to content

Commit fd176ec

Browse files
author
mengqingfang2025
committed
feat: agent
1 parent 9c53b4e commit fd176ec

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

25AI应用/Agent设计模式.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AI Agent 系统的各种设计模式
2+
3+
## 提示词链
4+
- 任务分解:将复杂任务拆解为聚焦步骤序列(又称管道模式)
5+
- 链式处理:每步使用前步输出作为输入,执行LLM调用或处理逻辑
6+
- 可靠性提升:显著增强复杂语言交互的可控性和稳定性
7+
8+
## 路由
9+
- 路由使 Agent 能够根据条件动态决定工作流中的下一步。
10+
- 它允许 Agent 处理各种输入并调整其行为,超越线性执行。
11+
- 路由逻辑可以使用 LLM、基于规则的系统或嵌入相似性实现。
12+
13+
## 并行化

25AI应用/agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 资料
44
- [google-adk](https://google.github.io/adk-docs/agents/)
5-
- [agentic-design-patterns](https://github.com/xindoo/agentic-design-patterns.git)
5+
- [agentic-design-patterns](https://github.com/xindoo/agentic-design-patterns.git) [Agent设计模式](./Agent设计模式.md)
66
## 什么是AI Agent
77
一般叫智能体,能力为:通过感知环境、再有知识库增强、通过大模型推理决策、然后执行。
88

0 commit comments

Comments
 (0)