Please enable JavaScript.
Coggle requires JavaScript to display documents.
Agents & Workflows - Coggle Diagram
Agents & Workflows
Workflow & agents
are strategies for handling users tasks that can't be completed by claude in a single request
Agents
Given a goal and set of tools
Claude must figure it out how to complete the goal
Used when you don't know what task or task params will give to calude
Workflows
Series of calls to Claude meant to solve a specific problem
Used when you have clear flow
Evaluatior-optimizes patter
Producer
Grader
Parallelization workflows
Run the sub-task in parallel
Aggregate the results together
Split a single task into multiple subtask
The prompts for each subtask don't need to be identical
Chaining workflows
Breaks a larga and complex task into smaller sequential subtasks
Used to keep Claude focused on one aspect of the oversall tasks
used when the prompt is too big
Routing workflows
You can categorize incoming requests and route them to specialized processing pipelines
Two steps
Categorization
Specialized processing
Agents and tools
affective when you don't know what steps are required
Tools should be abstract
Examples
post_media
generate_image
BaSH
Environment inspection
Claude needs to inspect the environment
It allows agents to observe and understand the results of their actions