Files
nexus/wiki/concepts/Agent.md

26 lines
1.0 KiB
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: "Agent"
type: concept
tags: [agent, llm, automation, mcp]
aliases: [Agent, AI Agent, 智能体, 自主代理]
last_updated: 2025-12-20
---
## Definition
Agent智能体由 [[Large Language Model]] + [[Model Context Protocol|MCP]] + [[Prompt]] 组成实现自动化执行。LLM 给出步骤方法和工具调用指令MCP 负责实际执行。
## Key Facts
- LLM 本身只给出"步骤方法",不会真正执行(如大模型告诉你如何发邮件,但不会自己发)
- Agent 将 LLM 与 MCP 工具整合,实现真正的自动化
- Agent 工作流:输入 Prompt含工具描述→ LLM 返回工具名和参数 → MCP Server 执行 → 返回结果
- 是 [[LangChain]] 等开发框架的核心应用场景
## Connections
- [[Large Language Model]] ← 核心组件 ← [[Agent]]
- [[Model Context Protocol]] ← 执行层 ← [[Agent]]
- [[Prompt]] ← 输入 ← [[Agent]]
- [[LangChain]] ← 用于构建 ← [[Agent]]
## Sources
- [[大模型相关术语和框架总结llm-mcp-prompt-rag-vllm-token-数据蒸馏]]