메뉴
HN
Hacker News • 108일 전

아파치 Burr: 신뢰할 수 있는 AI 에이전트 구축

IMP
8/10
핵심 요약

아파치 Burr(인큐베이팅 중)는 순수 파이썬만으로 상태 관리(State Management)와 워크플로우 제어에 집중하여, 단순한 챗봇부터 복잡한 멀티 에이전트 시스템까지 쉽게 개발할 수 있게 해주는 오픈소스 프레임워크입니다. 복잡한 DSL이나 YAML 없이 직관적인 파이썬 코드로 상태 전환을 제어하며, 실시간 UI 디버깅, 휴먼 인 더 루프(Human-in-the-loop), 과거 실행 리플레이(Replay) 등 프로덕션 환경에 필수적인 관측 가능성(Observability)과 안정성을 제공합니다. 개발자들은 복잡한 기술적 개념 없이도 직관적인 상태 스냅샷 및 모듈형 AI 앱 개발이 가능하다는 점에서 높은 평가를 받고 있습니다.

번역된 본문

아파치 인큐베이팅 프로젝트: 신뢰할 수 있는 AI 에이전트 및 애플리케이션 구축

아파치 Burr(인큐베이팅 중)는 단순한 챗봇부터 복잡한 멀티 에이전트 시스템에 이르기까지, 의사결정을 내리는 애플리케이션을 쉽게 개발할 수 있게 해줍니다. 순수 파이썬(Pure Python)으로 작성되었으며, 복잡한 마법 같은 동작은 없습니다.

시작하기 | GitHub에서 보기

  • GitHub Stars 0
  • PyPI Downloads 0 k+
  • Discord Members 0+

간결하고 강력한 파이썬 API 깔끔하고 조합 가능한(composable) 인터페이스를 통해 챗봇부터 멀티 에이전트 시스템까지 모든 것을 구축하세요.

chatbot.py (챗봇 멀티 에이전트 상태 머신)

from burr.core import action, State, ApplicationBuilder

@action(reads=["messages"], writes=["messages"])
def chat(state: State, llm_client) -> State:
    response = llm_client.chat(state["messages"])
    return state.update(
        messages=[*state["messages"], response]
    )

app = (
    ApplicationBuilder()
    .with_actions(chat)
    .with_transitions(("chat", "chat"))
    .with_state(messages=[])
    .with_tracker("local")
    .build()
)

app.run(halt_after=["chat"], inputs={"llm_client": client})

Python 3.12 | UTF-8 | burr >= 0.30


AI 애플리케이션 구축에 필요한 모든 것 Burr는 신뢰할 수 있고 관측 가능하며 테스트 가능한 AI 기반 애플리케이션을 위한 빌딩 블록을 제공합니다.

  • 간단한 파이썬 API: 애플리케이션을 일련의 액션(actions)과 전환(transitions)으로 정의하세요. DSL이나 YAML은 없습니다. 오직 파이썬 함수와 데코레이터뿐입니다.
  • 내장된 관측 가능성(Built-in Observability): Burr UI를 통해 애플리케이션의 모든 단계를 실시간으로 모니터링, 디버그 및 추적할 수 있습니다. 상태 변화가 발생하는 대로 볼 수 있습니다.
  • 지속성 및 상태 관리(Persistence & State Management): 상태를 디스크, 데이터베이스 또는 사용자 정의 백엔드에 자동으로 유지합니다. 중단된 시점부터 애플리케이션을 다시 시작할 수 있습니다.
  • 휴먼 인 더 루프(Human-in-the-Loop): 실행을 일시 중지하고 어떤 단계에서든 사람의 입력을 기다릴 수 있습니다. 승인 워크플로우 및 대화형 에이전트에 완벽합니다.
  • 분기 및 병렬 처리(Branching & Parallelism): 액션을 병렬로 실행하고, 팬 아웃(fan out) / 팬 인(fan in)을 수행하며, 복잡한 DAG를 구축하세요. 모듈식 설계를 위해 하위 애플리케이션을 조합할 수 있습니다.
  • 테스트 및 리플레이(Testing & Replay): 과거 실행을 재현하고, 개별 액션을 단위 테스트하며, 상태 전환을 검증하세요. AI 시스템에 대한 확신을 가질 수 있습니다.

기존 기술 스택과 함께 작동 Burr는 이미 사용 중인 도구 및 프레임워크와 통합됩니다. 벤더 종속성(Lock-in)이나 불필요한 래퍼(wrapper)가 없습니다.

지원 통합 목록:

  • OpenAI LLM
  • Anthropic LLM
  • LangChain Framework
  • Hamilton Framework
  • Streamlit UI
  • FastAPI Serving
  • Haystack Framework
  • Instructor LLM
  • Pydantic Validation
  • PostgreSQL Storage

(모든 통합 보기)


전 세계 엔지니어들의 신뢰 개발자와 팀들이 Burr에 대해 어떻게 평가하는지 확인해 보세요.

  • Ashish Ghosh (Peanut Robotics CTO) “여러 난해한 LLM 프레임워크를 평가한 후, 그들의 우아하면서도 포괄적인 상태 관리 솔루션이 AI 의사결정에 의해 구동되는 로봇을 론칭하는 데 가장 강력한 해결책으로 증명되었습니다.”

  • Ishita (Watto.ai 창립자) “모듈형 AI 애플리케이션을 구축하고 싶다면 Burr를 사용하는 것은 두말할 필요가 없는 선택입니다. 구축하기가 매우 쉽고, 특히 디버깅을 매우 간단하게 만들어주는 UI가 정말 마음에 듭니다. 그리고 항상 도움을 줄 준비가 된 팀은 눈 위의 체리와도 같습니다(가장 큰 장점입니다).”

  • Matthew Rideout (Paxton AI 수석 소프트웨어 엔지니어) “방금 Burr를 접했을 때 '와, 이건 여러분이 이걸 구축할 때 이 정확한 필요성을 예측한 것 같다'는 생각이 들었습니다. AI라고 해서 이상하고 난해한 개념을 들이밀지 않습니다.”

  • Rinat Gareev (Provectus 수석 솔루션 아키텍트) “Burr의 상태 관리 부분은 상태 스냅샷을 생성하고 빌드를 디버깅하며, 과거를 리플레이하고, 그것을 바탕으로 평가 케이스를 구축하는 데 정말 유용합니다.”

  • 익명 (TaskHuman) “지난 몇 달 동안 Burr를 사용해 왔으며, 시중에 나와 있는 많은 에이전트 LLM 플랫폼(예: LangChain, CrewAi, AutoGen, Agency Swarm 등)과 비교했을 때...”

원문 보기
원문 보기 (영어)
Apache Incubating Project Build reliable AI agents and applications Apache Burr (Incubating) makes it easy to develop applications that make decisions, from simple chatbots to complex multi-agent systems. Pure Python, no magic. Get Started View on GitHub 0 GitHub Stars 0 k+ PyPI Downloads 0 + Discord Members Simple, powerful Python API Build anything from chatbots to multi-agent systems with a clean, composable interface. chatbot.py Copy Chatbot Multi-Agent State Machine from burr.core import action, State, ApplicationBuilder @action(reads=["messages"], writes=["messages"]) def chat(state: State, llm_client) -> State: response = llm_client.chat(state["messages"]) return state.update( messages=[*state["messages"], response] ) app = ( ApplicationBuilder() .with_actions(chat) .with_transitions(("chat", "chat")) .with_state(messages=[]) .with_tracker("local") .build() ) app.run(halt_after=["chat"], inputs={"llm_client": client}) Python 3.12 UTF-8 burr >= 0.30 Everything you need to build AI applications Burr provides the building blocks for reliable, observable, and testable AI-powered applications. Simple Python API Define your application as a set of actions and transitions. No DSL, no YAML — just Python functions and decorators. Built-in Observability The Burr UI lets you monitor, debug, and trace every step of your application in real time. See state changes as they happen. Persistence & State Management Automatically persist state to disk, databases, or custom backends. Resume applications from where they left off. Human-in-the-Loop Pause execution and wait for human input at any step. Perfect for approval workflows and interactive agents. Branching & Parallelism Run actions in parallel, fan out / fan in, and build complex DAGs. Compose sub-applications for modular design. Testing & Replay Replay past runs, unit test individual actions, and validate state transitions. Build confidence in your AI systems. Works with your stack Burr integrates with the tools and frameworks you already use. No lock-in, no wrappers. OpenAI LLM Anthropic LLM LangChain Framework Hamilton Framework Streamlit UI OpenAI LLM Anthropic LLM LangChain Framework Hamilton Framework Streamlit UI OpenAI LLM Anthropic LLM LangChain Framework Hamilton Framework Streamlit UI OpenAI LLM Anthropic LLM LangChain Framework Hamilton Framework Streamlit UI FastAPI Serving H Haystack Framework Instructor LLM Pydantic Validation PostgreSQL Storage FastAPI Serving H Haystack Framework Instructor LLM Pydantic Validation PostgreSQL Storage FastAPI Serving H Haystack Framework Instructor LLM Pydantic Validation PostgreSQL Storage FastAPI Serving H Haystack Framework Instructor LLM Pydantic Validation PostgreSQL Storage View all integrations Trusted by engineers worldwide See what developers and teams are saying about Burr. P Peanut Robotics W Watto.ai P Paxton AI P Provectus T TaskHuman “ 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. ” A Ashish Ghosh CTO , Peanut Robotics “ 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. ” I Ishita Founder , Watto.ai “ I just came across Burr and I'm like WOW, this seems like you guys predicted this exact need when building this. No weird esoteric concepts just because it's AI. ” M Matthew Rideout Staff Software Engineer , Paxton AI “ Burr's state management part is really helpful for creating state snapshots and build debugging, replaying and even building evaluation cases around that. ” R Rinat Gareev Senior Solutions Architect , Provectus “ 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. ” H Hadi Nayebi Co-founder , CognitiveGraphs “ 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. ” A Aditya K. DS Architect , TaskHuman “ Of course, you can use it [LangChain], but whether it's really production-ready and improves the time from code-to-prod, we've been doing LLM apps for two years, and the answer is no. Honestly, take a look at Burr. Thank me later. ” R Reddit User Developer , r/LocalLlama “ 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. ” A Ashish Ghosh CTO , Peanut Robotics “ 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. ” I Ishita Founder , Watto.ai “ I just came across Burr and I'm like WOW, this seems like you guys predicted this exact need when building this. No weird esoteric concepts just because it's AI. ” M Matthew Rideout Staff Software Engineer , Paxton AI “ Burr's state management part is really helpful for creating state snapshots and build debugging, replaying and even building evaluation cases around that. ” R Rinat Gareev Senior Solutions Architect , Provectus “ 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. ” H Hadi Nayebi Co-founder , CognitiveGraphs “ 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. ” A Aditya K. DS Architect , TaskHuman “ Of course, you can use it [LangChain], but whether it's really production-ready and improves the time from code-to-prod, we've been doing LLM apps for two years, and the answer is no. Honestly, take a look at Burr. Thank me later. ” R Reddit User Developer , r/LocalLlama “ 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. ” A Ashish Ghosh CTO , Peanut Robotics “ 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. ” I Ishita Founder , Watto.ai “ I just came across Burr and I'm like WOW, this seems like you guys predicted this exact need when building this. No weird esoteric concepts just because it's AI. ” M Matthew Rideout Staff Software Engineer , Paxton AI “ Burr's state management part is really helpful for creating state snapshots and build debugging, replaying and even building evaluation cases around that. ” R Rinat Gareev Senior Solutions Architect , Provectus “ 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. ” H Hadi Nayebi Co-founder , CognitiveGraphs “ 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. ” A Aditya K. DS Architect , TaskHuman “