Agent of Empires (aoe) is an open-source orchestrator and session management harness built in Rust, created by Nick Brake (@njbrake) and contributors. It coordinates multiple autonomous CLI coding agents across concurrent repositories and git worktrees, providing a unified management interface. In daily operations, Agent of Empires allows developers to launch and control multiple terminal agent sessions simultaneously. It provides both terminal management and a web dashboard (`aoe serve`) featuring a split-pane layout with an interactive PTY terminal on the left and an inline diff viewer on the right. Sessions can be grouped by repository root, even when executing in isolated git worktrees, and accessed remotely over local networks or Tailscale. What distinguishes Agent of Empires is its focus on multi-agent multi-workspace orchestration. Rather than being a standalone LLM agent itself, it serves as a supervisor harness that spawns, isolates, and monitors agent processes in dedicated PTYs, managing git worktrees automatically so agents can work concurrently without colliding on the working directory. Agent of Empires is distributed as open-source software under GitHub repository agent-of-empires/agent-of-empires. It is written in Rust with a web UI built for desktop and mobile access.
Tags: agent harness, ai agent, cli, coding agent, OpenSource
aoe serve) — Exposes sessions via authenticated web server bindings over local network interfaces and Tailscale networks. - PTY Session Management — Spawns agent processes in pseudo-terminals with automatic reconnect and clean tmux environment isolation. - Agent Grid Selector — Offers a unified creation interface to launch distinct agent types across configured project directories. - Mobile-Responsive UI — Includes collapsible sidebars and touch targets for monitoring agent runs on mobile browsers.aoe serve and securely monitor terminal outputs and inspect inline diffs from a mobile device or laptop.Agent of Empires is built for software engineers who run multiple autonomous CLI agents concurrently and need centralized session management, worktree isolation, and diff tracking. It is less suited for developers seeking a single-prompt standalone CLI assistant that requires no multi-agent orchestration or web-based monitoring.
bash git clone https://github.com/agent-of-empires/agent-of-empires.git cd agent-of-empires cargo install --path .bash aoe serve The terminal will display the local and network URLs (including Tailscale addresses if configured) along with the 24-hour authentication token required to log in via your browser.bash # Launch server aoe serve --port 3000 # Open the dashboard URL output by the command in your browser # Create a new session targeting your repository with a designated git worktreePart of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools