Package: gptr 1.0.0
gptr: Language Model Agents in Live 'R' Sessions
Runs language model agents in an existing 'R' session, where generated code can inspect and modify objects already in memory. The peter() function supports interactive chat and programmatic calls. Conversational models use tools and return session objects; typed decision models return logical, character or numeric vectors with associated model probabilities. Supports the 'Anthropic' <https://platform.claude.com/docs/en/api/overview>, 'OpenAI' <https://developers.openai.com/api/reference/overview> and 'Google Gemini' <https://ai.google.dev/gemini-api/docs> APIs, 'OpenAI'-compatible endpoints, local 'Ollama' <https://ollama.com> models, and the 'Claude Code' and 'Codex' command line tools. Decision models include 'Jev', hosted by 'TypeSafe AI' <https://docs.typesafe.ai/introduction>, and the local 'Clef'. Top-level agent calls and their executed code can be recorded in 'R' scripts, 'R Markdown' and 'Quarto' documents, or 'Jupyter' notebooks. Recorded 'R' scripts can be replayed without model calls when the required inputs and packages are available.
Authors:
gptr_1.0.0.tar.gz
gptr_1.0.0.zip(r-4.7-any)gptr_1.0.0.zip(r-4.6-any)
gptr_1.0.0.tar.gz(r-4.7-any)gptr_1.0.0.tar.gz(r-4.6-any)
gptr_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gptr/json (API)
| # Install 'gptr' in R: |
| install.packages('gptr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/broccolito/gptr/issues
Pkgdown/docs site:https://broccolito.github.io
Last updated from:9e80ed4c4f. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 335 | ||
| source / vignettes | OK | 288 | ||
| linux-release | OK | 301 | ||
| windows-devel | OK | 365 | ||
| windows-release | OK | 297 | ||
| wasm-release | OK | 150 |
Exports:gptr_adaptergptr_agentgptr_agentsgptr_apigptr_artifactsgptr_backendgptr_blocksgptr_cachegptr_cancelgptr_checkgptr_checkpointsgptr_coachgptr_commandgptr_configgptr_context_blockgptr_describegptr_docgptr_envgptr_exportgptr_fake_providergptr_forkgptr_hookgptr_initgptr_jobsgptr_lastgptr_logingptr_logoutgptr_mcpgptr_mcp_addgptr_mcp_removegptr_mcp_servegptr_modelsgptr_ongptr_parallelgptr_permissionsgptr_pluginsgptr_policygptr_preimagegptr_probgptr_promptgptr_prompt_sectiongptr_providergptr_providersgptr_redactgptr_registergptr_registrygptr_reloadgptr_resumegptr_returngptr_rewindgptr_riskgptr_routergptr_scrubgptr_sessionsgptr_skillsgptr_sourcegptr_specgptr_steergptr_stepgptr_tailorgptr_toolgptr_tool_resultgptr_trustgptr_usagegptr_waitpeter
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
Last update: 2026-11-01
Started: 2026-11-01
