Agentic Workflow
Definition
Agentic Workflow is a structured sequence of steps in which the agent autonomously decides on the next actions based on the current state, available tools, and intermediate results. Unlike a rigid pipeline, the workflow allows for branching, retries, and dynamic plan modification.
Key Components
- Goal: The final result the agent aims to achieve.
- Tools: Functions or APIs available to the agent to perform actions.
- Feedback Loop: Evaluation of the result of each step and adjustment of the plan.
- Memory: Storage of intermediate states and context.
graph LR
A[Goal] --> B[Planning]
B --> C[Tool Selection]
C --> D[Execution]
D --> E[Result Evaluation]
E -->|Not Achieved| B
E -->|Achieved| F[Completion]
Differences from Pipeline
| Characteristic | Pipeline | Agentic Workflow |
|---|---|---|
| Management | Static | Dynamic |
| Branching | Limited | Free |
| Adaptation | No | Yes |
| Feedback | External | Internal |