Python framework for building stateful, observable applications as state machines with built-in tracking, persistence, and visualization.
Build AI applications as clear state machines in Python with built-in debugging UI - see exactly where your AI is in its process at any point.
Apache Burr (incubating) is a Python framework designed for building applications that make decisions - chatbots, agents, simulations, and complex workflows. By expressing applications as state machines with explicit state transitions, Burr provides clarity and observability that traditional frameworks lack.
The core concept revolves around actions that read from and write to application state, creating a clear flow of data and decisions. Each action is a Python function decorated with @action that specifies which state variables it reads and writes. This explicit contract makes applications easier to understand, test, and maintain.
Burr's built-in telemetry UI provides real-time visualization of state machine execution, showing how state evolves over time and which decisions led to specific outcomes. This observability is crucial for debugging complex AI applications where understanding the decision flow is often more important than just seeing the final output.
The framework includes pluggable persisters that can save and restore application state from various backends (memory, file system, databases), enabling applications to resume from any point and supporting patterns like human-in-the-loop workflows, error recovery, and batch processing.
Integrations with popular libraries and frameworks make Burr flexible without being opinionated. You can use any LLM provider, integrate with existing Python libraries, and build custom actions that delegate to specialized tools while maintaining the benefits of state machine clarity and observability.
Burr works well for both LLM and non-LLM use cases, including time-series forecasting, hyperparameter tuning, and any application requiring stateful workflows. Its dependency-free core and simple API make it suitable for everything from research prototypes to production systems.
Was this helpful?
Built-in telemetry UI that provides real-time visualization of state machine execution, state transitions, and decision flows with comprehensive debugging capabilities.
Use Case:
Debugging complex AI agent workflows by visualizing exactly which states led to failures and replaying execution paths to understand decision logic
Actions explicitly declare which state variables they read and write, creating clear data contracts and making applications easier to understand and test.
Use Case:
Building maintainable chatbots where each conversation turn clearly defines what state is modified, enabling easy testing and debugging
Multiple persistence backends (memory, filesystem, databases) for saving and restoring application state, enabling resumable workflows and state snapshots.
Use Case:
Creating human-in-the-loop AI workflows where the system can pause for human input and resume exactly where it left off
Works with any LLM provider, Python library, or existing codebase without forcing architectural decisions, maintaining flexibility while adding state machine benefits.
Use Case:
Integrating Burr into existing applications to add state management and observability without rewriting existing business logic
Comprehensive tracking and monitoring capabilities with hooks for custom integrations, telemetry collection, and production observability systems.
Use Case:
Monitoring AI agent performance in production with detailed state transition logs and execution metrics for optimization and debugging
Developed under Apache Software Foundation governance ensuring enterprise-grade stability, community-driven development, and long-term sustainability.
Use Case:
Enterprise AI applications requiring stable, well-governed open-source components with predictable development and maintenance lifecycle
Free
forever
Coming soon - waitlist available
Ready to get started with Apache Burr?
View Pricing Options →Building sophisticated AI agents that require clear state tracking, debugging capabilities, and transparent decision flows for production deployment
Creating AI applications that need to pause for human input, resume processing, and maintain context across extended interaction sessions
Developing chatbots that maintain conversation context, user preferences, and complex dialogue states across multiple interactions
Automating complex business processes that require state tracking, error recovery, and clear audit trails for compliance and optimization
Building AI research applications where understanding state evolution and decision flows is crucial for analysis and iteration
We believe in transparent reviews. Here's what Apache Burr doesn't handle well:
Burr focuses on explicit state management and observability, making complex AI workflows easier to understand and debug. While LangChain provides many pre-built components, Burr emphasizes clarity and maintainability through state machine design, leading many teams to migrate from LangChain for better long-term maintainability.
Yes, Burr is completely framework-agnostic. You can use it with OpenAI, Anthropic, local models via Ollama, or any other LLM provider. It integrates with existing Python libraries and doesn't impose restrictions on how you interact with AI models.
Burr provides built-in observability, state persistence, error recovery, and clear debugging capabilities. The state machine design makes complex AI workflows easier to test, monitor, and maintain in production environments compared to opaque framework approaches.
While understanding state machines helps, Burr's API is designed to be intuitive. The key concept is that actions read and write state explicitly, making application flow transparent. The included examples and documentation provide clear guidance for getting started.
Yes, Burr works well for any stateful application including simulations, workflow automation, hyperparameter tuning, and complex business processes. The state machine pattern is valuable beyond AI applications for any system requiring clear state management.
Weekly insights on the latest AI tools, features, and trends delivered to your inbox.
People who use this tool also find these helpful
Open-source workflow automation platform with 500+ integrations, visual builder, and native AI agent support for human-supervised AI workflows.
AI automation assistant that creates and manages Zapier workflows through natural language.
Dify is an open-source platform for building AI applications that combines visual workflow design, model management, and knowledge base integration in one tool.
Agentic AI recruiting platform for talent sourcing and candidate discovery with advanced search and analytics.
AI-powered visual backend builder that generates serverless APIs and workflows from natural language prompts, designed for rapid prototyping and automation
Open-source low-code platform for building AI agent workflows and LLM applications using drag-and-drop interface, supporting multiple AI models, vector databases, and custom integrations for creating sophisticated conversational AI systems.
See how Apache Burr compares to LangGraph and other alternatives
View Full Comparison →AI Agent Builders
Graph-based stateful orchestration runtime for agent loops.
AI Agent Builders
The standard framework for building LLM applications with comprehensive tool integration, memory management, and agent orchestration capabilities.
Workflow Orchestration
Enterprise durable execution platform designed for AI agent orchestration with guaranteed reliability, state management, and human-in-the-loop workflows.
AI Agent Builders
CrewAI is an open-source Python framework for orchestrating autonomous AI agents that collaborate as a team to accomplish complex tasks. You define agents with specific roles, goals, and tools, then organize them into crews with defined workflows. Agents can delegate work to each other, share context, and execute multi-step processes like market research, content creation, or data analysis. CrewAI supports sequential and parallel task execution, integrates with popular LLMs, and provides memory systems for agent learning. It's one of the most popular multi-agent frameworks with a large community and extensive documentation.
Agent Frameworks
Open-source multi-agent framework from Microsoft Research with asynchronous architecture, AutoGen Studio GUI, and OpenTelemetry observability. Now part of the unified Microsoft Agent Framework alongside Semantic Kernel.
No reviews yet. Be the first to share your experience!
Get started with Apache Burr and see if it's the right fit for your needs.
Get Started →Take our 60-second quiz to get personalized tool recommendations
Find Your Perfect AI Stack →Explore 20 ready-to-deploy AI agent templates for sales, support, dev, research, and operations.
Browse Agent Templates →