aisdk: Unified Interface for AI Model Providers

A production-grade AI toolkit for R featuring a layered architecture (Specification, Utilities, Providers, Core), request interception support, robust error handling with exponential retry delays, support for multiple AI model providers ('OpenAI', 'Anthropic', etc.), local small language model inference, distributed 'MCP' ecosystem, multi-agent orchestration, progressive knowledge loading through skills, and a global skill store for sharing AI capabilities.

Version: 1.1.0
Depends: R (≥ 4.1.0)
Imports: R6, httr2, jsonlite, rlang, yaml, callr, processx, memoise, digest, parallel, stats, tools, utils, base64enc, curl, openssl
Suggests: testthat (≥ 3.0.0), httptest2, cli, knitr, rmarkdown, skimr, evaluate, shiny, shinyjs, bslib, commonmark, ggplot2, dplyr, readr, readxl, DBI, RSQLite, torch, onnx, rstudioapi, DT, withr, httpuv, devtools, fs, dotenv, quarto, pdftools
Published: 2026-03-31
DOI: 10.32614/CRAN.package.aisdk (may not be active yet)
Author: Yonghe Xia [aut, cre]
Maintainer: Yonghe Xia <xiayh17 at gmail.com>
BugReports: https://github.com/YuLab-SMU/aisdk/issues
License: MIT + file LICENSE
URL: https://github.com/YuLab-SMU/aisdk, https://yulab-smu.top/aisdk/
NeedsCompilation: no
Materials: README
CRAN checks: aisdk results

Documentation:

Reference manual: aisdk.html , aisdk.pdf

Downloads:

Package source: aisdk_1.1.0.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=aisdk to link to this page.