Skip to content

[Question] Docs comparing Burr to other frameworks? #556

@mecampbellsoup

Description

@mecampbellsoup

(This is a bit of a cross post with BrainBlend-AI/atomic-agents#140.)

We are looking for an agentic and probably graph-based framework for our AI assistant chatbot.

So far we have developed with instructor alone, but we're exploring frameworks to manage some concerns for us including (so we think) state management (i.e. a single, central API used throughout our code to read and write data that constitutes the "current context" of the conversation being had) and more importantly orchestration (i.e. based on the conversation so far, what should the next bot response be?).

For example, our chat flow starts out like this:

  1. User sends a message to our assistant
  2. We attempt to classify (via LLM call) their message and assign a "conversation type"
  3. If the user's message is classified with at least 1 category/type, and the LLM reports a confidence of at least 90%, we proceed to another flow that we call "extraction" whereby we extract semantic information from the user's text, and ask follow up questions for anything we are missing to be able to answer their question for the given conversation type.
  4. If the user's message is NOT classified, or the classification confidence score is < 90%, we want our bot to ask the user to clarify or expound upon their initial message.

In a perfect world, we'd like to simply encapsulate this logic in Pydantic models, throw the structured input/output schemas at the LLM, and have it all Just Work ™! atomic-agents emphasizes structured inputs and outputs as its hallmark selling point, so this appeals to us, but it doesn't seem to do much by way of state management, and I think we need that concept in order to have the state machine-like behavior emphasized by burr.

Both this project, burr, and atomic-agents are currently our top 2 candidates. langgraph is probably the best-known incumbent so we're considering that, too. pydantic-ai also seems to have a fair amount of overlap... and by now you can see our heads are spinning!

burr seems more focused on managing statefulness, and building your application lifecycle around state to define transitions among nodes in your state machine's graph.

atomic-agents seems to exclusively emphasize structured inputs and outputs and encapsulating those along w/ any configuration into "tools". So it is basically a wrapper on top of instructor and pydantic.

Is anyone aware of a blog post or some other publicly available source that compares these agentic frameworks?

Do any obvious pros/cons come to mind? If so, please share - I'm sure many people are in a similar position of evaluating these framework options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions