AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
bub
bub logo

bub

Active·★ 1.7k·Apache-2.0·Updated 2026-10-20
★ Essential★ Trending

Bub is a deliberately small Python agent runtime built on agents.md and the Agent Skills format. Its defining idea is that every stage of a turn, from resolve_session and load_state through build_prompt and run_model to render_outbound and dispatch_outbound, is a pluggy hook. Builtins are registered first and external plugins load after them, so you can override one stage or replace the whole flow without forking the runtime.

It started in group chats, where several humans and agents share one conversation, so it avoids hidden session state: context is rebuilt from append-only tape records that you can inspect and replay. The same inbound pipeline runs across the CLI, Telegram and any channel you add, with adapters changing only the surface.

Install is a one-line script (or uv sync from source), and the CLI covers interactive chat, one-shot runs and a gateway listener mode. Configuration is environment variables (model, API key, step and token limits, spill threshold). It ships CLI, Telegram, tools, skills and model execution in the core, all replaceable. License is Apache-2.0.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-20.

License
Apache-2.0
Latest release
0.5.1 · 2026-10-11
Last commit
2026-10-20
Contributors
41
Forks
168
Open issues and PRs
0
First published
2025-07-13

Source: GitHub, npm and PyPI public APIs.

#agent-runtime#python#plugins#pluggy#cli#telegram#agent-skills
$ Install
$ curl -fsSL https://bub.build/install.sh | bash
↗ Visit site★ GitHub
01

Features

01Turn pipeline where every stage, from resolve_session to dispatch_outbound, is a replaceable hook
02Tape context rebuilt from append-only records, easy to inspect and replay
03One runtime across CLI chat, one-shot runs and a Telegram gateway
04Agent Skills discovery and plugin packaging through Python entry points
02

Why choose it

+Every turn stage is a replaceable hook, so customization doesn't mean forking the runtime.
+Append-only tape context is easy to inspect and replay, with no hidden mutable session state.
+One runtime serves CLI, Telegram and custom channels; adapters change only the surface.
03

Trade-offs

!Intentionally minimal: no orchestration, multi-agent or UI layer, you build those on the hooks.
!Small, young project, so the plugin ecosystem and docs are still thin.
!Pluggy hook model takes some learning before the composability pays off.
04

Maintenance check

ActiveChecked: 2026-10-19
Last commit
2026-10-19
Commits, last 90 days
90
Releases, last 90 days
9
Latest release
0.6.0a3 (2026-10-18)
Open issues
2
Recent issues with at least one comment
2/4
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 3, 6, 8, 1, 6, 7, 10, 5, 24, 9, 11, 9

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #355 拆出 core 使 bub 更加 meta0 comments · 2026-10-12

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

05

Compatibility

Python
Python runtime
Verified via docs
Telegram
Channel
Verified via docs
OpenRouter
Default model
Verified via docs
Codex
OAuth login
Verified via docs
06

Quick start

1
$ curl -fsSL https://bub.build/install.sh | bash
07

Use cases

↳Running an agent in a group chat shared by several people
↳Building a custom agent by overriding only the prompt or model stage
↳Experimenting with replayable, auditable agent context
08

Alternatives

⚡Top VS:
VSskillhub★5.3k→VSarcade-mcp★1.1k→VSfast-agent★3.9k→VSfastapi_mcp★12.0k→
skillhub logo
skillhub★ 5.3k
Self-hosted, open-source agent skill registry for enterprises. Publish & version skill packages, govern with RBAC and audit logs, deploy on-premise with Docker or Kubernetes.
VSCompare→
arcade-mcp logo
arcade-mcp★ 1.1k
The best way to create, deploy, and share MCP Servers
VSCompare→
fast-agent logo
fast-agent★ 3.9k
Code, Build and Evaluate agents - excellent Model and Skills/MCP/ACP Support
VSCompare→
fastapi_mcp logo
fastapi_mcp★ 12.0k
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
VSCompare→
unraid logo
unraid★ 141
Query, monitor, and manage Unraid servers via GraphQL API through MCP tools. Supports system info, Docker, VMs, array/parity, notifications, plugins, rclone, and live telemetry.
VSCompare→
nunu logo
nunu★ 2.6k
A CLI tool for building Go applications.
VSCompare→
strimzi-kafka-cli logo
strimzi-kafka-cli★ 92
Command Line Interface for the Strimzi Kafka Operator
VSCompare→
Agently logo
Agently★ 1.7k
[GenAI Application Development Framework] 🚀 Build GenAI application quick and easy 💬 Easy to interact with GenAI agent in code using structure data and chained-calls syntax 🧩 Use Event-Driven Flow *TriggerFlow* to manage complex GenAI working logic 🔀 Switch to any model without rewrite application code
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
bubbuild /
bub
↗

A tiny Python agent runtime where every turn stage is a pluggy hook you can replace

1.7k168Apache-2.0
Last commit2d ago
StatusActive
CategoryDev Tooling
Contributors41
Latest release0.5.1
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.