# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "gptr" in publications use:' type: software license: Apache-2.0 title: 'gptr: Language Model Agents in Live ''R'' Sessions' version: 1.0.0 doi: 10.32614/CRAN.package.gptr abstract: 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' , 'OpenAI' and 'Google Gemini' APIs, 'OpenAI'-compatible endpoints, local 'Ollama' models, and the 'Claude Code' and 'Codex' command line tools. Decision models include 'Jev', hosted by 'TypeSafe AI' , 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: - family-names: Gu given-names: Wanjun email: wanjun.gu@ucsf.edu orcid: https://orcid.org/0000-0002-7342-7000 repository: https://cran.r-universe.dev repository-code: https://github.com/Broccolito/gptr commit: 9e80ed4c4f9c308532a486b02039381cd86c343a url: https://broccolito.github.io/gptr/ date-released: '2026-11-01' contact: - family-names: Gu given-names: Wanjun email: wanjun.gu@ucsf.edu orcid: https://orcid.org/0000-0002-7342-7000