Repositories
Choose the repositories agents clone on each automation run, the primary branch, and what agents can change.
Repositories are the code your agents clone on each automation run. You set them once for the workspace, under Agent, and every automation uses them.
Primary repository
Section titled “Primary repository”Every workspace has one primary repository and branch. Tasks start from that branch, and pull requests target it. You choose the primary repository when you connect your repositories during workspace setup.
When you change the primary repository or its branch, you can also save without updating tasks. Tasks that are already in progress then stay on their repository and branch.
Add more repositories
Section titled “Add more repositories”Add other repositories when agents need them for context or for changes that span several repositories. Choose what agents can do in each:
- Read: the agent can read the repository but can’t push changes.
- Read & Write: the agent can change the repository and open a pull request.
Agents clone the other repositories next to the primary repository. You can add the repositories you have write access to on your connected Git host.
- Repositories apply to every automation in the workspace. To start an automation run without cloning them, set
agent.skip_repository_checkout: truein the automation. See Steps. - A workspace export lists the repositories, but you can’t change them in the manifest. Change them under Agent and export again.
- Agents read the instructions in the repositories they clone, such as
AGENTS.md,CLAUDE.md, contribution guides, andSKILL.mdfiles.