aisdk
Unified Interface for AI Model Providers
Description
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.
Downloads
15.7K
Last 30 days
937th
35.3K
Last 90 days
35.5K
Last year
Trend: +0.8% (30d vs prior 30d)
326
Last 30 days
688
Last 90 days
692
Last year
Trend: -3.6% (30d vs prior 30d)
12
Last 7 days
62
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE May 30, 2026
tests
Running ‘test_providers_manual.R’ Running ‘testthat.R’ [173s/531s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # ...[truncated]... : [B] dynamic-dispatch console_chat() still aborts via subprocess marker ── Expected `elapsed` < 5. Actual comparison: 7.5 >= 5.0 Difference: 2.5 >= 0 [ FAIL 1 | WARN 0 | SKIP 53 | PASS 7964 ] Error: ! Test failures. Execution halted
tests
Running ‘test_providers_manual.R’ Running ‘testthat.R’ [233s/597s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # ...[truncated]... : [B] dynamic-dispatch console_chat() still aborts via subprocess marker ── Expected `elapsed` < 5. Actual comparison: 7.0 >= 5.0 Difference: 2.0 >= 0 [ FAIL 1 | WARN 0 | SKIP 53 | PASS 7964 ] Error: ! Test failures. Execution halted
OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 1, 2026
Code
Structure
Lines of code
74,654
Files
480
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
215
Internal functions
640
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.40
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
84.7%
\dontrun example ratio
75.4%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
24
Dep constraint coverage
0%
Secret pattern count
2
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1.0
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2026-03-31
Latest release
2026-06-02
Avg cadence
3 days
Cold removal rate
100%
Dep drift
2
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.