Skip to content

Commit a1e8c0b

Browse files
author
ajosh0504
committed
Added agent architectures
1 parent 3d7a349 commit a1e8c0b

File tree

6 files changed

+33
-5
lines changed

6 files changed

+33
-5
lines changed

docs/10-key-concepts/1-what-are-ai-agents.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@
22

33
![](/img/screenshots/10-key-concepts/agent-workflow.png)
44

5-
An AI agent is a system that uses an LLM to **reason** through a problem, create a **plan** to solve the problem, and **execute** the plan with the help of a set of tools.
6-
7-
In multi-agent systems, two or more agents collaborate or orchestrate and delegate tasks to solve problems.
8-
9-
This way, agentic systems can handle complex, multi-step queries, and also self-revise and refine responses.
5+
An AI agent is a system that uses an LLM to **reason** through a problem, create a **plan** to solve the problem, and **execute and iterate** on the plan with the help of a set of tools.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# 🦹 Agent architectures
2+
3+
AI agents can consist of a single LLM as the decision maker or multiple LLMs (or same LLM, different prompts) working together to solve complex problems.
4+
5+
Let's look at a few different agent architectures:
6+
7+
## Tool-calling
8+
9+
This is the architecture most agents start with. It consists of a single LLM that has access to several tools to perform a range of tasks.
10+
11+
![](/img/screenshots/10-key-concepts/agent-workflow.png)
12+
13+
If you start with tool-calling agents, but upon thorough evaluation find that you need a more sophisticated architecture, only then consider multi-agent architectures. Bear in mind that fully autonomous multi-agent workflows mean higher costs, latency, and a system that is hard to debug, so use them with caution.
14+
15+
## Supervisor
16+
17+
In this architecture, a single agent (supervisor) interfaces with a group of agents to determine the next course of action.
18+
19+
![](/img/screenshots/10-key-concepts/supervisor.png)
20+
21+
## Network
22+
23+
In this architecture, each agent can communicate with every other agent and decide which one to call next or end the execution.
24+
25+
![](/img/screenshots/10-key-concepts/network.png)
26+
27+
28+
## Custom
29+
30+
In this setup, you can decide which agents can interact with each other and how the control flows between them.
31+
32+
![](/img/screenshots/10-key-concepts/custom.png)
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)