Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Multi Agent Collaboration
This example resembles the example found originally here.
show me the prompts
With Hamilton the prompts can be found in the module func_agent.py.
The Hamilton code creates the following dataflow:
Tracing
You'll see that in application.py we
have some lightweight tracing set up for Hamilton. This is a simple way to plug into Burr's
tracer functionality -- this will allow you to see more in the Burr UI.
More functionality is on the roadmap!
Running the example
Install the dependencies:
pip install "apache-burr[start]" -r requirements.txt
Make sure you have the API Keys in your environment:
export OPENAI_API_KEY=YOUR_KEY
export TAVILY_API_KEY=YOUR_KEY
Run the notebook:
or do it manually:
jupyter notebook
and open the notebook notebook.ipynb.
python application.py
Application run:

What to adjust
There are a few things:
- The
querythat you provide for the agents to work over. This is just a matter of setting thequeryvariable in the initial state passed in to the application. - You can adjust the
promptsused in the actual function calls infunc_agent.py.