agent概览
根据Anthropic的定义,agent定义如下:
At Anthropic, we categorize all these variations as agentic systems, but draw an important architectural distinction between workflows and agents: Workflows are systems where LLMs and tools are orchestrated through predefined code paths. Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks.
简单来说就是Workflows是预先定义好的一个路径,而Agents是让其自主完成各种流程,而无需预先定义。
workflows
Prompt chaining

Routing

Parallelization

Orchestrator-workers

Evaluator-optimizer

最近热门的Gemini 2.5 Pro Capable of Winning Gold at IMO 2025论文就是使用的这个工作流。
agents

参考
Zero to One: Learning Agentic Patterns