# Switching a repository to Sengi

Source: https://sengi.run/guide

Updated November 5, 2026. Switch a repository to Sengi by changing `runs-on` in your workflows, yourself or with the [Sengi prompt](https://sengi.run/agent) in your coding agent. Everything else in your workflows stays exactly as it is.

[Connect GitHub](https://sengi.run/github/setup) · [Agent prompt](https://sengi.run/agent) · [Help](https://sengi.run/help) · [Service terms](https://sengi.run/terms)

- Install the App and connect the repository
- Edit runs-on yourself and push
- Or let your coding agent do it
- What the runner looks like from inside a job
- Watch the result, usage and history
- Pricing and the free allowance
- Stop running jobs on Sengi
- Supported labels and platforms

## Install the App and connect the repository

Sign in to Sengi and [choose your project](https://sengi.run/github/setup). You need permission to manage GitHub connections in that project. Signing in with GitHub does not install the Sengi App.

Choose **Set up GitHub connection** to install the Sengi GitHub App on the personal account or organization that owns the repository. Choose **Only select repositories** to limit its access. The account or organization owner may have to approve the App. Connecting the installation to your project is what lets Sengi run that repository's jobs, at any of the runner sizes below; the connections page lists the repositories and the labels you can use.

## Edit runs-on yourself and push

The edit is one line per job. A job's `runs-on: ubuntu-latest`, `runs-on: ubuntu-24.04` or your current provider's label becomes a Sengi label. Basic for value, Premium for speed. Basic is built to match GitHub's own runners, at the lowest price. Premium runs on bare metal high-performance CPUs with local NVMe, for speed; its measured times against GitHub's runner are on the benchmarks page. Pick per job:

```
jobs:
  build:
    runs-on: sengi-basic-4-ubuntu-2404    # or sengi-premium-4-ubuntu-2404
    steps:
      - uses: actions/checkout@v5
      - run: npm ci
      - run: npm test
```

Nothing else in the job changes: `steps`, `services`, `env`, `permissions`, `timeout-minutes` and your triggers are untouched. Push and merge it through your own review; existing branch rules and approvals still apply.

| Runner label | What the job gets | Disk | Free at job start |
| --- | --- | --- | --- |
| `sengi-basic-2-ubuntu-2404` | 2 vCPU, 8 GB memory | 75 GiB | 12 GB |
| `sengi-basic-4-ubuntu-2404` | 4 vCPU, 16 GB memory | 150 GiB | 85 GB |
| `sengi-basic-8-ubuntu-2404` | 8 vCPU, 32 GB memory | 200 GiB | 133 GB |

For Sengi Premium, on bare metal high-performance CPUs with local NVMe, write `premium` in place of `basic`: `sengi-premium-2-ubuntu-2404`, `sengi-premium-4-ubuntu-2404` or `sengi-premium-8-ubuntu-2404`. Premium has the same sizes, memory and disk. Pick the class job by job, in the same repository.

The disk column is the volume the runner is given; the last column is what the runner reported free on `/` and on `$RUNNER_TEMP` when a job started, read on September 13, 2026. The image and its tool cache take the difference, so plan a 2 vCPU job around roughly 12 GB for your checkout, caches and build output. The 4 vCPU size was read on September 14, 2026. A runner also sees a little less memory than it is given: 7 GB on the 2 vCPU size and 31 GB on the 8 vCPU size.

Memory is a hard limit, not a soft one. A job that exhausts its runner's memory is ended by the host before the guest's own out-of-memory killer gets to act (measured on all three sizes on September 14, 2026), so GitHub shows that job as failed or cancelled rather than as an out-of-memory step; run it again on the next size up.

Use exactly one of these labels as the value of `runs-on`. `runs-on` can also take the label from an expression, such as `${{ vars.CI_RUNNER }}` or a matrix value: GitHub resolves it before the job reaches Sengi, so setting one repository or organization variable moves every workflow that reads it. Every size, Basic or Premium, is Ubuntu 24.04 x64 from the same image. If your repository lints workflows with actionlint, declare the label you use in `.github/actionlint.yaml` first, or that check fails before the job ever reaches Sengi.

## Or let your coding agent do it

Copy the [Sengi prompt](https://sengi.run/agent) into Claude Code, Codex, Cursor or another coding agent with access to the repository, or fetch it with `curl -s https://sengi.run/agent.md`. It finds the jobs Sengi can run, changes only their `runs-on` lines and opens a pull request you review and merge. It does not connect GitHub for you: install and connect the App first.

## What the runner looks like from inside a job

Each job gets its own fresh virtual machine running an ordinary self-hosted Actions runner, and the machine is destroyed afterwards. A job on the 2 vCPU and the 8 vCPU sizes reported these values on September 13, 2026:

| What your job reads | Value |
| --- | --- |
| `runner.os` | `Linux` |
| `runner.arch` | `X64` |
| `RUNNER_ENVIRONMENT` | `self-hosted` |
| `ImageOS` | `ubuntu24` |
| `ImageVersion` | `20260910.1.0` |
| `/etc/os-release` | Ubuntu 24.04.5 LTS |
| `RUNNER_TOOL_CACHE` and `AGENT_TOOLSDIRECTORY` | `/opt/hostedtoolcache` |
| `RUNNER_TEMP` | `/home/runner/work/_temp` |

Because `runner.os` and `runner.arch` read the same as they do on a GitHub-hosted Linux x64 runner, a cache key built from them keeps the same shape on Sengi. Caches are served by Sengi's own cache: `actions/cache`, the setup actions' caches and Docker's `type=gha` layer cache work with no workflow changes, and a job's first run on Sengi fills that cache. See [Docker layer caching on Sengi](https://sengi.run/docs/docker-layer-caching). `RUNNER_ENVIRONMENT` reads `self-hosted`, not `github-hosted`, so a workflow that branches on it takes the self-hosted branch. `astral-sh/setup-uv` defaults to `enable-cache: auto`, which only caches on GitHub-hosted runners, so set `enable-cache: true` on the step and pin `astral-sh/setup-uv@v10.3.2` or later (there is no floating `v10` tag).

- `actions/setup-node` with `node-version: 22` resolved Node `v22.23.2` out of the tool cache on both sizes. `actions/setup-python` resolves from the same cache.
- `actions/cache` cold, warm and fallback restores, `actions/upload-artifact` and `actions/download-artifact`, job `services:` containers over mapped host ports, repository secrets with step and job scoping, and OIDC token issuance under `id-token: write` have each passed on the 8 vCPU size.
- Docker, Docker Compose `v2.38.2` and Buildx `v0.37.0` are installed, and a Compose service lifecycle and a Buildx build were exercised on the 2 vCPU size.

Each case ran on the size named above. Run one of your own jobs to confirm its toolchain. The image version moves when the image is rebuilt, and the Node version it carries moves with it.

## Watch the result, usage and history

Your project's **Job history** page lists every job Sengi has received updates for, hand-edited or not. Each job shows its state, runner size, image, label, start delay and execution time, its lifecycle timestamps from admission through GitHub's finish, and links to the run and job on GitHub. Logs stay in GitHub. A job whose title has gone missing after 90 days without updates still shows its number and result.

Each job starts as soon as a runner is ready. A job waiting for a runner stays in GitHub's queue and starts on its own; waiting is not a failure.

## Pricing and the free allowance

| Runner size | Basic per job-minute | Premium per job-minute | Free credits per Basic job-minute |
| --- | --- | --- | --- |
| 2 vCPU / 8 GB | $0.001 | $0.003 | 1 |
| 4 vCPU / 16 GB | $0.002 | $0.006 | 2 |
| 8 vCPU / 32 GB | $0.004 | $0.012 | 4 |

The funding account shares **3,000 free credits per UTC calendar month** across its projects, with no carryover. They work on Basic or Premium: on Basic they are 3,000 minutes at 2 vCPU, 1,500 at 4 vCPU, 750 at 8 vCPU, or any mix, and a Premium minute uses 3 times the credits of a Basic minute of the same size. There is no subscription or base fee. Each job is rounded up once to whole execution minutes; boot and teardown are unbilled. Signup is cardless. On free minutes, each job can run for up to 2 hours; add a payment method to remove the limit. When the allowance is exhausted, new free jobs are refused until the next month; jobs already admitted may finish within their normal timeout, and Sengi absorbs the overrun. Your account's concurrency limit applies as usual.

A card on file lifts that wait: your jobs keep running past 3,000 credits. Usage beyond the free grant is charged to the card on file monthly; there is no pre-authorisation or hold. Invoices, billing details and payment methods are available on your project's billing page. Read the funding account shown in your preview and the [service terms](https://sengi.run/terms) before enabling.

## Stop running jobs on Sengi

Change `runs-on` back, or revert the pull request that switched it, and your next job runs on GitHub's runners again. To stop Sengi placing new jobs for a repository without editing workflows, choose **Stop new Sengi jobs** for it on your project's GitHub connections page; jobs already running can finish and your job history stays. Jobs whose `runs-on` still names a Sengi label then wait in GitHub's queue with nothing to run them, so change those lines back too. Uninstalling the App removes GitHub access and is a separate action from changing labels.

## Supported labels and platforms

- Use one of the six Basic and Premium labels above. Labels from before Basic, `sengi-standard-2-ubuntu-2404`, `sengi-standard-4-ubuntu-2404` and `sengi-standard-8-ubuntu-2404`, keep working and run as Premium; don't use them in new workflows. Any other label is not a Sengi runner.
- Use one Sengi label per job. A job whose `runs-on` carries two labels Sengi recognises is held as ambiguous rather than resolved.
- The label may be written out or come from an expression (`${{ vars.CI_RUNNER }}`, `${{ matrix.runner }}`); GitHub resolves it before the job reaches Sengi. Automated setup only rewrites labels that are written out, so change an expression's value yourself.
- Every runner is Ubuntu 24.04 on x64, at 2, 4 and 8 vCPU. Keep arm64, macOS, Windows and other Ubuntu releases on their current runners.

## Getting help

For a job that stays queued, a connection that will not verify or anything else unresolved, use [Help](https://sengi.run/help) with the repository and the GitHub run and job links. Never send a token, password or session cookie.
