The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
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[@]metanet.ch.

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 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.

Version: 0.6.3
Depends: R (≥ 4.4.0)
Imports: callr, codetools, curl, jsonlite, llm.api, printify, processx, saber
Suggests: fortunes, mx.api, simplermarkdown, tinytest
Published: 2026-05-04
DOI: 10.32614/CRAN.package.corteza (may not be active yet)
Author: Troy Hernandez ORCID iD [aut, cre], 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: Package as Skill (source)

Downloads:

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

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.