Quickstart
From signup to the first diagnosis on your own code takes less than 10 minutes, and you never write YAML. The setup is one page of sections read top to bottom: each folds to one line once it is done.
Before you start
- A GitHub repository on which you can install apps.
- For your runner: an Anthropic, OpenAI or OpenRouter API key, a Bedrock or Vertex account, or a ChatGPT plan for Codex. For MCP mode: the agent you already use. For Managed: nothing.
- Linux only for now: in Managed and in your runner, the repository’s installs and tests run on Linux. In those two modes, a repository whose tests need macOS or Windows gets diagnoses and replies, without fixes; see supported platforms.
1. Create the account
Sign up with email or GitHub. Choose software company for your own product, or agency if you support apps of clients.
2. Connect the repository
Connect GitHub and pick a repository of your product; you can connect the others later, see several repositories. Right below, Your first diagnosis lets you pick a real problem on it, an open issue, a problem you describe or a defect the agent looks for, and run it when you want: nothing starts on its own. The setup pull request named Add Loopback does not open yet: it opens with your answers to the next step, holding .loopback.yml and, when jobs run in your GitHub Actions, the workflow that starts them, so GitHub sees one pull request with its final files. There is nothing else to write.
# .github/workflows/loopback.ymlname: Loopbackrun-name: Loopback ${{ github.event.client_payload.job_id }}on: repository_dispatch: types: [loopback-job]permissions: contents: write pull-requests: write id-token: write # OIDC sign-in to Loopbackconcurrency: group: loopback-${{ github.event.client_payload.job_id }}jobs: run: runs-on: ubuntu-latest timeout-minutes: 75 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 if: ${{ github.event.repository.private }} with: path: .vexp key: loopback-index-${{ github.run_id }}-${{ github.run_attempt }} restore-keys: loopback-index- - name: Install bubblewrap run: sudo apt-get update -q && sudo apt-get install -y bubblewrap - uses: Loopback-so/action@v1 with: agent-key: ${{ secrets.LOOPBACK_AGENT_KEY }} - uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 if: ${{ !cancelled() && github.event.repository.private }} with: path: .vexp key: loopback-index-${{ github.run_id }}-${{ github.run_attempt }}# .loopback.yml — everything is optional, defaults are auto-detectedagent: mode: runner name: claude-code auth: api-keyautonomy: approvetest: npm testrelease: tag: semver merge: squash changelog: trueshare: snippetsEvery key of .loopback.yml is optional: see the configuration reference.
3. Choose how it runs, and what it does on its own
The setup asks one question: which agent you use and how you pay for it. The answer picks the execution mode and the credentials, and blocks the combinations the providers forbid. Under it comes what it does on its own, each answer preselected: whether a verified fix opens its pull request and waits for your approval, whether it is merged after the approval, and how releases get their version. The button opens the setup pull request with these answers, which is why they come before the merge. See execution modes.
4. Merge the pull request and start a plan
Merge the setup pull request from Loopback with one click, or on GitHub. Loopback merges only when you click, only while the pull request holds nothing but its own files, and the checks and rules of GitHub always apply. It works on the repository once the pull request is merged.
Then start the plan that fits your answer: one button begins its trial, and public repositories can use the free Open Source plan. The plan can wait, but Loopback reads your inbox and works on tickets only once a plan is active.
5. Where requests come from, and who approves
- The email: every workspace gets an address on the inbound domain right away. Forward your support address to it from the same page, and verify your domain to send replies from it. Mail is read once a plan is active.
- The report widget: one line in your app and the domains it runs on, see the widget.
- Who approves: invite your teammates from the same page. Owners and admins see everything, reviewers approve, client viewers only read.
- Logs, optional: Sentry, Datadog, CloudWatch or an endpoint, see connectors.
About the demo ticket
The first diagnosis runs on your code at the expense of Loopback, once per organization, and only when you start it. You pick what it diagnoses: an open issue of the repository, a problem in your own words, or a defect the agent looks for by reading the code and running the tests; if it finds none, it says so and you pick another case. It shows the incoming message, the status page, the diagnosis with files and lines, the reply draft and a draft pull request marked as a demo. It runs in our Managed sandbox; when your workspace runs elsewhere, the start asks your consent to clone the repository, or you run it through your own runner instead. Its clone is deleted at the end of the job.
Next steps
- Set the autonomy level: Copilot, Approve or Autopilot by category. Tags and releases always wait for a person.
- Read how it works: the states of a ticket and the rules no setting changes.