手动更新

This commit is contained in:
2026-04-23 05:51:04 +08:00
parent b0cdd19bfc
commit c8599198a0
33 changed files with 1680 additions and 12 deletions

40
wiki/concepts/AI-Agent.md Normal file
View File

@@ -0,0 +1,40 @@
---
title: "AI Agent"
type: concept
tags: [ai-agent, autonomous, llm]
last_updated: 2025-04-23
---
## Definition
AI AgentAI 智能体是围绕大语言模型LLM构建的循环控制系统具备感知目标、规划步骤、执行动作、反思结果的能力实现真正的自主行动。
## Core Loop
AI Agent 通过一个连续循环过程实现其目标:
1. **获取任务**:接收高层目标(用户或自动触发)
2. **扫描场景**:感知环境,获取上下文信息(工具/记忆/资源)
3. **仔细思考**:由推理模型驱动,分析任务与场景,制定行动计划
4. **采取行动**调用适当工具API/代码/数据库),作用于外部世界
5. **观察并迭代**观察行动结果更新上下文循环回到步骤3
## Key Capabilities
- **自主决策**:根据上下文自主选择行动策略
- **工具使用**:调用 API、执行代码、查询数据库
- **多步骤规划**:分解复杂任务为可执行步骤
- **自我反思**:基于执行结果调整下一步行动
## Role in AI System Architecture
- **执行层**AI Agent 作为 AI 系统的"行动系统",负责将决策转化为实际行动
- 使用 [[Large Language Model]] 进行推理
- 使用 [[RAG]] 确保信息来源准确
## Related Concepts
- [[Large Language Model]] — Agent 的"大脑"
- [[RAG]] — Agent 的"记忆"
- [[ReAct Pattern]] — Agent 的推理-行动模式
- [[Agentic AI]] — 具备自主决策能力的 AI 系统
## Sources
- [[llms-rag-ai-agent-三个到底什么区别]]
- [[designing-for-agentic-ai]]
- [[n8n-full-tutorial-building-ai-agents-in-2025-for-beginners]]