burr  by apache

Framework for building decision-making applications (chatbots, agents, etc.)

created 1 year ago
1,749 stars

Top 25.1% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Burr is a Python framework for building decision-making applications like chatbots, agents, and simulations. It targets developers needing to manage complex state, track decisions, and integrate LLMs, offering a real-time UI for monitoring and tracing execution.

How It Works

Burr models applications as state machines, allowing developers to define workflows using simple Python functions decorated as actions. It manages state transitions between these actions, enabling idempotent and self-persisting workflows. This approach simplifies complex logic, state management, and debugging, particularly for LLM-driven applications.

Quick Start & Requirements

  • Install: pip install "burr[start]"
  • Run UI server: burr
  • Demo chatbot requires OPENAI_API_KEY environment variable.
  • Example: git clone https://github.com/dagworks-inc/burr && cd burr/examples/hello-world-counter && python application.py
  • Documentation: Link to documentation
  • Video Intro: Link to video

Highlighted Details

  • State machine-centric design for explicit workflow management.
  • Framework-agnostic, integrating with various LLM and Python libraries.
  • Open-source UI for real-time telemetry, monitoring, and debugging.
  • Supports non-LLM use cases, including time-series forecasting and hyperparameter tuning.

Maintenance & Community

  • Active development with recent commits.
  • Discord community available for support: https://discord.gg/6Zy2DwP4f3
  • Roadmap includes FastAPI integration, improved error handling, and expanded storage options.

Licensing & Compatibility

  • Apache 2.0 License.
  • Permissive license suitable for commercial use and integration with closed-source applications.

Limitations & Caveats

Burr does not natively support asynchronous event-based orchestration, unlike some competitors like Temporal. The roadmap indicates planned improvements for asynchronous capabilities and broader framework integrations.

Health Check
Last commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
13
Issues (30d)
3
Star History
174 stars in the last 90 days

Explore Similar Projects

Starred by Peter Norvig Peter Norvig(Author of Artificial Intelligence: A Modern Approach; Research Director at Google), Michael Han Michael Han(Cofounder of Unsloth), and
15 more.

open-interpreter by openinterpreter

0.1%
60k
Natural language interface for computers
created 2 years ago
updated 4 days ago
Feedback? Help us improve.