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
Updates README to have a better flow
elijahbenizzya6f9a7e6493d
diff --git a/README.md b/README.mdindex 9fcdcbfe..ba44efd7 100644--- a/README.md+++ b/README.md@@ -1,23 +1,49 @@# Burr-## What is Burr?--Burr is a way to express a state machine (i.e. a graph/flowchart) for data/AI projects. You can (and should!) use it for anything where managing state can be hard. Hint: managing state-is always hard! This is true across a wide array of contexts, from building RAG applications to power a chatbot, to running ML parameter tuning/evaluation workflows, to conducting a complex forecasting simulation.+Burr makes it easy to develop applications that make decisions based on state (chatbots, agents, simulations, etc...) from simple python building blocks.+Burr includes a UI that can track/monitor those decisions in real time.Link to [documentation](https://burr.dagworks.io/). Quick video intro [here](https://www.loom.com/share/8a92474bb7574d6eb4cd25c21913adf2).-Burr is:+## Quick start++Install from `pypi`:++```bash+pip install "burr[start]"+```++Then run the server:++```bash+burr+```+This will open up a demo -- to chat it requires the `OPENAI_API_KEY` environment variable to be set,+but you can still see how it works if you don't have one.++## How does Burr work?++With Burr you express your application as a state machine (i.e. a graph/flowchart).+You can (and should!) use it for anything where managing state can be hard. Hint: managing state is always hard!+This is true across a wide array of contexts, from building RAG applications to power a chatbot, to running ML parameter tuning/evaluation workflows,+to conducting a complex forecasting simulation.++Burr includes:+1. A (dependency-free) low abstraction python library that enables you to build and manage state machines with simple python functions-2. It comes with a UI you can use view execution telemetry for introspection and debugging+2. A UI you can use view execution telemetry for introspection and debugging+3. A set of integrations to make it easier to persist state, connect to telemetry, and integrate with other systems++## What can you do with Burr?-Burr can be used for a variety of applications. Burr can build a state machine to orchestrate, express, and track:+Burr can be used to power a variety of applications, including:-1. [A gpt-like chatbot](examples/gpt)-2. [A machine learning pipeline](examples/ml_training)-3. [A trading simulation](examples/simulation)+1. [A simple gpt-like chatbot](examples/gpt)+2. [A stateful RAG-based chatbot](examples/rag)+3. [A machine learning pipeline](examples/ml_training)+4. [A simulation](examples/simulation)And a lot more!@@ -28,7 +54,10 @@ Burr will _not_ tell you how to build your models, how to query APIs, or how toin a way that scales with your needs and makes following the logic of your system easy. Burr comes out of the box with a host of integrationsincluding tooling to build a UI in streamlit and watch your state machine execute.-+## Start with Building++See the documentation for [getting started](https://burr.dagworks.io/getting_started/simple-example.html), and follow the example.+Then read through some of the concepts and write your own application!## Comparison against common frameworks@@ -47,33 +76,11 @@ While Burr is attempting something (somewhat) unique, there are a variety of tooBurr is named after [Aaron Burr](https://en.wikipedia.org/wiki/Aaron_Burr), founding father, third VP of the United States, and murderer/arch-nemesis of [Alexander Hamilton](https://en.wikipedia.org/wiki/Alexander_Hamilton).What's the connection with Hamilton? This is [DAGWorks](www.dagworks.io)' second open-source library release after the [Hamilton library](https://github.com/dagworks-inc/hamilton)-Here we imagine a world in which Burr and Hamilton lived in harmony and saw through their differences and thus were happy to work together. We originally+We imagine a world in which Burr and Hamilton lived in harmony and saw through their differences to better the union. We originallybuilt Burr as a _harness_ to handle state between executions of Hamilton DAGs (because DAGs don't have cycles),but realized that it has a wide array of applications and decided to release it more broadly.-# Getting Started--To get started, install from `pypi`, using your favorite package manager:--```bash-pip install "burr[start]"-```--This includes the dependencies for the tracking server (see next step) -- alternatively if you want the core library only then just run `pip install burr`.-Then, run the server and check out the demo projects:--```bash-$ burr--2024-02-23 11:43:21.249 | INFO | burr.cli.__main__:run_server:88 - Starting server on port 7241-```--This will start a server and open up a browser window with a few demo projects preloaded for you to play with.--Next, see the documentation for [getting started](https://burr.dagworks.io/getting_started/simple-example.html), and follow the example.-Then read through some of the concepts and write your own application!--# Roadmap+## RoadmapWhile Burr is stable and well-tested, we have quite a few tools/features on our roadmap!@@ -89,7 +96,7 @@ While Burr is stable and well-tested, we have quite a few tools/features on ourIf you want to avoid self-hosting the above solutions we're building Burr Cloud. To let us know you're interestedsign up [here](https://forms.gle/w9u2QKcPrztApRedA) for the waitlist to get access.-# Contributing+## ContributingWe welcome contributors! To get started on developing, see the [developer-facing docs](https://burr.dagworks.io/contributing).