btw
A Toolkit for Connecting R and Large Language Models
btw is turning into an agentic R harness that no longer needs you to be in R
◆Recent moves
- 10d ago
btw 1.4.0 adds CLI commands for reading R package source
The CLI direction set in 1.3.0 extended to code inspection: btw pkg src can list objects, get exact source or deparsed functions, inspect package-owned S3 and S4 methods, locate installations and search implementations, while btw pkg desc surfaces DESCRIPTION metadata. btw_app() also stops accepting model, prompt or tool changes mid-stream and keeps tool selection synchronized across model switches.
View source ↗ - 1mo ago
btw 1.3.0 makes skills fetchable from the terminal
⚡ SPARKThe release that takes btw outside R. Three CLI commands discover and fetch skills from packages or GitHub repositories without an R session, and btw_app() gains provider switching that carries chat history, system prompt and tools across the change.
View source ↗ - 4mo ago
btw 1.2.1
Config locations made consistent across skills, agents and btw.md discovery, with 1.2.0-installed skills still found for compatibility, plus base packages declared in the CLI launcher frontmatter. Cleanup after the previous release's reorganization.
View source ↗ - 5mo ago
btw 1.2.0 renames its tool groups ahead of expansion
A breaking rename pass with deprecation warnings rather than removals: the session group becomes sessioninfo, search becomes cran, and the files tools shed their _text_file suffixes. Unglamorous, but this is the naming discipline a package adopts when it expects the tool list to keep growing — which it has, every release since.
View source ↗ - 7mo ago
btw 1.1.0 lets an LLM document, check and test an R package
⚡ SPARKThe release where btw stops only describing the session and starts acting on it. A new pkg tool group gives models the ability to run package development workflows directly, and CLAUDE.md joins AGENTS.md as a recognised project context file.
View source ↗