Learn how to design effective agentic workflows with step-by-step guidance for beginners. This guide helps you create automated processes that work intelligently to accomplish your goals.
What you’ll learn
How to design an effective agentic workflow step-by-step
Understanding the different components of an agentic workflow
Best practices for testing and optimizing your workflow
Primary assistant is the entry point of the workflow. It is the assistant that will be used to start the workflow and delegate the tasks to other assistants. Let’s say you want to build an AI system that can schedule appointments, register complaints, and answer FAQs. You can create three assistants for each task and connect them with primary assistant.Primary assistant can be used as following:
Task Delegation: Delegate the task to other assistants.
Greeting: Greet the caller and do some small talk.
Simple Agent: Can be used as a simple agent just like the simple assistant.
Primary assistant has following components:
Agent Capabilities: Define the capabilities of the primary assistant. What it can do and what it can’t do.
Agent Tasks: Define the task steps that the primary assistant can follow.
Tools: Define the tools that the primary assistant can use. It can be built-in tools or custom tools.
Knowledge Base: You can connect your knowledge base to the primary assistant just like simple assistant.
Renaming the primary assistant title is not allowed.
Secondary assistant is the assistant that will be do the actual tasks. Like Book Appointment, Register Complaint, Answer FAQ. If caller ask “I want to book an appointment”, the primary assistant will delegate the task to secondary assistant (Book Appointment Assistant). Then the secondary assistant will continue the conversation with the caller. It will check the availability of the slot, confirm the details and book the appointment. When the task is completed, the secondary assistant will return the result to the primary assistant.
Secondary assistant has following components:
Agent Capabilities: Define the capabilities of the secondary assistant. What it can do and what it can’t do.
Agent Tasks: Define the task steps that the secondary assistant can follow.
Tools: Define the tools that the secondary assistant can use. It can be built-in tools or custom tools.
Knowledge Base: You can connect your knowledge base to the secondary assistant just like simple assistant.
If you add a child assistant to the secondary assistant, it will act like both primary and secondary assistant and delegate the task to the child assistant when necessary.
Remember always provide a descriptive title to the secondary assistant. It will help the LLM to understand the task and delegate it to the secondary assistant.