Browse docs
Autopilot: the error-fix agent
How Autopilot investigates errors and opens reviewed pull requests: runs, steps, reports, credits, confirmations and what to do when a run stops.
Autopilot is the Axoryn coding agent. It investigates errors from your app, writes a report, and opens reviewed pull requests in your linked GitHub repositories. You merge them on GitHub. This page is for owners and teammates who follow runs on the Autopilot page and decide what happens next.
Who can use Autopilot
Autopilot is part of the Autopilot plan, and your subscription must be active. On other plans the Autopilot item in the project sidebar shows Autopilot plan, and the page shows Autopilot comes with the Autopilot plan with Compare plans and Go to billing buttons.
If your subscription is paused, the page shows Autopilot is paused with a Resume in billing button. Autopilot starts working again when you resume.
Autopilot works per project. Open a project and select Autopilot in the sidebar.
Set up Autopilot
When a project has no runs yet, the page shows a Get Autopilot ready checklist with three steps:
| Step | What it means |
|---|---|
| ”Link repositories” | Install the Axoryn GitHub App and link the repositories this product spans. Investigations read every linked repository. |
| ”Connect an error tracker" | "Sentry and other trackers send the errors that start runs." |
| "Turn on automatic error fixes" | "Let new errors start an investigation without asking. You can pause any time.” |
For details on the first and last steps, see Connect repositories.
Note: At launch, the coding agent works from tracked errors. You can’t describe a fix in your own words yet.
How runs start
- An error arrives. Your connected error tracker reports it.
- Investigation (1 credit). The agent finds the root cause and writes a report.
- Reviewed pull request (5 credits). A fix with tests, checked by CI and an automated review.
- You merge on GitHub. Autopilot never merges. After you merge, it watches for the deployment and checks whether the error stopped.
With automatic error fixes on, a new eligible error from Sentry or Rollbar starts an investigation on its own, and a fix pull request can follow automatically. When an investigation finishes with a report but no pull request, you can open one yourself from the Autopilot page.
Read the Autopilot page
The top of the page has two parts:
- Credit meter. Shows how many credits are available, how many of this month’s plan credits are left, credits from packs and earlier months, and the date your monthly credits reset. Buy credits opens the credits section of Billing.
- Automation and repositories strip. Shows whether automatic error fixes are on, paused, off or need approval, and how many repositories are linked. Owners and admins can select Pause or Resume here. Fix or Manage opens the Repositories panel.
Runs appear in three sections:
| Section | What it holds |
|---|---|
| ”Needs you" | "Nothing here moves until you act.” Runs waiting for your confirmation, runs that need a human, and delivered pull requests waiting for you to merge. |
| ”In progress" | "Updates on its own. Cancel to get unused credits back.” Runs that are queued, investigating, implementing, in review or waiting on CI. |
| ”History” | Finished runs. Filter by All, Fixed, Failed or Canceled, or use Search history to search by error title, issue key, repository or the visitor’s name. |
Fixed lists completed runs whose pull request was merged.
Follow a run
Each run card shows where the error came from (for example the tracker, issue key, event count, repository, or the visitor’s conversation), the error title, and a six-step track:
Investigate → Pull request → CI → Merge → Deploy → Recovery
Under the track, a status badge and a one-line hint say where the run is. The most common stages:
| Stage | Hint |
|---|---|
| ”Awaiting confirmation" | "Confirm the credit spend to start." |
| "Queued" | "Waiting for a worker." |
| "Investigating" | "Finding the root cause." |
| "Implementing" | "Writing the fix on a work branch." |
| "Review pending" | "The draft pull request is being reviewed. It is not delivered yet." |
| "Reviewed PR delivered" | "The pull request is yours to merge. Production recovery is not verified yet." |
| "CI pending" | "The pull request is delivered and its CI is still running." |
| "Needs a human" | "Automation stopped here and needs your decision." |
| "Merged" | "Merged. No deployment has been observed yet." |
| "Deployment observed" | "A deployment was observed. Recovery is not verified yet." |
| "Recovery verified" | "The error stopped after the fix was deployed." |
| "Failed" | "The run did not finish. Any credits charged were refunded." |
| "Canceled" | "Stopped. Any credits charged were refunded.” |
Select Details on a card to see the evidence for each step: Pull request, CI, Merge, Deployment and Recovery, each with its state and when it was observed. Details also show the credits the run used or had refunded, the repository, and when it started. If some evidence could not be read from your integrations, those steps show as unknown, with a link to check the error tracker connection.
Read a report
When a run has a report, select View report. The report opens in a side panel. Switch between Rendered and Markdown, or select Copy to copy it as Markdown.
Open a fix pull request from an investigation
A completed investigation with a report offers Open a fix PR · 5 credits on its card and in its report.
- Select Open a fix PR.
- In Open a fix pull request, pick the Repository. Autopilot suggests the repository the error points at.
- Check the credit summary: This run, Balance now and After.
- Select Open the PR.
Autopilot implements the fix on a new branch, runs your tests and opens a pull request for your review. If you have no linked repository, the dialog shows Link a repository first. If a pull request for this investigation already exists, nothing is charged and the dialog asks you to refresh the list.
Confirm a credit spend
When Ask before each run is on in Billing (the default), runs your team starts, such as a retried investigation, wait in Needs you with the stage Awaiting confirmation until you confirm them. Runs started by automatic error fixes don’t wait: your consent in the automatic error fix settings covers them. In Open a fix pull request, selecting Open the PR is the confirmation.
- In Needs you, select Confirm · N credits on the run.
- Review the dialog: This run, Balance now and After.
- Select Confirm and start, or Not now to leave it waiting.
A run that is never confirmed is canceled automatically after 7 days, and nothing is charged.
If the confirmation is refused, the dialog says why and how to fix it:
| Message | What to do |
|---|---|
| ”Not enough credits for this run” | Buy a credit pack, then confirm again. |
| ”This run would pass your monthly spend limit” | Select Change the limit and raise the cap in Billing. |
| ”The GitHub App can’t reach this repository” | Unsuspend or reinstall the GitHub App on GitHub. |
| ”Autopilot isn’t on your plan” | Change your plan in Billing. |
| ”This run is no longer waiting for confirmation” | It was confirmed or closed elsewhere. Refresh the list. |
Credits
| Run | Credits |
|---|---|
| Investigation | 1 |
| Pull request | 5 |
| Automated reviews and fixes for review findings in the same chain | 0 |
The Autopilot plan includes 25 agent credits a month. You can buy more as credit packs in Billing.
- Credits are charged when a run starts.
- If a run fails or you cancel it, the credits it used are refunded automatically.
- If a run went over your balance, the meter shows credits owed. Buy credits to cover them.
- The Monthly spend cap in Billing stops agent runs once they spend that many credits in a calendar month.
See Billing and usage for credit packs and spend controls.
Cancel a run
Select Cancel run on a run that is waiting or in progress, then Confirm cancel. Canceling a run also stops the runs it started. A run that hasn’t started yet closes without any charge. A running run shows Cancel requested until the agent is confirmed stopped, and its credits are refunded.
When a run stops
When a run ends as Failed or Needs a human, the card explains why and offers the next step. Common reasons and actions:
| Reason | Action on the card |
|---|---|
| ”The repository’s default branch is not protected." | "Fix repository protection" |
| "An integration this run needs is disconnected or suspended." | "Reconnect integration" |
| "Automatic fixes are paused for this project.” and other automation setting reasons | ”Review automation settings" |
| "Not enough credits to continue.” or “Your subscription is not active." | "Manage billing" |
| "The fix changes CI or security configuration and needs your review.” | The draft pull request waits for you on GitHub. Select Review #N on GitHub. |
| ”CI kept failing after the automatic fix attempts.” | Review the pull request on GitHub. |
| ”The review found critical problems after the automatic fix attempts.” | Review the pull request on GitHub. |
Some failed investigations offer Retry investigation · 1 credit. The first attempt stays refunded. A failed run with no other action links to the error in your tracker and to the automation settings, so you can fix the error by hand.
Note: If the GitHub App is suspended on an account, Autopilot shows The GitHub App is suspended, so the coding agent is paused. An owner of that GitHub account can unsuspend the Axoryn app in GitHub settings, and runs resume right after.