Paper | Website | Twitter | Discord | Mailing List
Agora is a simple cross-platform protocol that allows heterogeneous LLMs to communicate efficienly with each other. This is achieved through the power of negotiation.
In particular, Agora agents operate as follows:
- For rare communications, they use LLMs to talk with each other in natural language
- For frequent communications, they use LLMs to negotiate a protocol for communication, usually involving structured data (e.g. JSON)
- Once a protocol is finalized, they use LLMs to implement routines, simple scripts (e.g. in Python) that send or receive data
- Future communications are handled using the routines, which means that LLMs aren't required anymore
Since natural language is supported, very different agents that have never interacted before can communicate with each other, but once a common ground is established they just use routines, which are way more efficient. This enables agents to achieve at the same time efficiency, versatility and portability.
This demo showcases a network of 100 agents interacting with each other. The agents have different LLMs (OpenAI GPT-4o, Llama 3 405b, Gemini 1.5 Pro) and different DB technologies (MongoDB, SQL), but they still complete complex, multi-agent tasks with way lower costs. In a picture:
You might also be interested in our HuggingFace demo.
mv .env.template .env
- Add the corresponding fields to the
.env
file pip install -r requirements.txt
python orchestrator.py
We're building the next iteration of Agora, with more features for real-world use cases. If you're interested in contributing or simply want to stay updated about Agora, check out our Discord or subscribe to our Mailing List