Skip to content

Providers

Use this section to choose and configure the review provider that DiffPal runs inside your CI job.

DiffPal does not own or manage third-party provider accounts. Create, license, authenticate, and secure the provider account or CLI with that provider's own tools.

For the conceptual difference between providers and agents, see Providers and agents.

Concepts

TermMeaning
Code hostThe system that owns pull requests or merge requests, such as GitHub, GitLab, or Azure DevOps.
CI systemThe runner that checks out the repository and executes DiffPal, such as GitHub Actions, GitLab CI, Azure Pipelines, or a custom runner.
ProviderThe configured runtime entry that DiffPal asks to perform review reasoning.
AgentThe provider-backed CLI or ACP-compatible process that inspects the requested change or repository context and returns structured review output.

The code host decides where feedback is published. The CI system decides how commands and secrets run. The provider or agent decides which model, account, tools, sandbox, and credentials are used for review.

Provider Selection

DiffPal selects one provider by matching diffpal.provider to an entry under runtime.providers:

yaml
runtime:
  providers:
    codex-acp:
      type: codex_acp
      codex_acp:
        reasoning_effort: low

diffpal:
  provider: codex-acp

The selected provider ID must exist in runtime.providers. Profiles and the DIFFPAL_PROVIDER environment variable can override the selected provider for a specific CI job.

Choose A Provider

Provider pathUse whenSetup nameConfig example
CodexYou want the default copy-paste onboarding path or an existing Codex auth file in trusted CI.codex-api-key or codex-subscriptionexamples/configs/codex-api-key/config.yaml
CopilotYour organization already uses Copilot and can provide a supported Copilot token to CI.copilot-github-tokenexamples/configs/copilot-github-token/config.yaml
OpenCodeYou want DiffPal to run through an OpenCode ACP provider already installed and authenticated in CI.opencode-acpexamples/configs/opencode-acp/config.yaml
Custom ACP CLIYou have another CLI that can start an ACP stdio server.generic-acpexamples/configs/generic-acp/config.yaml

These setup names are accepted by:

bash
diffpal init --wizard --setup <setup-name> --platform github

Use the provider page for install and authentication, then use the Integrations section for host-specific CI syntax.

Next step: open the setup page for the provider you plan to authenticate in CI.

Released as open source software.