hal-package: hal: GitHub Copilot SDK for R

hal-packageR Documentation

hal: GitHub Copilot SDK for R

Description

Native R interface to GitHub Copilot via the Agent Client Protocol (ACP). Communicates with the Copilot CLI over NDJSON stdio, giving R users direct access to multiple models (GPT, Claude, Gemini) through GitHub's enterprise infrastructure – no API keys required.

Getting started

chat <- hal_chat()
chat$chat("What is R?")

Prerequisites

  • A GitHub Copilot subscription (Individual, Business, or Enterprise)

  • The GitHub CLI (gh) with the Copilot extension, or a standalone Copilot CLI binary

  • Use hal_available() to check your setup

Author(s)

Maintainer: Mark Dippold arclitered@gmail.com

Authors:

See Also

  • hal_chat() to create a chat session

  • hal_available() to check CLI availability

  • hal_models() to list available models


hal documentation built on Oct. 6, 2026, 5:07 p.m.