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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("corteza")

0.7.1 by Troy Hernandez, 2 months ago


https://github.com/cornball-ai/corteza


Report a bug at https://github.com/cornball-ai/corteza/issues


Browse source code at https://github.com/cran/corteza


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


Documentation:   PDF Manual  


Apache License (>= 2) license


Imports callr, codetools, curl, digest, jsonlite, llm.api, printify, processx, saber

Suggests clipr, fortunes, mx.api, mx.client, mx.crypto, pensar, rstudioapi, simplermarkdown, tinytest

System requirements: 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).


See at CRAN