Objlab
← News
Linguaggi e compilatori

Apache Burr: Crea agenti e applicazioni di intelligenza artificiale affidabili

Sintesi redazionale: URL dell'articolo: https://burr.apache.org/ URL dei commenti: https://news.ycombinator.com/item?id=48477400 Punti: 111 # Commenti: 71. Fonte originale: https://burr.apache.org/

<p># Build reliable AI agents and applications</p><p>Apache Burr (Incubating) makes it easy to develop applications that make decisions, from simple chatbots to complex multi-agent systems. Pure Python, no magic.</p><p>## Simple, powerful Python API</p><p>Build anything from chatbots to multi-agent systems with a clean, composable interface.</p><p>```<br>from burr.core import action, State, ApplicationBuilder<br>@action(reads=[&quot;messages&quot;], writes=[&quot;messages&quot;])<br>def chat(state: State, llm_client) -&gt; State:<br>response = llm_client.chat(state[&quot;messages&quot;])<br>return state.update(<br>messages=[*state[&quot;messages&quot;], response]<br>)<br>app = (<br>ApplicationBuilder()<br>.with_actions(chat)<br>.with_transitions((&quot;chat&quot;, &quot;chat&quot;))<br>.with_state(messages=[])<br>.with_tracker(&quot;local&quot;)<br>.build()<br>)<br>app.run(halt_after=[&quot;chat&quot;], inputs={&quot;llm_client&quot;: client})<br>```</p><p>## Everything you need to build AI applications</p><p>Burr provides the building blocks for reliable, observable, and testable AI-powered applications.</p><p>### Simple Python API</p><p>Define your application as a set of actions and transitions. No DSL, no YAML — just Python functions and decorators.</p><p>### Built-in Observability</p><p>The Burr UI lets you monitor, debug, and trace every step of your application in real time. See state changes as they happen.</p><p>### Persistence &amp; State Management</p><p>Automatically persist state to disk, databases, or custom backends. Resume applications from where they left off.</p><p>### Human-in-the-Loop</p><p>Pause execution and wait for human input at any step. Perfect for approval workflows and interactive agents.</p><p>### Branching &amp; Parallelism</p><p>Run actions in parallel, fan out / fan in, and build complex DAGs. Compose sub-applications for modular design.</p><p>### Testing &amp; Replay</p><p>Replay past runs, unit test individual actions, and validate state transitions. Build confidence in your AI systems.</p><p>## Works with your stack</p><p>Burr integrates with the tools and frameworks you already use. No lock-in, no wrappers.</p><p>### OpenAI</p><p>LLM### Anthropic</p><p>LLM### LangChain</p><p>Framework### Hamilton</p><p>Framework### Streamlit</p><p>UI### OpenAI</p><p>LLM### Anthropic</p><p>LLM### LangChain</p><p>Framework### Hamilton</p><p>Framework### Streamlit</p><p>UI### OpenAI</p><p>LLM### Anthropic</p><p>LLM### LangChain</p><p>Framework### Hamilton</p><p>Framework### Streamlit</p><p>UI### OpenAI</p><p>LLM### Anthropic</p><p>LLM### LangChain</p><p>Framework### Hamilton</p><p>Framework### Streamlit</p><p>UI### FastAPI</p><p>Serving### Haystack</p><p>Framework### Instructor</p><p>LLM### Pydantic</p><p>Validation### PostgreSQL</p><p>Storage### FastAPI</p><p>Serving### Haystack</p><p>Framework### Instructor</p><p>LLM### Pydantic</p><p>Validation### PostgreSQL</p><p>Storage### FastAPI</p><p>Serving### Haystack</p><p>Framework### Instructor</p><p>LLM### Pydantic</p><p>Validation### PostgreSQL</p><p>Storage### FastAPI</p><p>Serving### Haystack</p><p>Framework### Instructor</p><p>LLM### Pydantic</p><p>Validation### PostgreSQL</p><p>Storage## Trusted by engineers worldwide</p><p>See what developers and teams are saying about Burr.</p><p>“After evaluating several other obfuscating LLM frameworks, their elegant yet comprehensive state management solution proved to be the powerful answer to rolling out robots driven by AI decision making.”</p><p>“Using Burr is a no-brainer if you want to build a modular AI application. It is so easy to build with and I especially love their UI which makes debugging a piece of cake. And the always ready to help team is the cherry on top.”</p><p>“I just came across Burr and I&#x27;m like WOW, this seems like you guys predicted this exact need when building this. No weird esoteric concepts just because it&#x27;s AI.”</p><p>“Burr&#x27;s state management part is really helpful for creating state snapshots and build debugging, replaying and even building evaluation cases around that.”</p><p>“I have been using Burr over the past few months, and compared to many agentic LLM platforms out there (e.g. LangChain, CrewAi, AutoGen, Agency Swarm, etc), Burr provides a more robust framework for designing complex behaviors.”</p><p>“Moving from LangChain to Burr was a game-changer! It took me just a few hours to get started with Burr, compared to the days and weeks I spent trying to navigate LangChain. I pitched Burr to my teammates, and we pivoted our entire codebase to it.”</p><p>“Of course, you can use it [LangChain], but whether it&#x27;s really production-ready and improves the time from code-to-prod, we&#x27;ve been doing LLM apps for two years, and the answer is no. Honestly, take a look at Burr. Thank me later.”</p><p>“After evaluating several other obfuscating LLM frameworks, their elegant yet comprehensive state management solution proved to be the powerful answer to rolling out robots driven by AI decision making.”</p><p>“Using Burr is a no-brainer if you want to build a modular AI application. It is so easy to build with and I especially love their UI which makes debugging a piece of cake. And the always ready to help team is the cherry on top.”</p><p>“I just came across Burr and I&#x27;m like WOW, this seems like you guys predicted this exact need when building this. No weird esoteric concepts just because it&#x27;s AI.”</p><p>“Burr&#x27;s state management part is really helpful for creating state snapshots and build debugging, replaying and even building evaluation cases around that.”</p><p>“I have been using Burr over the past few months, and compared to many agentic LLM platforms out there (e.g. LangChain, CrewAi, AutoGen, Agency Swarm, etc), Burr provides a more robust framework for designing complex behaviors.”</p><p>“Moving from LangChain to Burr was a game-changer! It took me just a few hours to get started with Burr, compared to the days and weeks I spent trying to navigate LangChain. I pitched Burr to my teammates, and we pivoted our entire codebase to it.”</p><p>“Of course, you can use it [LangChain], but whether it&#x27;s really production-ready and improves the time from code-to-prod, we&#x27;ve been doing LLM apps for two years, and the answer is no. Honestly, take a look at Burr. Thank me later.”</p><p>“After evaluating several other obfuscating LLM frameworks, their elegant yet comprehensive state management solution proved to be the powerful answer to rolling out robots driven by AI decision making.”</p><p>“Using Burr is a no-brainer if you want to build a modular AI application. It is so easy to build with and I especially love their UI which makes debugging a piece of cake. And the always ready to help team is the cherry on top.”</p><p>“I just came across Burr and I&#x27;m like WOW, this seems like you guys predicted this exact need when building this. No weird esoteric concepts just because it&#x27;s AI.”</p><p>“Burr&#x27;s state management part is really helpful for creating state snapshots and build debugging, replaying and even building evaluation cases around that.”</p><p>“I have been using Burr over the past few months, and compared to many agentic LLM platforms out there (e.g. LangChain, CrewAi, AutoGen, Agency Swarm, etc), Burr provides a more robust framework for designing complex behaviors.”</p><p>“Moving from LangChain to Burr was a game-changer! It took me just a few hours to get started with Burr, compared to the days and weeks I spent trying to navigate LangChain. I pitched Burr to my teammates, and we pivoted our entire codebase to it.”</p><p>“Of course, you can use it [LangChain], but whether it&#x27;s really production-ready and improves the time from code-to-prod, we&#x27;ve been doing LLM apps for two years, and the answer is no. Honestly, take a look at Burr. Thank me later.”</p><p>“After evaluating several other obfuscating LLM frameworks, their elegant yet comprehensive state management solution proved to be the powerful answer to rolling out robots driven by AI decision making.”</p><p>“Using Burr is a no-brainer if you want to build a modular AI application. It is so easy to build with and I especially love their UI which makes debugging a piece of cake. And the always ready to help team is the cherry on top.”</p><p>“I just came across Burr and I&#x27;m like WOW, this seems like you guys predicted this exact need when building this. No weird esoteric concepts just because it&#x27;s AI.”</p><p>“Burr&#x27;s state management part is really helpful for creating state snapshots and build debugging, replaying and even building evaluation cases around that.”</p><p>“I have been using Burr over the past few months, and compared to many agentic LLM platforms out there (e.g. LangChain, CrewAi, AutoGen, Agency Swarm, etc), Burr provides a more robust framework for designing complex behaviors.”</p><p>“Moving from LangChain to Burr was a game-changer! It took me just a few hours to get started with Burr, compared to the days and weeks I spent trying to navigate LangChain. I pitched Burr to my teammates, and we pivoted our entire codebase to it.”</p><p>“Of course, you can use it [LangChain], but whether it&#x27;s really production-ready and improves the time from code-to-prod, we&#x27;ve been doing LLM apps for two years, and the answer is no. Honestly, take a look at Burr. Thank me later.”</p><p>## Join the community</p><p>Get help, share your projects, and contribute to the future of Burr.</p>