commons: AI Agents for Data Analysis

Implements large language model agents for answering questions about database tables. Agents combine 'DBI' database connections with table and column metadata from a data dictionary (<https://data-dict.tidyverse.org/>), using registered calculations when applicable and generating database queries otherwise. They can also be embedded in a 'Shiny' application.

Version: 0.0.1
Imports: cli, DBI, ellmer (≥ 0.4.1), jsonlite, knitr, rlang (≥ 1.1.0), roxygen2, S7, utils
Suggests: bsicons, bslib, dbplyr, dplyr, duckdb, rmarkdown, shiny, shinychat, testthat (≥ 3.0.0), withr, yaml
Published: 2026-08-07
DOI: 10.32614/CRAN.package.commons (may not be active yet)
Author: Simon Couch ORCID iD [aut, cre], Sara Altman [aut], Garrick Aden-Buie ORCID iD [ctb], Carson Sievert ORCID iD [ctb], Posit Software, PBC ROR ID [cph, fnd]
Maintainer: Simon Couch <simon.couch at posit.co>
BugReports: https://github.com/posit-dev/commons/issues
License: MIT + file LICENSE
URL: https://github.com/posit-dev/commons, https://posit-dev.github.io/commons/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: commons results

Documentation:

Reference manual: commons.html , commons.pdf
Vignettes: Getting started with commons (source, R code)

Downloads:

Package source: commons_0.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=commons to link to this page.