In short.
This GitHub Copilot SDK setup guide is for developers building local AI applications, with the main catch that only some SDKs automatically include the required CLI runtime. It explains child-process communication, three authentication approaches, and resumable sessions stored on the user's machine. Language examples demonstrate basic requests using gpt-5.4. Exact runtime minimums, costs, licensing terms and execution results are not established by this page.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete supplied Default setup (bundled CLI) page at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-sdk/setup/bundled-cli], including all five language examples, prerequisite warnings, runtime packaging exceptions, authentication strategies and session persistence. Linked pages and READMEs are excluded. Referenced diagram images, package contents and licence texts were not supplied for examination. All behavior is described from documentation; nothing was executed or tested.
The overview
Identity
Default setup (bundled CLI) is a GitHub Docs tutorial about connecting an application to the Copilot runtime through the GitHub Copilot SDK. The resource is the setup guide itself; it is not an SDK package or standalone assistant.
The original page is [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-sdk/setup/bundled-cli]. It includes TypeScript, Python, Go, .NET and Java examples.
Assessment
The guide offers a useful starting point for understanding runtime delivery, authentication and conversation persistence in a local application. Its language-specific notes matter: the opening description of automatic bundling applies directly to Node.js and .NET, while Python, Go and Java have different provisioning requirements.
It demonstrates a minimal request lifecycle, but does not establish reliability, performance or deployment compatibility. No examples were executed or tested.
Users
The page identifies desktop applications, standalone tools, command-line utilities and prototypes as suitable uses. Beginners can follow the client, session and message sequence; experienced developers can use the runtime and authentication distinctions to assess integration requirements.
Developers building hosted services or adding GitHub OAuth are directed to separate guides. Those architectures are not explained here.
Capabilities
The examples show creating a client, opening a session with a selected model, sending a prompt, reading the reply and stopping the client. Additional examples demonstrate supplying a GitHub token, configuring an external model provider and resuming a named session.
The model identifier gpt-5.4 appears in the examples. The page does not provide a complete model catalogue, availability guarantees, quality comparisons or detailed tool-use examples.
Using it
Requirements
An application needs its chosen language SDK and access to a compatible Copilot CLI runtime. Authentication can use the user's signed-in CLI credentials, COPILOT_GITHUB_TOKEN, or credentials for a configured model provider. The BYOK example does not require GitHub authentication.
Minimum language runtime versions are delegated to linked SDK READMEs and are unknown from this page. It warns that an unsupported runtime can cause a package manager to install an older SDK silently. Supported operating systems, hardware requirements and offline operation are not specified.
Mechanism
In the default arrangement, the SDK starts the Copilot runtime as a child process and communicates through standard input and output, or stdio. The page says the SDK manages CLI version compatibility.
Sessions are managed per user on their machine. Named sessions can be resumed, with state stored at ~/.copilot/session-state/{sessionId}/. Local runtime execution and local session storage do not establish that model inference happens locally.
Setup
Node.js and .NET include the CLI as an SDK dependency. Python recommends running python -m copilot download-runtime after installation to download and cache the matching runtime; otherwise, the SDK attempts that download on first use.
Go does not include the CLI as an automatic dependency. With no explicit path, NewClient(nil) uses an embedded CLI when available and otherwise looks for copilot on PATH. Embedding requires a build-time bundler; COPILOT_CLI_PATH or a Connection can identify another binary.
Java does not bundle or embed the CLI. It can use a separately installed CLI through PATH or setCliPath(...), or connect to a running CLI server through setCliUrl(...). Package installation commands and the linked bundler instructions are not included.
Example
The TypeScript example imports CopilotClient from @github/copilot-sdk, creates a client, calls createSession with model set to gpt-5.4, sends Hello! through sendAndWait, prints the response content and calls client.stop(). This illustrates the smallest request lifecycle presented on the page.
The persistence example assigns a project-based sessionId and later calls resumeSession(sessionId). Python and Java examples also configure permission handlers that approve all requests; the page does not explain permission categories or a selective approval policy.
Assessment & evidence
Limitations
Runtime delivery is not uniform across languages, and bundling does not remove authentication requirements. Python may require a first-use download if the explicit download step is skipped. Go and Java need additional runtime provisioning decisions.
The page does not establish error recovery, concurrency limits, session retention controls, hosted-user isolation or deployment behavior across platforms. Rust appears in the prerequisite links, but no Rust setup example or packaging explanation is supplied.
The approve-all permission handlers in the Python and Java examples leave selective authorization unexplained. Their suitability for an application's intended operations remains unassessed.
Fit reasoning
A per-user desktop application or command-line tool is the clearest fit because the described design combines a local child process, user credentials and on-disk conversation state. This fit assessment follows from the documented architecture and examples, rather than measured results.
Node.js and .NET offer the simplest documented runtime packaging. Python adds a download step, while Go and Java require more explicit provisioning. These differences can affect language choice when distributing an application.
Alternative setups
The page points to local CLI setup for explicit binary management, GitHub OAuth setup for account sign-in, backend services setup for server deployment, and BYOK for using model-provider credentials.
These are alternative integration paths within the Copilot SDK documentation. Their linked instructions and tradeoffs were not supplied, and the page provides no comparison with competing SDKs.
Evidence
The evidence consists of the complete supplied GitHub Docs page at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-sdk/setup/bundled-cli]. It supports descriptions of the documented setup and API usage, rather than observed runtime behavior.
Linked READMEs, other setup guides, referenced diagram images and package contents were not independently examined. No installation, authentication, model request or session-resumption behavior was executed.
Access & freshness
Costs
Costs are unknown. The page gives no SDK price, Copilot subscription requirement, usage allowance, billing unit or provider rate.
BYOK means supplying your own model-provider credentials; it does not establish free model access. The guide provides insufficient information to estimate either operating costs or distribution costs.
Rights
The page describes distributing applications with the CLI runtime, but supplies no licence text or redistribution conditions for the SDK, CLI, documentation or examples.
Commercial-use rights, attribution requirements and applicable model-provider terms cannot be established from this page alone.
Freshness
The supplied page was captured on 2026-11-15 at 15:17:56.421 UTC. Its source revision is sha256:1c7d8d4967da9abc92afcd58355f9a197b597c8e3be64acb40b9c06d47afc0af.
The page states no publication date, update date or SDK/CLI release numbers. The gpt-5.4 example identifier does not establish current model availability for any particular account or provider.
Next steps
Choose a language and confirm its minimum runtime in the linked SDK README before installing. Follow that language's CLI provisioning route, then choose signed-in credentials, a GitHub token or BYOK authentication.
For an application that resumes conversations, assign stable session identifiers and account for the documented local storage location. Review permission handling before adopting the Python or Java approve-all examples.
Before distribution, establish applicable costs and redistribution terms, then verify startup, authentication, requests, session resumption and shutdown on the target platforms. Those behaviors remain untested in the supplied evidence.
