LLMAgentR: Language Model Agents in R for AI Workflows and Research

Provides modular, graph-based agents powered by large language models (LLMs) for intelligent task execution in R. Supports structured workflows for tasks such as forecasting, data visualization, feature engineering, data wrangling, data cleaning, 'SQL', code generation, weather reporting, and research-driven question answering. Each agent performs iterative reasoning: recommending steps, generating R code, executing, debugging, and explaining results. Includes built-in support for packages such as 'tidymodels', 'modeltime', 'plotly', 'ggplot2', and 'prophet'. Designed for analysts, developers, and teams building intelligent, reproducible AI workflows in R. Compatible with LLM providers such as 'OpenAI', 'Anthropic', 'Groq', and 'Ollama'. Inspired by the Python package 'langagent'.

Version: 0.2.2
Depends: R (≥ 4.1.0)
Imports: plotly, stats, utils, DBI, RSQLite, dplyr, glue, httr, officer, purrr, timetk, pdftools, parsnip, recipes, workflows, rsample, modeltime.ensemble, modeltime, xml2
Suggests: testthat (≥ 3.0.0), roxygen2, jsonlite, magrittr, rlang, tidyr, ggplot2, usethis, prophet, forcats, kernlab, xgboost, xfun, modeltime.resample, tidymodels, tibble, lubridate, methods, tesseract, rvest, fastDummies, stringr
Published: 2025-04-29
Author: Kwadwo Daddy Nyame Owusu Boakye [aut, cre]
Maintainer: Kwadwo Daddy Nyame Owusu Boakye <kwadwo.owusuboakye at outlook.com>
BugReports: https://github.com/knowusuboaky/LLMAgentR/issues
License: MIT + file LICENSE
URL: https://github.com/knowusuboaky/LLMAgentR, https://knowusuboaky.github.io/LLMAgentR/
NeedsCompilation: no
Materials: README
CRAN checks: LLMAgentR results [issues need fixing before 2025-05-13]

Documentation:

Reference manual: LLMAgentR.pdf

Downloads:

Package source: LLMAgentR_0.2.2.tar.gz
Windows binaries: r-devel: LLMAgentR_0.2.0.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): LLMAgentR_0.2.0.tgz, r-oldrel (arm64): LLMAgentR_0.2.0.tgz, r-release (x86_64): LLMAgentR_0.2.0.tgz, r-oldrel (x86_64): LLMAgentR_0.2.0.tgz
Old sources: LLMAgentR archive

Linking:

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