bub

Build a Python agent kernel or customize the Bub app with plugins and channels

Overview

bub is an agent framework for developers who want to add an agent to their own Python program or customize the prebuilt Bub application. It centers on the bub.core.Agent primitive, through which you can define the model, tools, instructions, and conversation storage your agent uses. The base package installs the kernel's dependencies, so you can start from the core and build outward.

There are two paths. One is embedding the agent in your own Python project and serving it, for example behind an HTTP endpoint with FastAPI. The other is the Bub application, which runs on the same agent kernel and adds configuration, plugins, and channel integration. Teams that want the application's settings and plugin hooks in their own service can embed BubAgent through the app extras instead of rebuilding that layer.

What sets bub apart is the shared kernel across both paths: the SDK agent and the application rest on the same foundation, so customization work in one can inform the other. Installation is documented for macOS, Linux, and Windows, and a CLI lets you pick plugins, configure a model, and begin a conversation in a workspace.

Best for

  • Python developers
  • AI application engineers
  • Agent developers
  • Backend engineers building HTTP services
  • Developers customizing agent applications

How to use

  1. Add bub to a Python project with the package manager.
  2. Run a first agent following the SDK guide.
  3. Serve the agent with FastAPI when an HTTP endpoint is needed.
  4. Install the Bub application with the documented script for your platform.
  5. Choose plugins and configure your model at the prompts.
  6. Start a conversation with the bub chat command.

What it can do

Programmatic agent construction

Use bub.core.Agent to assemble an agent from chosen parts: the model, the tools it can call, its instructions, and how conversations are stored. This lets developers keep agent logic inside an existing Python codebase rather than adopting a separate application.

HTTP service hosting

The documentation covers serving an SDK-built agent with FastAPI when an HTTP endpoint is needed. This supports turning an embedded agent into a network-accessible service within the developer's own application stack.

Application reuse via BubAgent

Embedding BubAgent lets a service reuse the application's settings and plugin hooks. This is available through the app extras and is documented in a dedicated integration guide covering the choices and their requirements.

Plugin and channel integration

The Bub application extends the shared kernel with configuration, plugins, and channel integration. Developers can add tools, skills, plugins, or channels to shape what the agent does for a given kind of work.

Installation and CLI chat

Install scripts are documented for macOS and Linux and for Windows. After following prompts to choose plugins and configure a model, the bub chat command starts a conversation, and a quickstart walks through a first task in the workspace.

How it works

Developers either add the base package and construct an agent with bub.core.Agent, or install the Bub application, which layers configuration, plugins, and channel integration on the same kernel. Model selection, tool definitions, instructions, and conversation storage are all chosen by the developer. Embedding BubAgent through the app extras is the route for reusing application settings and plugin hooks in your own service.

The application's install scripts guide users through plugin selection and model configuration before the first conversation. Channel integration is part of the application layer, and tools, skills, plugins, or channels can be added as the work requires. The documentation does not describe automatic execution or approval flows, so decisions about what the agent should do and how it is configured remain with the developer.

Assistant

Bub provides an agent kernel and application that developers configure and direct; the sources describe no independent execution or approval workflow, so it functions as a user-directed assistant.

Where it fits

  • Embed an agent with custom tools and instructions inside an existing Python service.
  • Expose a bub-built agent as an HTTP endpoint using FastAPI.
  • Reuse the Bub application's settings and plugin hooks within your own service.
  • Customize the Bub app with additional tools, plugins, and channels for a workspace task.

Good fit

  • Embedding an agent in a Python program using the bub.core.Agent kernel
  • Serving an agent via an HTTP endpoint with FastAPI
  • Reusing the Bub application's settings and plugin hooks in a custom service via BubAgent
  • Customizing the Bub app with tools, skills, plugins, and channels

Not a fit

  • Projects not using Python 3.12 or later
  • Users who need a fully managed, no-code hosted solution (not documented)

How to evaluate

  1. Confirm your project uses Python 3.12 or later.
  2. Decide whether you need the base kernel (bub package) or application features (bub[app]).
  3. Check that your target OS is macOS or Linux, or that you can use the Windows PowerShell installer.
  4. Review the plugin and channel options to ensure they match your integration needs.
  5. Consider whether you prefer to embed the agent in your own code or customize the standalone Bub app.

Our take

Bub offers two paths: embedding the agent kernel directly in Python or customizing the full application with plugins and channels. The documentation covers installation on macOS, Linux, and Windows, plus guides for serving via FastAPI. It is best suited for developers comfortable with Python who want control over model, tools, and storage. The open-source Apache-2.0 license allows flexible use.

Alternatives

AgentPricingAutonomyBest for
hermes-agent—SupervisedAI researchers, Developers, System administrators, DevOps engineers, Technical founders
ai-job-search—SupervisedIndividual job seekers, Career changers, AI engineer candidates, Candidates applying across many roles, People who write tailored cover letters
anything-llm—SupervisedIT administrators managing private AI instances, Developers building custom integrations, Teams evaluating local versus cloud model providers, Knowledge workers querying internal documents, Operations staff scheduling recurring agent tasks
DeepTutor—SupervisedStudents, Self-directed learners, Course instructors, Teaching assistants, Tutors, Researchers
OpenMausBot—SupervisedDevelopers and engineers, Technical founders and small product teams, DevOps and IT administrators, Operations specialists who coordinate recurring tasks, AI power users comfortable with command-line tools
rowboat—SupervisedSoftware engineers, Engineering managers, Product managers, Support teams, Operations leads, Founders, Research and knowledge workers

FAQ

What are the main ways to use Bub?
You can embed the agent kernel in your own Python program or customize the full Bub application, which adds configuration, plugins, and channel integration.
What Python version is required?
The base bub package requires Python 3.12 or later, as shown in the project setup example.
How do I install the Bub application?
On macOS or Linux, use the provided curl install script. On Windows, use the PowerShell command. Follow the prompts to choose plugins and configure your model.
Can I serve a Bub agent as an HTTP endpoint?
Yes, the SDK guide mentions serving your agent with FastAPI when you need an HTTP endpoint.
What is BubAgent?
BubAgent lets you reuse the application's settings and plugin hooks inside your own service, requiring the bub[app] extra.
How can I customize what Bub does?
After starting a conversation, you can extend its capabilities by adding tools, skills, plugins, or channels to match the work you want it to handle.
Is Bub open source?
Yes, it is licensed under Apache-2.0.
Where can I find more documentation?
The website and docs site provide getting-started guides, SDK documentation, and API references for the Python API and application.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/agents/bub"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options