Skip to content

Commit df4e497

Browse files
committed
Republish agents series as Advent of Agents
1 parent 80ddd0a commit df4e497

12 files changed

+13
-10
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For instance, Retrieval-Augmented Generation (RAG) can be broadly split into non
3838

3939
I recommend Travis Fisher's blog post on the [Agentic Spectrum](https://transitivebullsh.it/agentic-spectrum) for more on the idea of agentic as a relative term.
4040

41-
![Agentic Spectrum](./2024-11-27/agentic_spectrum.avif)
41+
![Agentic Spectrum](./2024-12-01/agentic_spectrum.avif)
4242

4343

4444
## Agentic Loop
@@ -47,7 +47,7 @@ A term that I have been using is the **agentic loop**. This is any loop of the
4747

4848
Libraries like LangGraph are designed to make implementing agentic loops easier.
4949

50-
![Agentic Loop](./2024-11-27/agentic_loop.png)
50+
![Agentic Loop](./2024-12-01/agentic_loop.png)
5151

5252

5353
## Composition of Agents
@@ -56,7 +56,7 @@ Let me present my current working definition of an Agent
5656

5757
> **An agent is a software component that composes like an agent**
5858
59-
![composition](./2024-11-27/composition.png)
59+
![composition](./2024-12-01/composition.png)
6060

6161
Although it appears circular, this definition is interesting to me because it defines an agent in terms of how it looks from the outside, rather than the definition of "agentic" which is defined in terms of how the system is implemented.
6262

@@ -70,7 +70,7 @@ We can also think about the composition of larger agentic systems. [Anthropic's
7070

7171
A final thing to think about in agentic composition is that through LLMs' code-writing abilities it is possible for LLMs to build their own glue code to facilitate integration with other systems/agents. A great example of this (and perhaps my favourite paper of the year) is the [Agora Protocol](https://agoraprotocol.org/) which demonstrates how agents can dynamically negotiate protocols between agents which bypass LLM calls completely.
7272

73-
![Agora Protocol](./2024-11-27/agora.png)
73+
![Agora Protocol](./2024-12-01/agora.png)
7474

7575
## Conclusion
7676

blog/2024-11-28-aws-multi-agent-orchestrator.mdx renamed to blog/2024-12-02-aws-multi-agent-orchestrator.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,26 @@ This library is fairly squarely aimed at AWS Solutions Architects etc. It provi
2626
- Amazon Lex
2727

2828
Their e-commerce customer support agent example is a good example of the kind of thing you might build with this library.
29-
![E-commerce Support Simulator Sample App](./2024-11-28/aws_example_architecture.jpg)
29+
![E-commerce Support Simulator Sample App](./2024-12-02/aws_example_architecture.jpg)
3030

3131
It's unfortunate they felt they needed to reinvent the wheel here. It obscures the useful part of the library, which is just a simple multi-agent conversation router.
3232

3333
## Multi-Agent Orchestration
3434

35-
The really interesting bit is what do the author's mean by "Multi-Agent Orchestration"? It turns out they implement a single simple pattern we'll refer to as the *Router* pattern.
35+
So what do the author's mean by "Multi-Agent Orchestration"? It turns out they implement a single simple pattern we'll refer to as the *Router* pattern.
3636

37-
![AWS Multi-Agent Orchestration](./2024-11-28/aws_multi_agent_orchestration.png)
37+
![AWS Multi-Agent Orchestration](./2024-12-02/aws_multi_agent_orchestration.png)
3838

3939
The router is just a simple classifier. Given a description of each of the agents, and the full conversation history it must decide which agent to send the latest message to.
4040

41-
Each agent has a local conversation history which only contains the messages it's received and the responses it's sent. When the selected agent generates a response this is just sent straight back to the user.
41+
Each agent has a local conversation history which only contains the messages it's received and the responses it's sent. When the selected agent generates a response this is sent straight back to the user, the router is only involved in selecting the agent.
4242

4343
## Prompt
4444

4545
The classifier is implemented as a single prompt.
4646

47-
```
47+
<pre style={{whiteSpace: 'pre-line'}}>
48+
{`
4849
You are AgentMatcher, an intelligent assistant designed to analyze user queries and match them with the most suitable agent or department. Your task is to understand the user's request, identify key entities and intents, and determine which agent or department would be best equipped to handle the query.
4950
5051
Important: The user's input may be a follow-up response to a previous interaction. The conversation history, including the name of the previously selected agent, is provided. If the user's input appears to be a continuation of the previous conversation (e.g., "yes", "ok", "I want to know more", "1"), select the same agent as before.
@@ -124,7 +125,8 @@ selected_agent: agent-name-c
124125
confidence: 0.9
125126
126127
Skip any preamble and provide only the response in the specified format.
127-
```
128+
`}
129+
</pre>
128130

129131
Seems like a fairly standard prompt:
130132
- the task is well defined (except for the "unkwnown" typo)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)