Account and computer
Connecting GitHub
Connecting your GitHub accounts, installing the GitHub App where your agents should work, and choosing the account each agent uses.
Connect a GitHub account, and your agents can work on GitHub through it: read and change repositories, issues and
pull requests (proposed changes put up for review), and run commands such as git and gh on their computers. They
act as you, through the account you connected, and only in the repositories where you install the GitHub App.
GitHub accounts
Account, then GitHub accounts, lists the GitHub accounts you have connected.

For each account it shows:
- its GitHub login, such as “@riley”, marked Default when you have more than one. The default is the account you connected first;
- “Connected”, with the name on its GitHub profile;
- Installed on: the accounts and organizations where the GitHub App is installed for it, or “Not installed on any account or organization yet.” Where you gave the App all repositories, the line says “All repositories”. Where you chose only some, it says how many, such as “2 repositories”, with Change on GitHub, which opens, in a new tab, the page on GitHub where you pick them;
- Disconnect.
You can connect any number of GitHub accounts, such as a work one and a personal one, whichever way you sign in. A GitHub account can be connected to only one account in the app.
Connecting an account
Click Connect a GitHub account, or Connect another account when you have one already. GitHub asks which of your GitHub accounts to use, and to approve the connection; then you come back to this screen.
Installing the App
Your agents reach only the repositories where the GitHub App is installed. If an account you connect reaches no installation, the app asks you to Install on GitHub, where you choose an account or organization and its repositories, and brings you back when you are done. Not now skips it.
To install it somewhere else later, such as on an organization, click Add an organization on GitHub accounts. A change you make on GitHub, such as installing the App on more repositories, shows here the next time you open the screen.
When the App can see only some repositories
For each account or organization, you choose when you install the App whether it can use all of its repositories or only the ones you pick. It reads public repositories either way. A private repository the App cannot use looks to your agents as if it did not exist: GitHub answers “not found”, just as it does for a repository that does not exist or one you cannot open yourself. GitHub accounts shows how many you chose on each, as above. Your agents know where you chose only some repositories, so when a request there comes back empty or refused they tell you which repositories the App can see and where to change that. Where the App can use all of an account’s or organization’s repositories, they do not blame it for a “not found”.
The same thing shows in a conversation. When an agent worked on GitHub with an owner where you chose only some repositories, a line under the agent’s summary says which the app can see, such as “The app can see the 2 repositories you chose on harbor-labs, and any public ones.”, with Change on GitHub. It opens, in a new tab, the page on GitHub where you pick the repositories for that account or organization. For an organization, or an account that is not your own, an owner of it may need to make the change. Once the App can use all of the repositories, the line is gone. See What happens in a conversation.
Disconnecting
Click Disconnect, then Disconnect again to confirm. Agents that act through that account lose GitHub until you connect it again or choose another account for them.
If you revoke the App’s access on GitHub, the account shows as disconnected, with Sign in with GitHub again to connect it again.
Which account an agent uses
Each agent acts through your default account, unless you choose another for it. To choose, open the agent’s Agent info and pick an account under GitHub account. The line under it says which account the agent acts as on GitHub, such as @riley. The choice is saved as soon as you pick it.
If the account an agent uses is disconnected, the agent keeps it chosen and cannot use GitHub until you connect that account again or choose another; the line under the picker says so. The agent does not move to another account by itself.
What agents do on GitHub
An agent turns GitHub on in a session when its work needs it. It can work with repositories, issues, pull requests
and GitHub Actions, reading and writing, as the account it acts through, and on its computer git and gh work as
that account with nothing for you to set up. Its commits carry that account’s name. If you connect GitHub during an
agent’s session, the agent can use it from its next session.