GitHub
Every agent can have its own GitHub account and its own name on its commits, and you do not paste a token. One agent can push as your work account while another agent pushes as a bot account. Neither agent ever sees the credentials of the other.
Connecting an agent
- Open the agent's Settings, then Access, and press Connect GitHub.
- Catervas shows a short one-time code. Press Open GitHub.
- Enter the code on github.com and approve. The agent is connected, and Catervas records the account's name and email as the agent's commit identity.
This sign-in is GitHub's device sign-in, the same way that the gh command line signs in. GitHub hands the credential to Catervas directly, and Catervas stores it encrypted. You never see or handle the credential. The agent never holds it either, because Catervas gives it to git at the moment that git needs it.
Pushing and opening pull requests
A connected agent can push with git and open pull requests with gh, GitHub's command-line tool, both as its own account. You do not need to run gh auth login inside the agent. Each time the agent runs gh, Catervas hands it the agent's sign-in for that one command. As a result, the sign-in is never saved in the agent's folder. When you disconnect the agent from GitHub, the agent loses the sign-in at once.
For this, the agent needs gh on the computer where it runs. For an agent on your computer, you must install gh on your computer. Catervas's containers do not include gh yet. As a result, an agent in a container can push but cannot open pull requests with gh.
If your app with GitHub is a GitHub App rather than an OAuth App, it also needs Pull requests: Read and write under its permissions on GitHub. Otherwise GitHub refuses to open the pull request.
The approval goes to the account that your browser uses
Warning: If you connect two agents to two different GitHub accounts, switch accounts in your browser between the two sign-ins. If you do not, both agents get the same account. The dashboard shows which account each agent got, so you can easily see a mistake.
After you connect one agent, Catervas offers the same account to other agents with one click. The offer is a Use button with the account's name, next to Connect a different account. Ten agents on one GitHub account cost one approval, not ten.
Pull request template
Each agent has a template for the pull requests that it opens, so every description that it writes has the same parts. A new agent starts with Catervas's template, which asks for:
- a sentence or two on what the change does and why,
- What changed, one line per change,
- How it was verified, which says what was tried and what was not,
- Screenshots, when something that you can see looks different.
To change the template, open the agent's Settings, then General, and find Pull request template. Under Start from, pick one of the ready-made templates:
| Template | Choose it for |
|---|---|
| Catervas's standard | Most changes: a summary, what changed, how it was verified, and screenshots. |
| Bug fix | Fixes: what went wrong, why, how the fix was proven, and what else it can affect. |
| New feature | Something people can now do, with steps to try it, screenshots, and the updated documentation. |
| Small change | Typos and one-line fixes: two short lines. |
| Dependency update | An update of a package or tool: the versions, and what the update changes for the project. |
| Tidy-up | Code reorganised with no change in behaviour, and how that was checked. |
| No template | The agent writes each pull request in its own way. |
When you pick a template, its text goes in the box below. You can change the text there before you save it, or you can write your own template from the start. Check it under Preview and press Save.
Nothing changes until you save. Picking a template can replace text of your own that you did not save yet. If that happens, Undo restores your text. The agent uses the new template from its next start. If the agent runs at that time, Catervas offers to restart it.
When a repository has a pull request template of its own, the agent follows that template. At the end, the agent adds anything that your template asks for and the repository's template lacks.
The template is part of the agent, so a duplicate and a saved file of the agent keep it.
The agent ends every pull request description with a small "Generated by Catervas" line, with the Catervas logo beside it. The agent does this with any template, and with no template at all. As a result, anyone who reads the pull request on GitHub can see that it was made in Catervas. The logo changes to its light version when the reader uses GitHub's dark theme. For a Claude Code agent, this line also replaces Claude Code's own "Generated with Claude Code" line. The agent's commits keep Claude Code's usual line that names the model.
Which app signs you in
Catervas on your own computer carries no app of its own with GitHub. It uses Catervas's app on catervas.com, which gives the app's public ID. The code that you type goes straight to GitHub. If you prefer an app of your own, prepare one under Settings, Accounts, Your own apps. See Signing in to Microsoft, Google, Slack and GitHub.
GitHub ends a sign-in through Catervas's app eight hours after it was made. Catervas renews the sign-in by itself the next time an agent needs GitHub, such as for a push or a gh command. Catervas does this once the end is less than ten minutes away or is already past.
You sign in once and stay signed in. To renew, Catervas needs the app's secret, which only catervas.com holds. So Catervas sends GitHub's renewal key to catervas.com. Then catervas.com passes GitHub's answer directly back to Catervas and keeps nothing.
Catervas asks you to sign in again only when GitHub no longer renews the sign-in. That happens, for example, after you remove Catervas's app on github.com or after six months without any use.
A workspace's GitHub account
A workspace can have one GitHub account that all its agents act as. The account's name sits at the right end of the row of tabs on the workspace's page, with GitHub's logo. It is beside Overview, Board and the other tabs. While the workspace has no account, the same place says Connect GitHub. Press it to open the workspace's GitHub panel. In the panel, you connect an account, change it, and choose the repositories that its agents work on.
An agent can have an account of its own, set in its own Settings. Such an agent acts as that account instead. The workspace's choice of repositories does not apply to that agent.
Choosing the repositories the agents work on
Until you choose, the agents of a workspace can work on every repository that its GitHub account can reach. To keep them to a few:
- Press the GitHub button at the top of the workspace's page.
- Press Choose repositories, and tick the repositories for the agents. The search box finds a repository by name. To try one that is not in the list, type it as owner/name, such as
acme/website. - Press Connect.
Catervas asks GitHub about each repository before it connects it. Catervas marks a repository Connected when the account can see it and push to it. Any other repository is not connected, and the panel says why. For example:
- GitHub does not show the repository to the account. The reason is one of these:
- the repository does not exist
- the account has no access to it
- Catervas's app on GitHub did not get it.
- The account can read it but not change it.
- It is archived on GitHub, so nothing can be pushed to it.
The other repositories that you ticked are connected all the same. Each time you open the panel, Catervas checks the connected repositories with GitHub again. Someone can remove the access to a repository on GitHub. Such a repository then shows as Not connected, with the reason. It stays so until you fix it on GitHub or disconnect it with its ✕.
After you choose, Catervas gives the GitHub sign-in to the agents' git and gh only for the connected repositories. Catervas also offers only those repositories when you copy a repository into an agent. At their next start, Catervas tells the agents which repositories they can use. An agent that needs another repository asks you to connect it. Let the agents use every repository removes the choice again.
The firm limit is on GitHub
Catervas checks the repository each time git asks for the sign-in. This check keeps the agents to the connected repositories in their normal work. GitHub itself limits only what the account, or the app that it signed in through, got there.
If you signed in through Catervas's app, the app reaches only the repositories that you gave it on GitHub when you installed it. The panel then links to the page on GitHub where you give it more. For a firm limit, give the app only the repositories that you want the agents to touch. You can also give the workspace a GitHub account that has access only to them, such as a bot account.
SSH keys
Each agent also has its own SSH settings and keys. As a result, git clone git@github.com:… inside an agent uses that agent's keys, never yours.