Skip to content

corteza

AI Agent Runtime

v0.7.0 · Jun 26, 2026 · Apache License (>= 2)

Description

An agent runtime that gives Large Language Models (LLMs) from 'Anthropic' <https://www.anthropic.com/>, 'OpenAI' <https://openai.com/>, 'Moonshot' <https://www.moonshot.ai/>, and 'Ollama' <https://ollama.com/> direct access to a live R session with managed workspace state. Tools execute as R function calls with provenance tracking, and a deterministic retrieval system keeps relevant objects in context across turns. Three entry points: a shell command-line interface (CLI), a console read-eval-print-loop via chat(), and a Model Context Protocol (MCP) server via serve() for external clients.

Downloads

CRAN

434

Last 30 days

9190th

729

Last 90 days

729

Last year

Trend: +47.1% (30d vs prior 30d)

r2u CRAN

15

Last 30 days

15

Last 90 days

15

Last year

CRAN Check Status

13 OK
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 May 29, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 26, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘tinytest.R’ [96s/418s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("corteza")
  + }
  
  test_chat.R...................    0 tests    

...[truncated]...
diff| Expected TRUE, got FALSE
  Error: 1 out of 1279 tests failed
  In addition: Warning message:
  In system2(shell_exe, exe_args_fg, stdout = TRUE, stderr = TRUE,  :
    command ''bash' -lc 'echo hello' 2>&1' timed out after 30s
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 16, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 14, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘tinytest.R’ [102s/301s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("corteza")
  + }
  
  test_chat.R...................    0 tests    
...[truncated]...
diff| Expected TRUE, got FALSE
  Error: 1 out of 1279 tests failed
  In addition: Warning message:
  In system2(shell_exe, exe_args_fg, stdout = TRUE, stderr = TRUE,  :
    command ''bash' -lc 'echo hello' 2>&1' timed out after 30s
  Execution halted
OK 6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 5, 2026

Dependency Network

Dependencies Reverse dependencies callr codetools curl jsonlite llm.api printify processx saber corteza

Version History

3 tracked
updated 0.7.0 ← 0.6.9 diff Jun 26, 2026
updated 0.6.9 ← 0.6.3 diff May 28, 2026
new 0.6.3 May 4, 2026