Skip to content

aisdk

1.4.12Package record

Unified Interface for AI Model Providers

1packages depend
94.3Kdownloads / year
66.9%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.4.12
  • Exported a small, stable "extension API" so that companion provider packages (such as aisdk.providers) can build on the core HTTP and image-handling machinery without reaching into the aisdk namespace: api_endpoint_urls(), post_to_api(), post_multipart_to_api(), finalize_image_artifacts(), materialize_image_upload(), normalize_image_input_for_json() and normalize_image_input_to_url_like(). These are documented with \keyword{internal} (kept out of the main help index) and are intended for package authors rather than end users; their behaviour is unchanged.
  • When a model ID names a provider that lives in a companion package (e.g. deepseek:..., kimi:...) but that package is not installed, the provider registry now offers to install it in interactive sessions and, in non-interactive sessions, fails with a clear hint naming the package to install. Resolution of already-available providers is unchanged.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-17
  • WARNING12 OK, 1 WARNING2026-10-01
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-02
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 2 ERROR2026-05-30
  • OK7 OK2026-04-01
Advisories

none known

Documentation

In release 1.4.12
READMEYes · 697 wordsVignettesNoNEWSYes · 100% structured · mentions 1.4.12Citation fileNoWebsiteYes
Help pages
316 (92 internal)includes a package overview page
Examples that run
25%16 run in a plain check · 40 only when donttest examples are enabled (R CMD check --as-cran) · 9 never run
Exported functions with examples
30%
Documented parameters
97%
Return-value docs
85%
Help pages citing references
0%

Downloads

94.3K
CRAN downloads in the past year
Rank #884 · ~258/day · ~7.9K/mo
Daily download trend is not available in this view yet.
15.1K30 days
48.5K90 days
94.3K1 year
Compare downloads with other packages →
Also on7.1K r2u33 autocran

Repository

76Stars
8Forks
7Open issues
1Open PRs
0Releases
75Commits
2Commit identities
75 commits · Last activity 2026-08-26 · 0% stars, 30d · Default branch at 1.5.0, ahead of CRAN 1.4.12 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-02-01 · 12026-09-24 · 76
PracticesBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/yulab-smu/aisdk on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows

Docs source (1)

GitHub Pages site last deployed 2026-05-26

Reproducibility and dev environment (1)
Dev Container
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-05-27
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
    Commits: at least 15 crediting it in the message
  • Devinfirst seen on or before 2026-05-27
    Named in .Rbuildignore: .devin
  • Gemini CLIfirst seen on or before 2026-05-27
    Named in .Rbuildignore: .gemini
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
Models named in its commits
  • Claude Opus 4.712 commits · May 2026
  • Claude Opus 4.82 commits · Jun 2026
  • Claude Fable 51 commit · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
29 external dependencies (excludes base and recommended)

Installing aisdk adds 24 packages (17 with compiled code, 7.1 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, vctrs 1.0 MB.

Depends (1)
R >= 4.1.0
Imports (16)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 1.1.0 (2026)
Releases (4)

Pick two releases to compare their code metrics.

  • 1.4.12Latest
    record
    2026-06-02 · current release · diff ↗ ·
    added 7 exports
    api_endpoint_urls, finalize_image_artifacts, materialize_image_upload, normalize_image_input_for_json, normalize_image_input_to_url_like, post_multipart_to_api, post_to_api
  • 1.4.11
    record
    2026-05-30 · diff ↗
  • 1.4.10
    record
    2026-05-29 · diff ↗ ·
    removed 96 exports
    AgentTeam, AiHubMixProvider, BailianProvider, ChannelAdapter, ChannelRuntime, ChannelSessionStore, DeepSeekProvider, FeishuChannelAdapter, FileChannelSessionStore, Flow, McpClient, McpDiscovery, McpRouter, McpServer, McpSseClient, Mission, MissionHookHandler, MissionOrchestrator, MissionStep, NvidiaProvider, OpenRouterProvider, SkillStore, SlmEngine, StepfunProvider, VolcengineProvider, XAIProvider, aiChatServer, aiChatUI, analyze_r_package, apiConfigServer and 66 more
    added 78 exports
    CaptureRenderer, GenerateImageResult, ImageModelV1, OpenAIImageModel, OpenAILanguageModel, Renderer, analyze_image, as_preview_text, ask_ai, call_object_accessor, capture_r_execution, clear_capability_model, clear_error_context, collect_ai_context, context_get, context_search, create_ask_user_tool, create_auto_skill_registry, create_capture_renderer, create_context_management_config, create_context_query_tools, create_default_semantic_adapter_registry, create_null_renderer, create_r_context_tools, create_r_introspect_tools, create_semantic_adapter, create_semantic_adapter_registry, default_skill_roots, describe_semantic_object, edit_image and 48 more
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0
    record
    2026-03-31
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-31
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
568 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("aisdk")
Xia, Y. (2026). aisdk: Unified Interface for AI Model Providers (Version 1.4.12) [Computer software]. https://doi.org/10.32614/CRAN.package.aisdk

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for aisdk version 1.4.12 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy