Advanced setup
This page covers non-standard installation paths for fullsend. For the standard per-repo installation using the managed fullsend-ai app set and hosted mint, follow the Getting Started guides.
Deployment models
Fullsend supports two deployment models based on who manages the token mint and GitHub Apps:
| Model | Mint | GitHub Apps | Audience |
|---|---|---|---|
| Managed (default) | Hosted by fullsend team | Shared fullsend-ai-* apps | Repo maintainers |
| Self-hosted | You deploy and manage your own | Custom app set (--app-set) | Platform operators |
Most users should use the managed model — the Getting Started guides cover this path end-to-end. The sections below cover variants within the managed model and self-hosted deployment for platform operators.
Using platform-provided infrastructure
When a platform operator has already deployed the mint and shared fullsend-ai-* apps, installation follows the standard Getting Started flow — you only need a GCP project for inference. Before running the installer, confirm with your platform operator that:
- Your repository is enrolled in the mint's
PER_REPO_WIF_REPOS(or the mint explicitly runs in public mode withPER_REPO_WIF_REPOS=*) - The shared GitHub Apps are installed on your repository (or org)
- Mint-side WIF is configured to accept OIDC tokens from your organization
Then follow Getting Inference and Configuring GitHub, passing the platform operator's mint URL via --mint-url.
If the platform operator also provides a pre-existing WIF provider, skip inference provision and pass --inference-wif-provider directly to github setup.
If the platform operator distributes a vendor preset (a curated config.base.yaml), you can install it via --config. Persistent setup flags may still be passed; they override matching preset values in the overlay without changing the committed preset:
fullsend github setup <owner/repo> \
--inference-project "<GCP_PROJECT>" \
--inference-wif-provider "<WIF_PROVIDER>" \
--config "<preset-path-or-url>" \
--config-hash "<sha256-hex>"See Configuring GitHub — Using a vendor preset for details. Fleet installs declare the same source in repos.yaml (defaults.config_base / per-repo config_base) and converge it with fullsend repos install; see Repo Management — Configuration presets.
If you have IAM access to the platform operator's GCP project, pass --mint-project and --mint-region to admin install to enable auto-discovery of shared app IDs and automatic validation of mint configuration. This requires roles/cloudfunctions.developer on the platform mint project. (admin install is deprecated; see Deprecated: all-in-one admin install.)
This section documents the SaaS installation profile — the default variant of the Managed model, where a platform operator pre-provisions the shared GitHub Apps and mint for you. See the CLI reference for the full flag list.
OAuth scope reference
| Scope | When needed | Why |
|---|---|---|
repo | install, analyze | Read/write repository contents, manage repo-level secrets and variables |
workflow | install | Create and update GitHub Actions workflow files in .github/workflows/ |
admin:org | install (creating new GitHub Apps) | Create GitHub Apps and manage their organization installations |
Scope note: Per-repo install only requires
repoandworkflowscopes when reusing existing GitHub Apps. Creating new apps requiresadmin:org.
Note on scope breadth:
gh authscopes apply to every organization your account belongs to — GitHub does not support per-org scoping for classic OAuth tokens. If that is a concern, create a fine-grained personal access token scoped to the target organization and export it asGH_TOKENbefore running the installer.
Self-hosted deployment
This section is for platform operators who deploy and manage their own token mint and GitHub Apps. If you are using the managed fullsend-ai-* apps and hosted mint, this does not apply to you.
For mint deployment and management details, see Mint service administration.
Deploying a new mint
Mint deployment and GitHub App creation are independent steps — deploying a mint does not create GitHub Apps, and creating apps does not require a mint to exist first.
1. Deploy the token mint (GCP Admin):
fullsend mint deploy --project "$GCP_PROJECT"See Mint service administration for deployment details, PEM management, and role configuration.
2. Enroll the repo in the mint (GCP Admin):
fullsend mint enroll "$ORG_NAME/$REPO_NAME" --project "$GCP_PROJECT"3. Provision WIF for inference (GCP Admin):
fullsend inference provision "$ORG_NAME/$REPO_NAME" \
--project "$GCP_PROJECT"4. Configure GitHub with a custom app set (GitHub Maintainer):
fullsend github setup "$ORG_NAME/$REPO_NAME" \
--inference-project "$GCP_PROJECT" \
--inference-wif-provider "$WIF_PROVIDER" \
--mint-url "$MINT_URL" \
--app-set "$ORG_NAME"If no GitHub Apps exist for the app set, the setup command opens browser windows to create them via the manifest flow and stores the PEMs in Secret Manager. Creating apps requires admin:org OAuth scope. Reusing existing apps only requires repo and workflow scopes.
See standalone commands for the full command reference.
Runners that use a remote OpenShell gateway
By default, the composite action turns each runner into a sandbox host. It installs and configures rootless Podman, writes a local OpenShell gateway configuration, and installs the OpenShell CLI. That suits GitHub-hosted runners, which start empty.
A self-hosted runner can instead use an OpenShell gateway that runs elsewhere. Configure the endpoint in one of these ways:
- Set the
OPENSHELL_GATEWAY_ENDPOINTrepository (or organization) variable to the gateway'shttps://endpoint, on the repository where the workflow run is triggered (the one whose Actions tab shows the run); the dispatch workflow passes it to the agent action. In a reusable workflow,varsis read from that calling repository, not from the repository holding the issue or pull request. For the standard per-repo install the calling repository is the work-item repository itself; for a custom poller or other external repository calling the reusable workflow, it is that calling repository. An organization variable visible to the calling repository also works. When the run starts from a different repository than the work item, a variable set only on the work-item repository is not read. - As a fallback, for fleet-managed runner images, set
OPENSHELL_GATEWAY_ENDPOINTin the runner's own process environment; it applies whenever the variable from step 1 is unset, and always when the runner's endpoint is locked (below). The same rule holds on this channel: the value must be a singlehttps://URL with no whitespace. Earlier releases accepted any non-empty value here, so plaintext, scheme-less or uppercase-scheme runner values must be migrated to lowercasehttps://URLs.
When an endpoint is configured, the action skips the Podman installation, the rootless Podman configuration, and the local gateway configuration, and sandboxes are created on the remote gateway.
Registration. The gateway must already be registered on the runner: openshell gateway add stores the gateway's mTLS or authentication material, and the action never registers a gateway itself. Set the variable to the endpoint exactly as it was registered, as an https:// URL — plaintext http:// gateways are rejected. The runner operator who registered the gateway can confirm the exact registered value.
Endpoint matching. When OPENSHELL_GATEWAY is not set on the runner, OpenShell matches the configured endpoint against the registered gateways. A value that does not match (for example https://gw:443 where https://gw is registered) is used as a gateway name instead, and the sandbox fails with failed to read TLS CA under a gateways/https___gw_443/mtls path — an error that does not point at the mismatch. When a fleet image sets OPENSHELL_GATEWAY, no endpoint matching happens: the named gateway's registered material is used with whatever endpoint the variable holds.
Precedence and validation. A non-empty repository or organization variable deliberately takes precedence over a value configured in the runner's process environment: repository administrators choose the gateway for their runs. The exception is a locked runner (below). Whatever the source, the value must be a single https:// URL with no whitespace.
Shared runner pools. When a fleet image sets OPENSHELL_GATEWAY on a runner pool shared across repositories, each repository's variable decides which endpoint receives that gateway's registered credentials for its runs. On a bearer-auth gateway (OIDC or Cloudflare edge, without pinned-CA mTLS), that means anyone who can write Actions variables in one repository can send the gateway's reusable bearer token to any host with a public certificate. Runner operators who need to prevent this can set FULLSEND_OPENSHELL_GATEWAY_ENDPOINT_LOCKED=1 in the runner's process environment, together with the runner's own OPENSHELL_GATEWAY_ENDPOINT: the runner value then wins, a repository variable naming a different endpoint fails the job, and a repository variable set on a runner with no endpoint of its own fails too — the lock is fail-closed, and it requires the runner endpoint to pin to. The lock defends against variable-only writers; anyone who can write workflows that run on the pool can still set step env: overrides, so limiting which repositories can use the runner group remains the control against workflow writers.
CLI preinstall (remote gateway only). On a remote-gateway runner, if the openshell CLI is already on the runner's PATH, the action also skips the OpenShell CLI installer, which needs sudo and starts a local gateway service. Install the CLI version pinned in .github/scripts/openshell-version.sh in the runner image.
The action also needs the Python jsonschema package to validate agent output. It skips the install when python3 can already import the package. On a container image whose Python is an externally managed environment, the action retries the install with --break-system-packages.
Custom app sets
By default, the installer creates GitHub Apps with the fullsend-ai prefix (e.g., fullsend-ai-fullsend, fullsend-ai-coder, fullsend-ai-review). Organizations that need their own set of apps — for example, to use org-specific permissions or to register multiple app sets on the same mint — can pass --app-set to override the prefix.
Creating a custom app set
fullsend github setup "$ORG_NAME/$REPO_NAME" \
--mint-url "$MINT_URL" \
--inference-project "$GCP_PROJECT" \
--inference-wif-provider "$WIF_PROVIDER" \
--app-set "$ORG_NAME"This creates apps named {org}-fullsend, {org}-coder, {org}-review, etc. The app set prefix is stored in the .fullsend/config.yaml slug mappings, so subsequent operations (permission checks, PEM recovery) find the correct apps automatically.
Using existing public apps from another app set
When a mint already has public apps registered under a custom app set (e.g., fullsend-ai-fullsend, fullsend-ai-coder), additional orgs installing those apps must pass the same --app-set so the CLI resolves the correct slugs:
fullsend github setup "$NEW_ORG/$REPO_NAME" \
--mint-url "$MINT_URL" \
--inference-project "$GCP_PROJECT" \
--inference-wif-provider "$WIF_PROVIDER" \
--app-set fullsend-aiThe setup command detects that the public apps are already installed in the org (matched by app ID from the mint's ROLE_APP_IDS) and skips app creation — role PEM secrets are shared and already exist.
Migration note: Prior to this change, the default app set was
fullsend, producing slugs likefullsend-coder. The default is nowfullsend-ai, producingfullsend-ai-coder. Existing installations that used the old default should pass--app-set fullsendexplicitly to continue matching their existing GitHub App slugs, or re-install with the new default.
Constraints
- App set names must be lowercase alphanumeric with optional hyphens (no leading/trailing hyphens, no consecutive hyphens), max 23 characters (GitHub App names are limited to 34 characters, and the role suffix is appended)
- The app set prefix only affects GitHub App slugs — GCP secret naming (
fullsend-{role}-app-pem) and mintROLE_APP_IDSkeys ({role}) are independent of the app set
Custom inference WIF configuration
For most cases, fullsend inference provision auto-provisions the inference WIF pool and prints the provider resource name to pass to github setup --inference-wif-provider. Use manual configuration only when you need custom pool names, attribute conditions, or want to share an inference WIF provider across multiple tools:
GitLab: The recipe below is GitHub-specific — it uses GitHub's OIDC issuer and
assertion.repository/assertion.repository_ownerclaims, which GitLabid_tokens don't have. It cannot be copied as-is for GitLab. See Configuring GitLab § Inference Setup for the GitLab-specific provider, claims, issuer, and audience configuration.
Create a Workload Identity Pool and OIDC Provider:
export GCP_PROJECT="<gcp-project>"
export ORG_NAME="<org-name>"
export REPO_NAME="<repo-name>"
gcloud iam workload-identity-pools create fullsend-inference \
--location=global \
--display-name="Fullsend Inference" \
--project="$GCP_PROJECT"
gcloud iam workload-identity-pools providers create-oidc github-oidc \
--location=global \
--workload-identity-pool=fullsend-inference \
--issuer-uri="https://token.actions.githubusercontent.com" \
--attribute-mapping="google.subject=assertion.sub,attribute.repository_owner=assertion.repository_owner,attribute.repository=assertion.repository" \
--attribute-condition="assertion.repository_owner == '$ORG_NAME'" \
--project="$GCP_PROJECT"Grant Agent Platform access to the WIF principal:
export PROJECT_NUMBER=$(gcloud projects describe "$GCP_PROJECT" --format='value(projectNumber)')
export WIF_PRINCIPAL="principalSet://iam.googleapis.com/projects/$PROJECT_NUMBER/locations/global/workloadIdentityPools/fullsend-inference/attribute.repository_owner/$ORG_NAME"
gcloud projects add-iam-policy-binding "$GCP_PROJECT" \
--role="roles/aiplatform.user" \
--member="$WIF_PRINCIPAL" \
--condition=NoneWarning — broad WIF scope: The
attribute.repository_ownercondition above grants WIF access to all repositories in the organization. This lets one provider serve many repos, but it significantly widens the trust boundary. Note thatfullsend inference provision <owner/repo>auto-provisions a per-repo WIF provider scoped to a single repository — the org-wide condition here is broader than what the automated path creates.To limit access to a single repository, use the tighter
assertion.repository == '$ORG_NAME/$REPO_NAME'condition instead, and scope the WIF principal toattribute.repository/$ORG_NAME/$REPO_NAME. See Google Cloud WIF documentation for condition syntax.
Pass the provider to the installer:
export WIF_PROVIDER="projects/$PROJECT_NUMBER/locations/global/workloadIdentityPools/fullsend-inference/providers/github-oidc"
fullsend github setup "$ORG_NAME/$REPO_NAME" \
--inference-project "$GCP_PROJECT" \
--inference-wif-provider "$WIF_PROVIDER" \
--mint-url "$MINT_URL"Note: IAM policy bindings may take several minutes to propagate. If agent workflows fail with a permission error immediately after setup, wait a few minutes and retry.
Deprecated: all-in-one admin install
Deprecated. The
fullsend admin installall-in-one command that provisions GCP mint, inference, and GitHub in a single invocation is deprecated. Use the standalone commands instead:fullsend inference provision+fullsend github setup <owner/repo>. Per-org installation has been removed, sofullsend admin installandfullsend github setupaccept onlyowner/repotargets. See Getting Started for the recommended per-repo flow. For GitLab projects, follow Installing Fullsend in the GitLab guide (setgitlab.url,gitlab.inference.authand the project inrepos.yaml, then runfullsend repos install). To create GitHub Apps, usefullsend mint add-role <role> --project <gcp-project> --org <org>per role, or the deprecatedadmin installto create every role's app in one run (see Mint administration).
See Also
- Getting Started — Standard per-repo installation
- Operations — Enrollment, status, uninstall, standalone commands
- Mint service administration — Deploying and managing the token mint
- Infrastructure Reference — Token mint, WIF, and secrets deployment details
- Enabling fullsend on private repositories — Additional guardrails for private repos
- CLI Internals — Command structure and implementation details
