bub
bub copied to clipboard
Bub it. Build it. A hook-first runtime for agents that live alongside people.
## Description bub's builtin system prompt tells the model its plain reply is ignored and it must reply via a channel skill; the ACP plugin sends turns as channel 'acp-server'...
## Description The ACP stream router sends every Bub tool result as tool_call_update(status='completed'), including results that Bub itself recorded as failures (BubError 'command exited with code N'); the client never...
当前 bub 的诸多概念非常好,以至于可以成为很多项目的 infra,但是 bub 自身的产品属性和 claw 假设过强,我提议,可以拆除核心,一个最小的 agent runtime,这样不但关注点分离更清爽,同时还能式 bub-core 成为很多项目的基建,并且我们可以围绕 core 做出更多的东西
### Problem `api_key` / `api_base` hold one value per any-llm provider, and the model prefix has to be an any-llm provider. So every endpoint that speaks a supported API has...
目前 bub 的 command prefix是`,` 可否增加一个配置项,用于自定义 command prefix?
## Summary When `CODEX_HOME/auth.json` has no `tokens.expires_at`, Bub assumes the Codex OAuth access token expires one hour after `last_refresh`. The `auth.json` that Codex writes has no `expires_at`: the real expiry...
也许可能是我没完全理解,我的用例是我想在 fastapi 中集成 bub 作为 agent,我的用法很简单,就是一个端点接受任务,交给 bub 运行,我希望能够完全控制 bub,具体来说,我希望 `BubFramework` 能够接受一组 system prompts,一组我自定义的 tools,一个 skills folder 和一个 session store folder,但是经过一个粗略的 llm 调查后,结论似乎是要么得重写子类,要么就得使用私有 api,或者就得走插件的路子,不知道是不是我的问题,bub 是否提供类似 pi-sdk 那种非常简单那的 sdk 集成呢
`BUB_TELEGRAM_ALLOW_USERS` is matched against the sender's `@username` as well as their numeric ID: https://github.com/bubbuild/bub/blob/main/src/bub/channels/telegram.py#L232-L238 ```python user = update.effective_user sender_tokens = {str(user.id)} if user.username: sender_tokens.add(user.username) if self._allow_users and sender_tokens.isdisjoint(self._allow_users): await update.message.reply_text("Access...
Observed after the bot sent its reply to a simple message in private chat: ``` INFO | loop.step step=3 tape= model= INFO | tool.call.start name=bash { cmd="cat