Files
nexus/wiki/concepts/AI代理.md
2026-04-17 08:38:12 +08:00

26 lines
771 B
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: "AI代理Agent"
type: concept
tags: [ai, cursor, agent]
date: 2026-04-17
---
## Definition
基于 AI 模型的自动化任务助手,可以按模式生成代码、规划任务或回答问题。在 Cursor 中AI 代理有三种模式Plan规划、Agent执行、Ask咨询
## Context
- Cursor 中的 AI 代理
## Key Modes
- **Plan 模式**:生成计划,不修改代码
- **Agent 模式**:执行计划,会修改代码文件
- **Ask 模式**:仅返回文本答案,不改动文件
## Usage
1. Plan 模式用于生成开发计划
2. Agent 模式用于实际代码生成
3. Ask 模式用于咨询问题,安全无副作用
## Related Concepts
- [[Plan Mode]]:方案预览模式
- [[Build Mode]]:实际执行模式