Connect a repo
The flow originates in the app so we can tie the install to your tenant.Pick repos on GitHub
You’re sent to GitHub’s native install screen for the Agent0 App. Choose the
account/org and select the specific repositories you want fixes to land in.
Tier-1 vs Tier-2
Tier-1 — your repo, edit in place
When a misconfigured resource is already defined in your connected IaC repo, the agent edits the
existing code in place and opens the fix PR into your repo. This is the default and the
preferred path.
Tier-2 — managed fallback
When a resource isn’t yet codified in your repo, the agent import-bootstraps it into a
0Labs-managed remediation repo (adopting the live resource into IaC and correcting it) as a
fallback, so coverage isn’t blocked on full IaC adoption.
Permissions (least privilege)
The App requests only what it needs to open a PR:| Permission | Access | Why |
|---|---|---|
| Contents | Write | Create a branch and commit the fix. |
| Pull requests | Write | Open the fix PR. |
| Metadata | Read | Mandatory baseline (repo metadata). |
Merge ≠ apply. We open the PR; your CI plans; your pipeline applies on merge. 0Labs never
applies infrastructure changes.