--- 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-数据蒸馏]]