burr
Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
What is burr?
Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Overview of burr
What it is
Apache Burr (incubating) is a Python library for building applications that make decisions, such as chatbots, agents, and simulations. It allows developers to express an application as a state machine (a graph or flowchart) using simple Python functions. Burr includes a user interface for monitoring, tracing, and debugging execution in real time, along with pluggable persisters for saving and loading application state. It is framework-agnostic and works with any LLM or other decision-making logic. The project is hosted under the Apache Software Foundation and is currently in the incubation phase. Burr requires Python 3.10 or later.
Key features
- Express applications as state machines using simple Python actions and transitions.
- Built-in UI for real-time telemetry, tracing, and debugging of application execution.
- Pluggable persisters to save and load state (e.g., for memory).
- Framework-agnostic design; integrates with any LLM, library, or vendor.
- Supports both LLM-based and non-LLM use cases, such as chatbots, simulations, and hyperparameter tuning.
- Includes hooks and integrations for connecting to external systems (e.g., Streamlit, observability tools).
Use cases
Burr can be used to build a variety of applications, including:
- Simple GPT-like chatbots.
- Stateful RAG-based chatbots.
- LLM-based adventure games.
- Interactive assistants for writing emails.
- Non-LLM applications such as time-series forecasting simulations and hyperparameter tuning.
Getting started
Install Burr with pip: bash pip install burr Then run the UI server: bash burr To run an example: bash git clone https://github.com/apache/burr && cd burr/examples/hello-world-counter python application.py For more details, see the repository README.
License and pricing
Apache Burr is licensed under the Apache License, Version 2.0. It is open source and free to use.
Based on the project's public README and repository metadata.