a more agentic sibling to `btw_app()`

未关闭
#148 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
r

调研方向

先阅读现有的 btw_app() 接口以及 issue 中描述的 side::kick() 行为,然后比较 ellmer 和 shinychat 如何与 btw 集成。完成这项工作需要确定一个兄弟 API,并就其更具代理性的行为、设置流程和工具审批的范围达成一致。

由索引模型根据 Issue 内容生成。

描述

Just jotting some notes down from an internal conversation. tl;dr: btw_app() should have a sibling with a more agentic, "Claude Code Dupe" feel.

As of now, side::kick() is a separate package implementing something like this Claude Code Dupe idea:

  • It has a run_r_code() and bash() tool that are registered automatically and, in most cases, do not require approval.
  • It has more direct prompting about poise and feel that tell it to "just do stuff and say as little as possible."
  • There's no setup flow other than installing the package--the app can discover providers and register them in a persistent way.

That said, side::kick() is quite scrappy and does all sorts of naughty namespacing tricks to make things happen. Because of this, 1) ellmer and shinychat and btw do not benefit when something gets implemented in side::kick(), and 2) side::kick() doesn't benefit when ellmer and shinychat and btw do things the right way.

These issues could be resolved by a sibling to btw_app() that is less configurable and more agentic, e.g. btw::btw_agent() or btw::sidekick() or otherwise. btw_app() can remain a more tailored-to-fit / safe interface to the suite of tools that btw provides.

主要语言
R
星标
150
派生
13
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

posit-dev/btw 的其他 Issue

查看 posit-dev/btw 的全部 Issue

相似的 Issue

更多 R Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。