Package: corteza 0.7.0.1

Troy Hernandez

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.

Authors:Troy Hernandez [aut, cre], Grant McDermott [ctb], Jorge Krzyzaniak [ctb], cornball.ai [cph]

corteza_0.7.0.1.tar.gz
corteza_0.7.0.1.zip(r-4.7)corteza_0.7.0.1.zip(r-4.6)corteza_0.7.0.1.zip(r-4.5)
corteza_0.7.0.1.tgz(r-4.6-any)corteza_0.7.0.1.tgz(r-4.5-any)
corteza_0.7.0.1.tar.gz(r-4.7-any)corteza_0.7.0.1.tar.gz(r-4.6-any)
corteza_0.7.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
corteza/json (API)

# Install 'corteza' in R:
install.packages('corteza', repos = c('https://cornball-ai.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cornball-ai/corteza/issues

On CRAN:

Conda:

7.12 score 11 stars 6 scripts 458 downloads 77 exports 13 dependencies

Last updated from:40031601b5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK157
source / vignettesOK193
linux-release-x86_64OK211
macos-release-arm64OK133
macos-oldrel-arm64OK127
windows-develOK152
windows-releaseOK174
windows-oldrelOK151
wasm-releaseOK94

Exports:add_observerchatcontext_limit_for_modelcontext_usage_pctcorteza_execute_in_chatcorteza_execute_in_chat_retaindefault_local_modeldefault_provider_modelensure_skillsestimate_history_tokensestimate_live_context_tokensestimate_text_tokensestimate_tool_tokensformat_ageformat_live_ctxformat_tokensinstall_climatrix_archive_allmatrix_configurematrix_pollmatrix_request_flushmatrix_runmatrix_run_initmatrix_run_stepmatrix_sendmcp_tool_executornew_sessionobserver_progresspolicyregister_skill_from_fnschema_from_fnschema_from_registryservesession_setupskill_installskill_list_installedskill_removeskill_testsubagent_collectsubagent_killsubagent_listsubagent_querysubagent_seed_historysubagent_spawnsubagent_turn_initsubagent_turn_promptsubagent_turn_set_idtool_bashtool_bg_killtool_bg_statustool_cmdtool_collect_subagenttool_exit_plan_modetool_fetch_urltool_git_difftool_git_logtool_git_statustool_grep_filestool_installed_packagestool_kill_subagenttool_list_filestool_list_subagentstool_query_subagenttool_r_helptool_read_filetool_read_handletool_replace_in_filetool_run_rtool_run_r_scripttool_spawn_subagenttool_task_createtool_task_updatetool_web_searchtool_write_fileturnuninstall_cliworker_init

Dependencies:callrcodetoolscurldigestjsonlitellm.apiotelprintifyprocessxpsR6sabertinyoauth

Using Codex with corteza
title: Using Codex with corteza | Prerequisites | Authentication | Using Codex on an R package | Provider-plural workflow

Last update: 2026-06-10
Started: 2026-06-10

Skills
title: Skills | Format | Frontmatter | Where skills live | How skills get invoked | R skills | Built-in tools | Authoring a skill | Best practices | Sharing

Last update: 2026-05-27
Started: 2026-05-24

Retroactive-Extraction Runtime
title: Retroactive-Extraction Runtime | Why | Enabling | How it works | What the LLM sees | Permission model | Recursion | Recovery | Summary styles | Known limitations | Disabling

Last update: 2026-05-26
Started: 2026-05-24

Configuration
title: Configuration | Config files | CLI flags | JSON config keys | Core | Context | Safety | Skills | Diagnostics | Rate limiting | Subagents | Workspace | Channels | Matrix | Legacy memory | Slash commands | MCP server | Session tuning | Session parameters | systemd service | Environment variables | R options

Last update: 2026-05-24
Started: 2026-05-24

Package as Skill
title: Package as Skill | Setup | 1. Install the package | 2. Register it as a skill | Use | What makes a package a good fit | Why no MCP server | Where to go next

Last update: 2026-05-05
Started: 2026-04-25