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 |
| Author: | Troy Hernandez |
| 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 [issues need fixing before 2026-05-31] |
| Reference manual: | corteza.html , corteza.pdf |
| Vignettes: |
Package as Skill (source) |
| Package source: | corteza_0.6.3.tar.gz |
| Windows binaries: | r-devel: corteza_0.6.3.zip, r-release: corteza_0.6.3.zip, r-oldrel: corteza_0.6.3.zip |
| 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 |
Please use the canonical form https://CRAN.R-project.org/package=corteza to link to this page.