Skip to content

Commit 3b7d27d

Browse files
authored
new example: multiagent dialogue with decentralized speaker selection (langchain-ai#3629)
This notebook showcases how to implement a multi-agent simulation without a fixed schedule for who speaks when. Instead the agents decide for themselves who speaks. We can implement this by having each agent bid to speak. Whichever agent's bid is the highest gets to speak. We will show how to do this in the example below that showcases a fictitious presidential debate.
1 parent 36c59e0 commit 3b7d27d

File tree

2 files changed

+824
-0
lines changed

2 files changed

+824
-0
lines changed

docs/use_cases/agent_simulations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ Specific implementations of agent simulations (or parts of agent simulations) in
1414

1515
## Simulations with Multiple Agents
1616
- [Multi-Player D&D](agent_simulations/multi_player_dnd.ipynb): an example of how to use a generic dialogue simulator for multiple dialogue agents with a custom speaker-ordering, illustrated with a variant of the popular Dungeons & Dragons role playing game.
17+
- [Decentralized Speaker Selection](agent_simulations/multiagent_bidding.ipynb): an example of how to implement a multi-agent dialogue without a fixed schedule for who speaks when. Instead the agents decide for themselves who speaks by outputting bids to speak. This example shows how to do this in the context of a fictitious presidential debate.
1718
- [Generative Agents](agent_simulations/characters.ipynb): This notebook implements a generative agent based on the paper [Generative Agents: Interactive Simulacra of Human Behavior](https://arxiv.org/abs/2304.03442) by Park, et. al.

0 commit comments

Comments
 (0)