Language Model Agents in Live 'R' Sessions


[Up] [Top]

Documentation for package ‘gptr’ version 1.0.0

Help Pages

as.character.gptr_session Format a session as its text
as.data.frame.gptr_session_summary Convert a session summary to a data frame
background-sessions Background sessions (experimental)
format.gptr_risk Format a risk classification
format.gptr_session Format a session as its text
gptr-background Background sessions (experimental)
gptr_adapter Define a wire adapter
gptr_agent Define a sub-agent
gptr_agents Discovered skills and agents
gptr_api Extension API version and features
gptr_artifacts List, open, relaunch and stop artifacts
gptr_backend Define a sub-agent backend
gptr_blocks List the agent blocks of a document
gptr_cache Inspect, prune or clear gptr's caches
gptr_cancel Cancel running sessions
gptr_check Check an extension for conformance
gptr_checkpoints Rewind a session: undo turns, restore objects and files, move the conversation
gptr_coach Coach a harness by running your task
gptr_command Define a slash command
gptr_config Show or change gptr's settings
gptr_context_block Define a context block
gptr_describe Compact, budgeted description of an R object
gptr_describe.ArrowTabular Compact, budgeted description of an R object
gptr_describe.data.frame Compact, budgeted description of an R object
gptr_describe.Dataset Compact, budgeted description of an R object
gptr_describe.DBIConnection Compact, budgeted description of an R object
gptr_describe.default Compact, budgeted description of an R object
gptr_describe.dgCMatrix Compact, budgeted description of an R object
gptr_describe.environment Compact, budgeted description of an R object
gptr_describe.formula Compact, budgeted description of an R object
gptr_describe.function Compact, budgeted description of an R object
gptr_describe.ggplot Compact, budgeted description of an R object
gptr_describe.gptr_session Compact, budgeted description of an R object
gptr_describe.list Compact, budgeted description of an R object
gptr_describe.lm Compact, budgeted description of an R object
gptr_describe.matrix Compact, budgeted description of an R object
gptr_describe.Seurat Compact, budgeted description of an R object
gptr_describe.SingleCellExperiment Compact, budgeted description of an R object
gptr_doc Bind this R process to a history document
gptr_egress Data egress: what gptr sends to model providers
gptr_env Load keys from a .env file
gptr_export Export a recorded R document as ordinary R or a clean Peter script
gptr_fake_provider A scripted, offline fake model provider
gptr_fork Fork a session
gptr_hook Define an event hook
gptr_init Create the project workspace .gptr/
gptr_jobs List or stop gptr's background jobs and child processes
gptr_last Stored and live sessions
gptr_login Sign in to a model provider or an MCP server
gptr_logout Sign in to a model provider or an MCP server
gptr_mcp List MCP servers and their tools
gptr_mcp_add Add or remove an MCP server in gptr's configuration
gptr_mcp_remove Add or remove an MCP server in gptr's configuration
gptr_mcp_serve Serve the live R session to other agents over MCP
gptr_models List models from the model catalog
gptr_on Listen to a session's events
gptr_options Options that control gptr
gptr_parallel Run several agent calls concurrently
gptr_permissions Manage permission rules
gptr_plugins Plugins known to this session
gptr_policy Define a permission policy
gptr_preimage Tell the object checkpointer how to capture an object
gptr_preimage.data.table Tell the object checkpointer how to capture an object
gptr_preimage.default Tell the object checkpointer how to capture an object
gptr_prob Probabilities and confidence of System 1 answers
gptr_prompt Show the frozen system prompt, tool array and first message
gptr_prompt_section Define a system-prompt section
gptr_provider Define a model provider
gptr_providers List the configured model providers
gptr_redact Redact secrets from text or from a nested list
gptr_register Register a capability spec
gptr_registry List the extension registry
gptr_reload Reload extensions
gptr_resume Stored and live sessions
gptr_return Designate the result of an agent run
gptr_rewind Rewind a session: undo turns, restore objects and files, move the conversation
gptr_risk Classify the risk of R code without running it
gptr_router Define a model router
gptr_scrub Find, and optionally remove, registered secrets in persisted files
gptr_security Security considerations
gptr_sessions Stored and live sessions
gptr_skills Discovered skills and agents
gptr_source Source a history document, regenerating stale blocks without running the old code
gptr_spec Build a spec of any registered kind
gptr_steer Steer a session
gptr_step Advance a session
gptr_tailor Build a harness: peter with your own fixed arguments and coaching
gptr_tool Define a tool
gptr_tool_result Build a tool result
gptr_trust Record or read whether a project is trusted
gptr_usage Token usage and cost
gptr_wait Wait for sessions to settle
peter Run an agent in this R session
print.gptr_prompt_view Show the frozen system prompt, tool array and first message
print.gptr_risk Format a risk classification
print.gptr_session Print a session
print.gptr_session_summary Print a session summary
str.gptr_session Show a session's structure
summary.gptr_session Summarize a session as its history