{
  "_id": "6ad304782c5c76d3dd0c94bf",
  "Package": "gptr",
  "Title": "Language Model Agents Inside the Live 'R' Session",
  "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(\"Mario\", \"Zechner\", role = c(\"ctb\", \"cph\"),\ncomment = \"Author of 'pi' (MIT), from which tool texts and templates are derived\")\n)",
  "Description": "Runs large language model agents inside the running 'R'\nsession, so that models inspect and modify objects that are\nalready in memory instead of re-running scripts from scratch. A\nsingle function, peter(), opens an interactive chat in the\nconsole or, given a prompt, runs the agent loop and returns a\nvalue that can be piped into further prompts. Supports the\n'Anthropic', 'OpenAI' and 'Google Gemini' application\nprogramming interfaces, 'OpenAI'-compatible endpoints, the\n'Claude Code' and 'Codex' command line tools, local 'Ollama'\nconversational models, and System One typed-decision models\nsuch as 'Jev', 'Clef' and 'Clef Flash'\n<https://typesafe.ai/blog/introducing-system-one-models-and-jev>,\nwhose typed yes/no, choice and score answers can be used\ndirectly in if() and for() statements. Tools for reading,\nwriting, editing and searching files and for evaluating 'R'\ncode are implemented in 'R'; skills, extensions, Model Context\nProtocol ('MCP') servers, sub-agents and 'shiny' apps are\nsupported. Sessions are recorded as 'R' scripts, 'R Markdown',\n'Quarto' or 'Jupyter' documents that can be re-run. Writing\nfiles and evaluating model-generated code require the user's\npermission by default.",
  "License": "MIT + file LICENSE",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "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",
  "Config/pak/sysreqs": "chromium libssl-dev",
  "Repository": "https://broccolito.r-universe.dev",
  "Date/Publication": "2026-10-17 03:06:10 UTC",
  "RemoteUrl": "https://github.com/broccolito/gptr",
  "RemoteRef": "HEAD",
  "RemoteSha": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
  "Packaged": {
    "Date": "2026-10-17 04:49:44 UTC",
    "User": "root"
  },
  "Author": "Wanjun Gu [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-7342-7000>),\nMario Zechner [ctb, cph] (Author of 'pi' (MIT), from which tool texts\nand templates are derived)",
  "Maintainer": "Wanjun Gu <wanjun.gu@ucsf.edu>",
  "_user": "broccolito",
  "_type": "src",
  "_file": "gptr_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9bd27cc098a8cb84ef29e132c82d9625a14bb49406e04d8fd576e22fdd489e7a",
  "_filesize": 2941459,
  "_sha256": "9bd27cc098a8cb84ef29e132c82d9625a14bb49406e04d8fd576e22fdd489e7a",
  "_expires": "2027-01-25T05:15:34.000Z",
  "_created": "2026-10-17T04:49:44.000Z",
  "_published": "2026-10-17T05:15:36.066Z",
  "_buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117312805524,
      "time": 931,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12090232355"
    },
    {
      "job": 117312805578,
      "time": 761,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12090268294"
    },
    {
      "job": 117312805516,
      "time": 695,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12089504676"
    },
    {
      "job": 117312805553,
      "time": 754,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12090446512"
    },
    {
      "job": 117311946142,
      "time": 282,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12089954138"
    },
    {
      "job": 117312805535,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12089964379"
    },
    {
      "job": 117312805586,
      "time": 1391,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12090960840"
    },
    {
      "job": 117312805519,
      "time": 1160,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12091095832"
    },
    {
      "job": 117312805629,
      "time": 1487,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12090852178"
    }
  ],
  "_upstream": "https://github.com/broccolito/gptr",
  "_commit": {
    "id": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
    "author": "Wanjun Gu <wanjungu001@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #9 from Exynos-8890/perf/test-worker-experiments\n\nci: parallel Linux tests through TESTTHAT_PARALLEL; serial cran-mode job; faster report-budget test",
    "time": 1792206370
  },
  "_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
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "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.0",
      "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": "broccolito",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 170
    },
    {
      "week": "2026-41",
      "n": 360
    },
    {
      "week": "2026-42",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "gptr-1.0-m0",
      "date": "2026-10-06"
    },
    {
      "name": "gptr-1.0-m1",
      "date": "2026-10-06"
    },
    {
      "name": "gptr-1.0-m2",
      "date": "2026-10-06"
    },
    {
      "name": "gptr-1.0-m3",
      "date": "2026-10-07"
    },
    {
      "name": "gptr-1.0-m4",
      "date": "2026-10-07"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "broccolito",
      "count": 977,
      "uuid": 25333566
    },
    {
      "user": "exynos-8890",
      "count": 2,
      "uuid": 108348132
    }
  ],
  "_userbio": {
    "uuid": 25333566,
    "type": "user",
    "name": "Wanjun Gu",
    "followers": 74,
    "description": "Fed with coffee and beans, looking at genes and memes"
  },
  "_downloads": {
    "count": 276,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gptr"
  },
  "_devurl": "https://github.com/broccolito/gptr",
  "_pkgdown": "https://broccolito.github.io/gptr/",
  "_searchresults": 80,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/broccolito/gptr",
  "_realowner": "broccolito",
  "_cranurl": true,
  "_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"
    }
  ],
  "_exports": [
    "gptr_adapter",
    "gptr_agent",
    "gptr_agents",
    "gptr_api",
    "gptr_artifacts",
    "gptr_backend",
    "gptr_blocks",
    "gptr_cache",
    "gptr_cancel",
    "gptr_check",
    "gptr_checkpoints",
    "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_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_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.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_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"
      ]
    }
  ],
  "_pkglogo": "https://github.com/broccolito/gptr/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/broccolito/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-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 4
    },
    {
      "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-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 4
    },
    {
      "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-10-07 04:37:26",
      "modified": "2026-10-16 04:43:38",
      "commits": 5
    },
    {
      "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-10-07 04:29:46",
      "modified": "2026-10-16 04:43:38",
      "commits": 6
    },
    {
      "source": "interactive-console.Rmd",
      "filename": "interactive-console.html",
      "title": "Interactive console",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Enter prompts, objects and your own R",
        "Commands",
        "Approve, interrupt and continue"
      ],
      "created": "2026-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 6
    },
    {
      "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-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 4
    },
    {
      "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-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 3
    },
    {
      "source": "script-as-history.Rmd",
      "filename": "script-as-history.html",
      "title": "Script as history",
      "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",
        "Exporting a recorded script",
        "Asking Peter to summarize a completed workflow"
      ],
      "created": "2026-10-07 04:46:36",
      "modified": "2026-10-16 04:43:38",
      "commits": 7
    },
    {
      "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",
        "Prompt templates and project instructions",
        "Agent definition files",
        "Package a plugin",
        "Trust and precedence"
      ],
      "created": "2026-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 3
    },
    {
      "source": "system-one.Rmd",
      "filename": "system-one.html",
      "title": "System 1 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-10-07 04:39:45",
      "modified": "2026-10-16 04:43:38",
      "commits": 4
    },
    {
      "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()",
        "Deferred sessions and SDK control",
        "Experimental background work",
        "Checkpoints, usage and durable history"
      ],
      "created": "2026-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 3
    },
    {
      "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-10-07 04:47:35",
      "modified": "2026-10-16 04:43:38",
      "commits": 5
    },
    {
      "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-10-10 17:28:41",
      "modified": "2026-10-16 04:43:38",
      "commits": 3
    },
    {
      "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-10-10 17:54:25",
      "modified": "2026-10-16 04:43:38",
      "commits": 2
    }
  ],
  "_score": 6.5263392773898445,
  "_indexed": true,
  "_nocasepkg": "gptr",
  "_universes": [
    "broccolito"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-17T04:52:38.000Z",
      "distro": "resolute",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/244a2a81a76a2a10485647c5eaac15acf337b1103b7f0033e7cc6e4004ae7d3e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-17T04:52:23.000Z",
      "distro": "resolute",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/8f6cb024e4e03d6c086faf07ac2f890932d0bdcd41adc6456d8af062168cc571",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-17T04:51:37.000Z",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/f013e437ad67ee41b5ff891d626f829b44bf8fd89b7c728efd250b98b2ce4e9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-17T04:52:11.000Z",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/c5ca44f3d2982a7b82513e2d2ae93446250b666007c0d257241b1791482c1543",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-17T04:52:45.000Z",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/3e8283e82db0902b9362884db1c81baa788a5915b360d2bb54c28c2cd7511eb7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-17T04:51:25.000Z",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/cc4a4f6c16f5990fba818d2f4d8db1534b269909a9c99ac68c1550ef145628f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-17T04:51:38.000Z",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/50b12158185d46b703c24f2cc776fc47daba484bf88311a4ec471bfb59e41b9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-17T04:51:44.000Z",
      "commit": "0c4b0003ca33a58777f9ee26f1cc268c5ddde83b",
      "fileid": "https://r2.ropensci.org/5dafd8a871e875a13ce494beada12c05ebb9a83f93eacc71afd9e7b1b027a9e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/broccolito/actions/runs/39003756512"
    }
  ]
}