The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

corteza: AI Agent Runtime

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. Tools execute as R function calls and record their results. Interfaces include 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.

Version: 0.8.1
Depends: R (≥ 4.4.0)
Imports: callr, curl, digest, jsonlite, llm.api (≥ 0.2.0), printify, processx, saber (≥ 0.8.0), utils
Suggests: chat.api (≥ 0.2.0), clipr, fortunes, rgrpc (≥ 0.1.0), mx.client (≥ 0.3.0), pensar, RProtoBuf (≥ 0.4.24), rstudioapi, simplermarkdown, tinytest
Published: 2026-11-27
DOI: 10.32614/CRAN.package.corteza
Author: Troy Hernandez ORCID iD [aut, cre], Grant McDermott ORCID iD [ctb], Jorge Krzyzaniak [ctb], cornball.ai [cph]
Maintainer: Troy Hernandez <troy at cornball.ai>
BugReports: https://github.com/cornball-ai/corteza/issues
License: Apache License (≥ 2)
URL: https://github.com/cornball-ai/corteza
NeedsCompilation: no
SystemRequirements: On Windows, Rtools45 (R 4.5.x) or Rtools44 (R 4.4.x) is recommended so the 'bash' shell tool is available; minimal installs fall back to a 'cmd' tool. 'git' is required for the git_status, git_diff, and git_log tools (install Git for Windows, or 'pacman -Sy git' from an Rtools shell).
Materials: NEWS
CRAN checks: corteza results

Documentation:

Reference manual: corteza.html , corteza.pdf
Vignettes: Audit records (source)
Using Codex with corteza (source)
Configuration (source)
Package as Skill (source)
Retroactive-Extraction Runtime (source)
Skills (source)

Downloads:

Package source: corteza_0.8.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: corteza_0.8.1.zip
macOS binaries: r-release (arm64): corteza_0.8.1.tgz, r-oldrel (arm64): corteza_0.8.1.tgz, r-release (x86_64): corteza_0.8.1.tgz, r-oldrel (x86_64): corteza_0.8.1.tgz
Old sources: corteza archive

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.