This package is highly experimental; expect its interface to change rapidly.
commons allows data scientists to build self-service data agents for their organization.
commons agents use a pool of trusted calculations drawn from your existing work, like Shiny apps and Quarto docs, to answer questions. (You can also import existing trusted calculations from semantic layers in Snowflake and Databricks.) When the question can’t be answered by a trusted calculation, the agent can search across context you’ve compiled to query data directly, and the response will be deterministically tagged as untrusted.
commons agents support a wide variety of LLM providers via ellmer. Extracted context is stored in plain-text data-dict.yaml and .R files.
Installation
To install the package, run:
# install.packages("pak")
pak::pak("posit-dev/commons")To learn more, see vignette("commons", package = "commons").
