Loading...
Loading...
Compare original and translation side by side
- Thought: reason about what to do next
- Action: select and invoke a tool
- Observation: process tool result
- Repeat until task complete or stuck
- Include max iteration limits- Thought: reason about what to do next
- Action: select and invoke a tool
- Observation: process tool result
- Repeat until task complete or stuck
- Include max iteration limits- Planning phase: decompose task into steps
- Execution phase: execute each step
- Replanning: adjust plan based on results
- Separate planner and executor models possible- Planning phase: decompose task into steps
- Execution phase: execute each step
- Replanning: adjust plan based on results
- Separate planner and executor models possible- Register tools with schema and examples
- Tool selector picks relevant tools for task
- Lazy loading for expensive tools
- Usage tracking for optimization- Register tools with schema and examples
- Tool selector picks relevant tools for task
- Lazy loading for expensive tools
- Usage tracking for optimization| Issue | Severity | Solution |
|---|---|---|
| Agent loops without iteration limits | critical | Always set limits: |
| Vague or incomplete tool descriptions | high | Write complete tool specs: |
| Tool errors not surfaced to agent | high | Explicit error handling: |
| Storing everything in agent memory | medium | Selective memory: |
| Agent has too many tools | medium | Curate tools per task: |
| Using multiple agents when one would work | medium | Justify multi-agent: |
| Agent internals not logged or traceable | medium | Implement tracing: |
| Fragile parsing of agent outputs | medium | Robust output handling: |
| 问题 | 严重程度 | 解决方案 |
|---|---|---|
| Agent无迭代限制循环 | 严重 | 始终设置限制: |
| 工具描述模糊或不完整 | 高 | 编写完整的工具规范: |
| 工具错误未反馈给Agent | 高 | 显式错误处理: |
| 所有内容都存储在Agent内存中 | 中 | 选择性存储内存: |
| Agent拥有过多工具 | 中 | 根据任务精心挑选工具: |
| 可用单个Agent完成却使用多个Agent | 中 | 合理使用多Agent: |
| Agent内部操作未记录或无法追踪 | 中 | 实现追踪功能: |
| Agent输出解析脆弱 | 中 | 健壮的输出处理: |
rag-engineerprompt-engineerbackendmcp-builderrag-engineerprompt-engineerbackendmcp-builder