Set up multi-repo workspace support in Agent of Empires

Enable a single agent to manage multiple repositories with isolated worktrees and cross-repo access

Updated: 5/18/2026
Difficulty
medium
Time
30m
Use Case
Automating coordinated changes across frontend, backend, and service repositories in organizations with separate repo structures
Popularity
0 views

About this automation

Configure Agent of Empires to manage multiple repositories simultaneously using isolated worktrees and sandboxes while maintaining cross-repo agent access. Each repository gets its own isolated environment but the agent can access and coordinate changes across all of them.

How to implement

1

Install or update Agent of Empires to latest version with multi-repo support (PR #974+)

2

Configure workspace settings to include all target repositories

3

Define repository paths and isolation boundaries for worktrees

4

Set up cross-repo access permissions for the agent

5

Test agent session initialization across multiple repos

6

Validate sandbox isolation and inter-repo communication