Skip to content

Docs: Clarify GitHub Copilot requirement and BYOK provider status #323

Closed

Description

@diberry

@bradygaster Is GitHub Copilot a hard requirement?

Before we fix the docs, we need to know: Is GitHub Copilot the only supported LLM backend, or can users bring their own API keys (OpenAI, Anthropic, Azure OpenAI, Ollama)?

The SDK has a fully typed SquadProviderConfig interface in packages/squad-sdk/src/adapter/types.ts (lines 655-683) supporting openai, azure, anthropic, and local providers ΓÇö but it's completely undocumented. Is this:

  1. Implemented and ready ΓÇö just missing docs?
  2. Partially implemented ΓÇö not ready for users yet?
  3. Intentionally internal ΓÇö Copilot is the only supported path?

The doc fix below depends on your answer. We'll write the correct framing once we know the intent.


The Problem (Docs Audit Findings)

A user arriving with only an OpenAI or Anthropic API subscription cannot determine from the docs whether Squad will work for them. The docs currently:

  • Never explicitly state that Squad requires GitHub Copilot as the LLM backend
  • List "GitHub Copilot" as a requirement without explaining why or what it provides
  • Say "16 models across 3 providers (Anthropic, OpenAI, Google)" ΓÇö implying direct API access
  • Have zero documentation for SquadProviderConfig / BYOK usage
  • No FAQ entry for "Can I use Squad with just an OpenAI/Anthropic API key?"

User journeys that fail

User What happens
Has OpenAI API key only Sees "OpenAI" in model docs, installs Squad, hits Copilot auth errors
Has Anthropic API key only Sees "Claude Opus, Sonnet, Haiku" listed, expects to configure API key, no docs exist
Evaluating Squad Reads install guide, sees "GitHub Copilot" listed, unclear if mandatory or optional

Specific files with gaps

File Issue
README.md No "Platform Requirements" section explaining Copilot's role
docs/.../installation.md Lists Copilot as requirement but doesn't explain it's the model access layer
docs/.../model-selection.md "16 models across 3 providers" implies direct API access
docs/.../switching-models.md One buried line about "subscription tier" ΓÇö never clarified
docs/.../guide.md Same ambiguous requirements list

SDK evidence of BYOK support

packages/squad-sdk/src/adapter/types.ts lines 655-683:

ypescript export interface SquadProviderConfig { type?: "openai" | "azure" | "anthropic"; baseUrl: string; apiKey?: string; bearerToken?: string; azure?: { apiVersion?: string; }; }

Comment: "Custom provider configuration (BYOK). When specified, uses the provided API endpoint instead of Copilot API."

Zero docs, zero samples, zero tests found exercising this interface.


Proposed Fix (after Brady's answer)

If Copilot is the only supported path:

  • Add explicit "Platform Requirements" section to README
  • Update installation.md: "Squad routes all LLM requests through GitHub Copilot"
  • Add FAQ: "Can I use Squad without GitHub Copilot? No."
  • Update model-selection.md intro to clarify Copilot is the broker
  • Mark SquadProviderConfig as internal or add "experimental/unsupported" note

If BYOK is supported:

  • Document SquadProviderConfig with working examples
  • Add config reference page
  • Add samples for OpenAI direct, Anthropic direct
  • Update installation.md to show both paths

Severity: High ΓÇö blocks adoption from users with direct provider subscriptions
Audit by: PAO (DevRel)
Requested by: Dina Berry


Next step: Assign to squad for doc fix once Brady clarifies the BYOK question above.

Activity

  1. bradygaster commented on Mar 10, 2026

    @bradygaster
    Collaborator

    Great audit, @diberry. This one's blocked on Brady's answer about BYOK/SquadProviderConfig support.

    @bradygaster — diberry found the SquadProviderConfig interface (packages/squad-sdk/src/adapter/types.ts lines 655-683) supporting openai, azure, anthropic providers. Is this:

    1. ✅ Implemented and ready — just missing docs?
    2. ⚠️ Partially implemented — not ready for users yet?
    3. 🔒 Intentionally internal — Copilot is the only supported path?

    The doc fix depends on the answer. Labeling for triage.

  2. github-actions commented on Mar 10, 2026

    @github-actions
    Contributor

    📋 Assigned to PAO (DevRel)

    Issue: #323 — Docs: Clarify GitHub Copilot requirement and BYOK provider status

    PAO will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    PAO, work on issue #323

  3. bradygaster commented on Mar 10, 2026

    @bradygaster
    Collaborator

    Triage by PAO

    This issue is blocked on a strategic decision: Is GitHub Copilot the only supported LLM backend, or is BYOK (bring-your-own-key) a supported path?

    What I found:

    • The SDK exports a fully typed \SquadProviderConfig\ interface supporting openai, azure, anthropic, and local providers (packages/squad-sdk/src/adapter/types.ts:655-683)
    • But it's completely undocumented
    • User docs only mention GitHub Copilot—zero guidance on direct provider API access

    Before writing docs:

    • @bradygaster: Please confirm BYOK status (supported? experimental? internal-only?)
    • If supported: Need \SquadProviderConfig\ reference page, working samples, and migration docs
    • If not: Need explicit "Copilot is the only path" statement in README + FAQ

    Per team directive (v0.8.25): Doc-impact review is mandatory for all PRs. This affects the installation guide, model selection guide, and README — so once the decision is made, the doc fix is high-priority.

    Ready to draft on your signal. 🚀

  4. github-actions commented on Mar 13, 2026

    @github-actions
    Contributor

    ⚠️ No squad member found matching label squad:mcmanus. Check .squad/team.md (or .ai-team/team.md) for valid member names.

  5. github-actions commented on Mar 13, 2026

    @github-actions
    Contributor

    📋 Assigned to PAO (DevRel)

    Issue: #323 — Docs: Clarify GitHub Copilot requirement and BYOK provider status

    PAO will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    PAO, work on issue #323

  6. added 3 commits that reference this issue on Mar 14, 2026
    6e8a264
    e28ad4a
    c454c53
  7. diberry commented on Mar 15, 2026

    @diberry
    ContributorAuthor

    Closing as out of scope — Squad's goal is GitHub Copilot CLI as the sole supported backend. BYOK/multi-provider support is not on the roadmap. If scope changes in the future and BYOK becomes a goal, this issue should be reopened and the docs updated accordingly. — squad obo dina

  8. diberry commented on Mar 15, 2026

    @diberry
    ContributorAuthor

    Note: The current product goal is Copilot CLI only (not BYOK). Closing this as out of scope for now - if scope changes to support BYOK providers, this issue should be reopened and addressed. - squad obo dina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions