Wrap-up
1. Wrap-up
Congratulations on making it to the end of the course! You've gone on quite the journey!2. LLM-only graph
Remember that we started with a graph consisting of a single LLM that could respond to user inputs, but was bounded by the limitations of not having access to external tools.3. Linear agent
We gave this LLM access to tools in a linear workflow, which expanded its capabilities, but given that the tool node was non-negotiable in this workflow, meant that inputs that didn't require a tool call often got stuck in the workflow. To mitigate this,4. Conditional edges
we introduce conditional edges, so tools were only called if a condition was met. This condition checked if a tool call was required, called the tool node if it returned True, and ended the workflow if not. We saw that this approach was much more flexible, but a single agent system can struggle using tools where one tool output is dependent on another, and cannot support concurrent tasks.5. Swarm multi-agent
We explored a swarm multi-agent framework, splitting tools across multiple agents with clear functions of operation. We saw that this workflow enabled better exchange of information from different tools, but that the agents could get stuck in a loop where neither one could solve the problem. Additionally, the swarm required a starting point, which isn't always flexible to the range of tasks that the agent might encounter.6. Supervisor multi-agent
We finished with the supervisor framework, adding a third agent to supervise the other two. This agent handled the delegation of tasks, the exchange of information between the two worker agents, and the response back to the user. This modularity of distinct tasks gave us much better performance, and the supervisor approach could continue to scale for more agents.7. Let's practice!
Congratulations again! Agents are an extremely exciting and valuable domain of AI, and there are lots of tools out there. Regardless of which you decide to use, the insights from this course will serve you well!Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.