Agent of Empires

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

Visit Agent of Empires

Key features

  • Workspace-Centric Dashboard — Provides a split-view web interface with terminal execution on the left and live git diff review on the right. - Git Worktree Isolation — Automatically maps and runs agent sessions inside dedicated git worktrees while grouping sessions under the parent project root. - Remote Web Access (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.

Use cases

Use Case: Concurrent Feature Development A developer can launch multiple agent sessions simultaneously across different git worktrees in the same repository. Each agent implements a separate feature branch in isolation without dirtying the main working tree.

Use Case: Remote Agent Monitoring via Tailscale A developer running long-running coding agents on a desktop or build server can execute aoe serve and securely monitor terminal outputs and inspect inline diffs from a mobile device or laptop.

Use Case: Multi-Agent Review and Diff Inspection Engineers managing complex refactors can track agent progress through the split-pane dashboard, reviewing code changes side-by-side with real-time terminal output as the agent tests and modifies code.

Who it is for

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.

Install guide

Installation Build and install Agent of Empires from source using Cargo (standard Rust installation method): bash git clone https://github.com/agent-of-empires/agent-of-empires.git cd agent-of-empires cargo install --path .

First Run To start the web dashboard and orchestration server across available network interfaces: 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.

Example Session Start a session directly or navigate to the web UI to launch agents against a specific repository: 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 worktree

Part of CLI Coding Agents

Categories: AI Coding Agents, Code Assistants, Developer Tools

Related CLI agents

  • SWE-agent — SWE-agent is an open-source autonomous software engineering agent harness built and maintained by researchers from Princeton University and Stanford University.…
  • Agent Runbook — Agent Runbook is an open-source contract-based multi-agent skill framework developed by KnoxOps. It acts as an orchestrator and compiler that…
  • Weaver — Weaver is an open-source agent harness and orchestration framework maintained by sean35mm on GitHub. Built on top of the Bun…
  • Context Bridge — Context Bridge is an open-source CLI agent harness and context orchestration utility developed by serdardb. It is built to facilitate…
  • Hivelore — Hivelore is an open-source agent harness and contextual memory orchestrator created by Doucs91. It provides persistent project memory, decision tracking,…
  • Agentic Engineering Framework — Agentic Engineering Framework is an open-source orchestration harness and governance layer developed by Dimitri Geelen. It is designed to constrain,…
  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories