{
  "_id": "6ae712b21e2c7b3a4f52fc20",
  "Package": "gptr",
  "Title": "Language Model Agents in Live 'R' Sessions",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Wanjun\", \"Gu\", , \"wanjun.gu@ucsf.edu\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-7342-7000\")),\nperson(\"Tianlu\", \"Zhu\", , \"tianluz2013@gmail.com\", role = \"ctb\",\ncomment = \"UI/UX polishing and CI/CD\"),\nperson(\"Gianmarco\", \"Bellucci\", , \"Gianmarco.Bellucci@ucsf.edu\", role = \"ctb\",\ncomment = c(\"Testing\", ORCID = \"0000-0002-2635-1699\"))\n)",
  "Description": "Runs language model agents in an existing 'R' session,\nwhere generated code can inspect and modify objects already in\nmemory. The peter() function supports interactive chat and\nprogrammatic calls. Conversational models use tools and return\nsession objects; typed decision models return logical,\ncharacter or numeric vectors with associated model\nprobabilities. Supports the 'Anthropic'\n<https://platform.claude.com/docs/en/api/overview>, 'OpenAI'\n<https://developers.openai.com/api/reference/overview> and\n'Google Gemini' <https://ai.google.dev/gemini-api/docs> APIs,\n'OpenAI'-compatible endpoints, local 'Ollama'\n<https://ollama.com> models, and the 'Claude Code' and 'Codex'\ncommand line tools. Decision models include 'Jev', hosted by\n'TypeSafe AI' <https://docs.typesafe.ai/introduction>, and the\nlocal 'Clef'. Top-level agent calls and their executed code can\nbe recorded in 'R' scripts, 'R Markdown' and 'Quarto'\ndocuments, or 'Jupyter' notebooks. Recorded 'R' scripts can be\nreplayed without model calls when the required inputs and\npackages are available.",
  "License": "Apache License (== 2.0)",
  "URL": "https://broccolito.github.io/gptr/,\nhttps://github.com/Broccolito/gptr",
  "BugReports": "https://github.com/Broccolito/gptr/issues",
  "VignetteBuilder": "knitr, rmarkdown",
  "Config/testthat/edition": "3",
  "Copyright": "file inst/COPYRIGHTS",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "NeedsCompilation": "no",
  "SystemRequirements": "Optional: Ollama (>= 0.35.1) for native local\ndecision models; other optional external programs: 'claude'\n(Claude Code) and 'codex' (Codex) for subscription providers,\n'quarto' for 'Quarto' documents, and a 'Chrome'-family browser\nfor app screenshots.",
  "Config/roxygen2/version": "8.1.1",
  "Packaged": {
    "Date": "2026-11-01 10:14:08 UTC",
    "User": "root"
  },
  "Author": "Wanjun Gu [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-7342-7000>), Tianlu Zhu [ctb]\n(UI/UX polishing and CI/CD), Gianmarco Bellucci [ctb] (Testing,\nORCID: <https://orcid.org/0000-0002-2635-1699>)",
  "Maintainer": "Wanjun Gu <wanjun.gu@ucsf.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-01 07:39:43 UTC",
  "RemoteUrl": "https://github.com/cran/gptr",
  "RemoteRef": "HEAD",
  "RemoteSha": "9e80ed4c4f9c308532a486b02039381cd86c343a",
  "_user": "cran",
  "_type": "src",
  "_file": "gptr_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/784146120fb518f64e1d42fffa226fc441dac6f9ef2476969297b131469a9db7",
  "_filesize": 3528363,
  "_sha256": "784146120fb518f64e1d42fffa226fc441dac6f9ef2476969297b131469a9db7",
  "_expires": "2027-02-09T10:21:36.000Z",
  "_created": "2026-11-01T10:14:08.000Z",
  "_published": "2026-11-01T10:21:38.675Z",
  "_upstream": "https://github.com/cran/gptr",
  "_status": "success",
  "_maintainer": {
    "name": "Wanjun Gu",
    "email": "wanjun.gu@ucsf.edu",
    "login": "broccolito",
    "orcid": "0000-0002-7342-7000",
    "description": "Fed with coffee and beans, looking at genes and memes",
    "uuid": 25333566
  },
  "_jobs": [
    {
      "job": 124818831112,
      "time": 335,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13079144330"
    },
    {
      "job": 124818831131,
      "time": 301,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13079328166"
    },
    {
      "job": 124817750477,
      "time": 288,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13079462188"
    },
    {
      "job": 124818831142,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13079547212"
    },
    {
      "job": 124818831109,
      "time": 365,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13080305683"
    },
    {
      "job": 124818831140,
      "time": 297,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13079606554"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41296269757",
  "_commit": {
    "id": "9e80ed4c4f9c308532a486b02039381cd86c343a",
    "author": "Wanjun Gu <wanjun.gu@ucsf.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1793518783
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.6.2",
      "role": "Imports"
    },
    {
      "package": "curl",
      "version": ">= 6.0.0",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.8.8",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "processx",
      "version": ">= 3.8.6",
      "role": "Imports"
    },
    {
      "package": "ps",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "version": ">= 2.3.0",
      "role": "Imports"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    },
    {
      "package": "chromote",
      "role": "Suggests"
    },
    {
      "package": "codetools",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "httpuv",
      "role": "Suggests"
    },
    {
      "package": "keyring",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "later",
      "role": "Suggests"
    },
    {
      "package": "magick",
      "role": "Suggests"
    },
    {
      "package": "openssl",
      "role": "Suggests"
    },
    {
      "package": "ragg",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RSQLite",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "vctrs",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "repr",
      "role": "Enhances"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-11-01"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "broccolito",
      "count": 4,
      "uuid": 25333566
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 252,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gptr"
  },
  "_devurl": "https://github.com/broccolito/gptr",
  "_pkgdown": "https://broccolito.github.io/gptr/",
  "_searchresults": 84,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gptr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/broccolito/gptr",
  "_realowner": "broccolito",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2024-05-06"
    },
    {
      "version": "0.6.0",
      "date": "2024-05-07"
    },
    {
      "version": "0.7.0",
      "date": "2025-04-05"
    },
    {
      "version": "1.0.0",
      "date": "2026-11-01"
    }
  ],
  "_exports": [
    "gptr_adapter",
    "gptr_agent",
    "gptr_agents",
    "gptr_api",
    "gptr_artifacts",
    "gptr_backend",
    "gptr_blocks",
    "gptr_cache",
    "gptr_cancel",
    "gptr_check",
    "gptr_checkpoints",
    "gptr_coach",
    "gptr_command",
    "gptr_config",
    "gptr_context_block",
    "gptr_describe",
    "gptr_doc",
    "gptr_env",
    "gptr_export",
    "gptr_fake_provider",
    "gptr_fork",
    "gptr_hook",
    "gptr_init",
    "gptr_jobs",
    "gptr_last",
    "gptr_login",
    "gptr_logout",
    "gptr_mcp",
    "gptr_mcp_add",
    "gptr_mcp_remove",
    "gptr_mcp_serve",
    "gptr_models",
    "gptr_on",
    "gptr_parallel",
    "gptr_permissions",
    "gptr_plugins",
    "gptr_policy",
    "gptr_preimage",
    "gptr_prob",
    "gptr_prompt",
    "gptr_prompt_section",
    "gptr_provider",
    "gptr_providers",
    "gptr_redact",
    "gptr_register",
    "gptr_registry",
    "gptr_reload",
    "gptr_resume",
    "gptr_return",
    "gptr_rewind",
    "gptr_risk",
    "gptr_router",
    "gptr_scrub",
    "gptr_sessions",
    "gptr_skills",
    "gptr_source",
    "gptr_spec",
    "gptr_steer",
    "gptr_step",
    "gptr_tailor",
    "gptr_tool",
    "gptr_tool_result",
    "gptr_trust",
    "gptr_usage",
    "gptr_wait",
    "peter"
  ],
  "_help": [
    {
      "page": "as.data.frame.gptr_session_summary",
      "title": "Convert a session summary to a data frame",
      "topics": [
        "as.data.frame.gptr_session_summary"
      ]
    },
    {
      "page": "format.gptr_risk",
      "title": "Format a risk classification",
      "topics": [
        "format.gptr_risk",
        "print.gptr_risk"
      ]
    },
    {
      "page": "format.gptr_session",
      "title": "Format a session as its text",
      "topics": [
        "as.character.gptr_session",
        "format.gptr_session"
      ]
    },
    {
      "page": "gptr_adapter",
      "title": "Define a wire adapter",
      "topics": [
        "gptr_adapter"
      ]
    },
    {
      "page": "gptr_agent",
      "title": "Define a sub-agent",
      "topics": [
        "gptr_agent"
      ]
    },
    {
      "page": "gptr_api",
      "title": "Extension API version and features",
      "topics": [
        "gptr_api"
      ]
    },
    {
      "page": "gptr_artifacts",
      "title": "List, open, relaunch and stop artifacts",
      "topics": [
        "gptr_artifacts"
      ]
    },
    {
      "page": "gptr_backend",
      "title": "Define a sub-agent backend",
      "topics": [
        "gptr_backend"
      ]
    },
    {
      "page": "gptr_blocks",
      "title": "List the agent blocks of a document",
      "topics": [
        "gptr_blocks"
      ]
    },
    {
      "page": "gptr_cache",
      "title": "Inspect, prune or clear gptr's caches",
      "topics": [
        "gptr_cache"
      ]
    },
    {
      "page": "gptr_cancel",
      "title": "Cancel running sessions",
      "topics": [
        "gptr_cancel"
      ]
    },
    {
      "page": "gptr_check",
      "title": "Check an extension for conformance",
      "topics": [
        "gptr_check"
      ]
    },
    {
      "page": "gptr_coach",
      "title": "Coach a harness by running your task",
      "topics": [
        "gptr_coach"
      ]
    },
    {
      "page": "gptr_command",
      "title": "Define a slash command",
      "topics": [
        "gptr_command"
      ]
    },
    {
      "page": "gptr_config",
      "title": "Show or change gptr's settings",
      "topics": [
        "gptr_config"
      ]
    },
    {
      "page": "gptr_context_block",
      "title": "Define a context block",
      "topics": [
        "gptr_context_block"
      ]
    },
    {
      "page": "gptr_describe",
      "title": "Compact, budgeted description of an R object",
      "topics": [
        "gptr_describe",
        "gptr_describe.ArrowTabular",
        "gptr_describe.data.frame",
        "gptr_describe.Dataset",
        "gptr_describe.DBIConnection",
        "gptr_describe.default",
        "gptr_describe.dgCMatrix",
        "gptr_describe.environment",
        "gptr_describe.formula",
        "gptr_describe.function",
        "gptr_describe.ggplot",
        "gptr_describe.gptr_session",
        "gptr_describe.list",
        "gptr_describe.lm",
        "gptr_describe.matrix",
        "gptr_describe.Seurat",
        "gptr_describe.SingleCellExperiment"
      ]
    },
    {
      "page": "gptr_doc",
      "title": "Bind this R process to a history document",
      "topics": [
        "gptr_doc"
      ]
    },
    {
      "page": "gptr_egress",
      "title": "Data egress: what gptr sends to model providers",
      "topics": [
        "gptr_egress"
      ]
    },
    {
      "page": "gptr_env",
      "title": "Load keys from a .env file",
      "topics": [
        "gptr_env"
      ]
    },
    {
      "page": "gptr_export",
      "title": "Export a recorded R document as ordinary R or a clean Peter script",
      "topics": [
        "gptr_export"
      ]
    },
    {
      "page": "gptr_fake_provider",
      "title": "A scripted, offline fake model provider",
      "topics": [
        "gptr_fake_provider"
      ]
    },
    {
      "page": "gptr_fork",
      "title": "Fork a session",
      "topics": [
        "gptr_fork"
      ]
    },
    {
      "page": "gptr_hook",
      "title": "Define an event hook",
      "topics": [
        "gptr_hook"
      ]
    },
    {
      "page": "gptr_init",
      "title": "Create the project workspace .gptr/",
      "topics": [
        "gptr_init"
      ]
    },
    {
      "page": "gptr_jobs",
      "title": "List or stop gptr's background jobs and child processes",
      "topics": [
        "gptr_jobs"
      ]
    },
    {
      "page": "gptr_login",
      "title": "Sign in to a model provider or an MCP server",
      "topics": [
        "gptr_login",
        "gptr_logout"
      ]
    },
    {
      "page": "gptr_mcp",
      "title": "List MCP servers and their tools",
      "topics": [
        "gptr_mcp"
      ]
    },
    {
      "page": "gptr_mcp_add",
      "title": "Add or remove an MCP server in gptr's configuration",
      "topics": [
        "gptr_mcp_add",
        "gptr_mcp_remove"
      ]
    },
    {
      "page": "gptr_mcp_serve",
      "title": "Serve the live R session to other agents over MCP",
      "topics": [
        "gptr_mcp_serve"
      ]
    },
    {
      "page": "gptr_models",
      "title": "List models from the model catalog",
      "topics": [
        "gptr_models"
      ]
    },
    {
      "page": "gptr_on",
      "title": "Listen to a session's events",
      "topics": [
        "gptr_on"
      ]
    },
    {
      "page": "gptr_options",
      "title": "Options that control gptr",
      "topics": [
        "gptr_options"
      ]
    },
    {
      "page": "gptr_parallel",
      "title": "Run several agent calls concurrently",
      "topics": [
        "gptr_parallel"
      ]
    },
    {
      "page": "gptr_permissions",
      "title": "Manage permission rules",
      "topics": [
        "gptr_permissions"
      ]
    },
    {
      "page": "gptr_plugins",
      "title": "Plugins known to this session",
      "topics": [
        "gptr_plugins"
      ]
    },
    {
      "page": "gptr_policy",
      "title": "Define a permission policy",
      "topics": [
        "gptr_policy"
      ]
    },
    {
      "page": "gptr_preimage",
      "title": "Tell the object checkpointer how to capture an object",
      "topics": [
        "gptr_preimage",
        "gptr_preimage.data.table",
        "gptr_preimage.default"
      ]
    },
    {
      "page": "gptr_prob",
      "title": "Probabilities and confidence of System 1 answers",
      "topics": [
        "gptr_prob"
      ]
    },
    {
      "page": "gptr_prompt",
      "title": "Show the frozen system prompt, tool array and first message",
      "topics": [
        "gptr_prompt",
        "print.gptr_prompt_view"
      ]
    },
    {
      "page": "gptr_prompt_section",
      "title": "Define a system-prompt section",
      "topics": [
        "gptr_prompt_section"
      ]
    },
    {
      "page": "gptr_provider",
      "title": "Define a model provider",
      "topics": [
        "gptr_provider"
      ]
    },
    {
      "page": "gptr_providers",
      "title": "List the configured model providers",
      "topics": [
        "gptr_providers"
      ]
    },
    {
      "page": "gptr_redact",
      "title": "Redact secrets from text or from a nested list",
      "topics": [
        "gptr_redact"
      ]
    },
    {
      "page": "gptr_register",
      "title": "Register a capability spec",
      "topics": [
        "gptr_register"
      ]
    },
    {
      "page": "gptr_registry",
      "title": "List the extension registry",
      "topics": [
        "gptr_registry"
      ]
    },
    {
      "page": "gptr_reload",
      "title": "Reload extensions",
      "topics": [
        "gptr_reload"
      ]
    },
    {
      "page": "gptr_return",
      "title": "Designate the result of an agent run",
      "topics": [
        "gptr_return"
      ]
    },
    {
      "page": "gptr_rewind",
      "title": "Rewind a session: undo turns, restore objects and files, move the conversation",
      "topics": [
        "gptr_checkpoints",
        "gptr_rewind"
      ]
    },
    {
      "page": "gptr_risk",
      "title": "Classify the risk of R code without running it",
      "topics": [
        "gptr_risk"
      ]
    },
    {
      "page": "gptr_router",
      "title": "Define a model router",
      "topics": [
        "gptr_router"
      ]
    },
    {
      "page": "gptr_scrub",
      "title": "Find, and optionally remove, registered secrets in persisted files",
      "topics": [
        "gptr_scrub"
      ]
    },
    {
      "page": "gptr_security",
      "title": "Security considerations",
      "topics": [
        "gptr_security"
      ]
    },
    {
      "page": "gptr_sessions",
      "title": "Stored and live sessions",
      "topics": [
        "gptr_last",
        "gptr_resume",
        "gptr_sessions"
      ]
    },
    {
      "page": "gptr_skills",
      "title": "Discovered skills and agents",
      "topics": [
        "gptr_agents",
        "gptr_skills"
      ]
    },
    {
      "page": "gptr_source",
      "title": "Source a history document, regenerating stale blocks without running the old code",
      "topics": [
        "gptr_source"
      ]
    },
    {
      "page": "gptr_spec",
      "title": "Build a spec of any registered kind",
      "topics": [
        "gptr_spec"
      ]
    },
    {
      "page": "gptr_steer",
      "title": "Steer a session",
      "topics": [
        "gptr_steer"
      ]
    },
    {
      "page": "gptr_step",
      "title": "Advance a session",
      "topics": [
        "gptr_step"
      ]
    },
    {
      "page": "gptr_tailor",
      "title": "Build a harness: peter with your own fixed arguments and coaching",
      "topics": [
        "gptr_tailor"
      ]
    },
    {
      "page": "gptr_tool",
      "title": "Define a tool",
      "topics": [
        "gptr_tool"
      ]
    },
    {
      "page": "gptr_tool_result",
      "title": "Build a tool result",
      "topics": [
        "gptr_tool_result"
      ]
    },
    {
      "page": "gptr_trust",
      "title": "Record or read whether a project is trusted",
      "topics": [
        "gptr_trust"
      ]
    },
    {
      "page": "gptr_usage",
      "title": "Token usage and cost",
      "topics": [
        "gptr_usage"
      ]
    },
    {
      "page": "gptr_wait",
      "title": "Wait for sessions to settle",
      "topics": [
        "gptr_wait"
      ]
    },
    {
      "page": "gptr-background",
      "title": "Background sessions (experimental)",
      "topics": [
        "background-sessions",
        "gptr-background"
      ]
    },
    {
      "page": "peter",
      "title": "Run an agent in this R session",
      "topics": [
        "peter"
      ]
    },
    {
      "page": "print.gptr_session",
      "title": "Print a session",
      "topics": [
        "print.gptr_session"
      ]
    },
    {
      "page": "print.gptr_session_summary",
      "title": "Print a session summary",
      "topics": [
        "print.gptr_session_summary"
      ]
    },
    {
      "page": "str.gptr_session",
      "title": "Show a session's structure",
      "topics": [
        "str.gptr_session"
      ]
    },
    {
      "page": "summary.gptr_session",
      "title": "Summarize a session as its history",
      "topics": [
        "summary.gptr_session"
      ]
    }
  ],
  "_readme": "https://github.com/cran/gptr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "curl",
    "jsonlite",
    "processx",
    "ps",
    "R6",
    "rlang",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "configuration.Rmd",
      "filename": "configuration.html",
      "title": "Configuration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scope and precedence",
        "Settings by purpose",
        "R options",
        "Environment and credentials"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "execution-model.Rmd",
      "filename": "execution-model.html",
      "title": "Execution model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "One language model turn",
        "Where objects live",
        "What the session retains",
        "Permissions and concurrency"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "extending-gptr.Rmd",
      "filename": "extending-gptr.html",
      "title": "Extending gptr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A tool the model calls as an R function",
        "A permission policy",
        "A hook on a session",
        "Prompt sections, context blocks and commands",
        "Other kinds",
        "Extensions and plugins"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A first call",
        "Try it offline",
        "The pipe steers one session",
        "Stopping instead of guessing",
        "At the console",
        "Connecting a real model",
        "Where to go next"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "tailor-and-coach.Rmd",
      "filename": "tailor-and-coach.html",
      "title": "Harnesses and coaching",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Tailor a harness by hand",
        "Call and change it",
        "Coach a harness",
        "Coach on a Claude Code or Codex plan",
        "Save, share and reuse",
        "Safety",
        "Recording coaching in a script",
        "Read more"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "interactive-console.Rmd",
      "filename": "interactive-console.html",
      "title": "Interactive console",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Enter prompts, objects and your own R",
        "Commands",
        "Approve changes",
        "Type while Peter works",
        "Pause, continue and leave"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "language-models.Rmd",
      "filename": "language-models.html",
      "title": "Language models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Choose and connect a model",
        "API providers",
        "Azure OpenAI and Amazon Bedrock",
        "Subscription command-line tools",
        "Local Ollama models",
        "Work with a session",
        "Put calls in functions and scripts"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "mcp.Rmd",
      "filename": "mcp.html",
      "title": "MCP",
      "engine": "knitr::rmarkdown",
      "headings": [
        "List first, connect when needed",
        "Register a server",
        "Call tools as R functions",
        "Authenticate an HTTP server",
        "Serve your R session"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "script-as-history.Rmd",
      "filename": "script-as-history.html",
      "title": "Record, replay and export",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Program in natural language, then use ordinary R",
        "Calls inside functions",
        "Recording a designated R script",
        "Inspecting and replaying",
        "R Markdown, Quarto and Jupyter",
        "Harness calls and coaching calls",
        "Exporting a recorded script",
        "Asking Peter to summarize a completed workflow"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "skills-and-plugins.Rmd",
      "filename": "skills-and-plugins.html",
      "title": "Skills and plugins",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Find and use skills",
        "Write a skill",
        "Skills and rules in a harness",
        "Prompt templates and project instructions",
        "Agent definition files",
        "Package a plugin",
        "Trust and precedence"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "teams-and-background.Rmd",
      "filename": "teams-and-background.html",
      "title": "Teams and background work",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A team of named roles",
        "A fan-out over input elements",
        "Independent calls with gptr_parallel()",
        "Coaching runs many sessions",
        "Deferred sessions and SDK control",
        "Experimental background work",
        "Checkpoints, usage and durable history"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "token-efficiency.Rmd",
      "filename": "token-efficiency.html",
      "title": "Token efficiency",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Inspecting the prompt",
        "Object descriptions and result size",
        "Reported usage and estimated components",
        "Budgets and partial results",
        "Compaction",
        "Three different caches",
        "Explicit ways to reduce context"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "tools-and-artifacts.Rmd",
      "filename": "tools-and-artifacts.html",
      "title": "Tools and artifacts",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Inspect objects, files and output",
        "Shell commands and scripts",
        "Background programs",
        "Python, SQL and other engines",
        "Build a versioned artifact",
        "Inspect, reopen and stop artifacts"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "system-one.Rmd",
      "filename": "system-one.html",
      "title": "Typed decisions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Logical decisions and probabilities",
        "Structured inputs and batch shape",
        "Uncertainty in filters, functions and loops",
        "Choices and fractional scores",
        "Provenance and caching",
        "System 1 routes or judges System 2",
        "Native Jev, local Ollama and explicit emulation"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    },
    {
      "source": "why-peter.Rmd",
      "filename": "why-peter.html",
      "title": "Why Peter?",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Peter Naur: make the program readable",
        "Peter Cathcart Wason: examine the reasoning",
        "Two ideas in one R workflow"
      ],
      "created": "2026-11-01 07:39:43",
      "modified": "2026-11-01 07:39:43",
      "commits": 1
    }
  ],
  "_score": 4.799340549453582,
  "_indexed": false,
  "_nocasepkg": "gptr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://broccolito.r-universe.dev/gptr",
  "_previous": "0.7.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-01T10:17:25.000Z",
      "distro": "resolute",
      "commit": "9e80ed4c4f9c308532a486b02039381cd86c343a",
      "fileid": "https://r2.ropensci.org/7b96f00ca98ce275bf155236a966fd81f7ea046a7866033b75dc59bcc2922453",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41296269757"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-01T10:17:11.000Z",
      "distro": "resolute",
      "commit": "9e80ed4c4f9c308532a486b02039381cd86c343a",
      "fileid": "https://r2.ropensci.org/d5c582153b78b3f838d239776602d75e99ae1a5a8d25640643e99477c54743c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41296269757"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-11-01T10:17:37.000Z",
      "commit": "9e80ed4c4f9c308532a486b02039381cd86c343a",
      "fileid": "https://r2.ropensci.org/b559b2297f8621ce1fa0f7d9b2d32a43b552d4df7830237ab33a20675af1f04c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41296269757"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-01T10:16:04.000Z",
      "commit": "9e80ed4c4f9c308532a486b02039381cd86c343a",
      "fileid": "https://r2.ropensci.org/8da0d1844359ae4302f94425def0b663eecdaa39f0bac04316fb60d0cc5daa9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41296269757"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-01T10:16:14.000Z",
      "commit": "9e80ed4c4f9c308532a486b02039381cd86c343a",
      "fileid": "https://r2.ropensci.org/339ba8d32035a0112bbc0726fe5c5bb1e0ed674565a547746a1f28db9b26e260",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41296269757"
    }
  ]
}