ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s

This commit is contained in:
2026-08-20 13:12:50 +00:00
commit b119135836
10275 changed files with 3284984 additions and 0 deletions
@@ -0,0 +1,58 @@
# Cursor Chat: ai-agent-book
## Metadata
- **Project**: ai-agent-book
- **Path**: `/Users/boj`
- **Date**: 2025-09-26 11:58:09
- **Session ID**: `e6191ea3-3b17-4ea5-9bbe-b05e04e1ebf3`
## Conversation
### 👤 You
n8nWorkflow模式的开源Agent框架
修改这一节,n8n 不是 workflow 模式的,它是支持 autonomous 和 workflow 模式的。网上搜索 n8n 的原理和工作模式
---
### 🤖 Cursor Assistant
我需要先查看当前的内容,然后搜索 n8n 的最新信息来更准确地描述它的工作模式。
---
### 🤖 Cursor Assistant
根据最新的搜索结果,我发现 n8n 实际上支持两种模式:**Workflow 模式**和 **Autonomous 模式**。让我修改这一节的内容以准确反映 n8n 的真实能力。
---
### 🤖 Cursor Assistant
我已经成功修改了关于 n8n 的章节内容。主要的修改包括:
## 修改要点
1. **标题更新**:将"n8nWorkflow模式的开源Agent框架"改为"n8n:支持双模式的开源Agent框架",准确反映了n8n的真实能力。
2. **双模式架构说明**:在开篇就明确指出n8n同时支持**Workflow模式**和**Autonomous模式**,强调了其设计的灵活性和前瞻性。
3. **模式对比与案例**
- 通过具体的Angie AI助理案例,分别展示了两种模式的工作方式
- Workflow模式:按预定义路径执行,可控且可预测
- Autonomous模式:根据上下文动态决策,支持工具调用和会话记忆
4. **技术架构深化**
- 详细说明了**AI Agent节点**作为Autonomous模式的核心组件
- 强调了工具调用(Tool Calling)、会话记忆(Conversation Memory)等关键功能
- 说明了执行模型如何适应双模式架构的需求
5. **价值总结**:强调n8n的成功在于融合了Workflow模式的确定性和Autonomous模式的灵活性,认识到实际应用中需要根据任务特性灵活选择或组合使用不同的执行模式。
这些修改更准确地反映了n8n作为一个成熟的开源Agent框架的真实能力,展现了其在处理从简单自动化到复杂AI集成任务时的灵活性和强大功能。
---
*Exported from [Cursor View](https://github.com/saharmor/cursor-view)*