Agent of Empires

Agent of Empires

Terminal session manager for AI coding agents

Manage multiple Claude Code, Gemini CLI, OpenCode, Mistral Vibe, and Codex sessions with a beautiful TUI. Git worktrees for parallel development. Docker sandboxing for safety. Built on tmux.

Terminal
$ curl -fsSL https://raw.githubusercontent.com/njbrake/agent-of-empires/main/scripts/install.sh | bash

See all installation options

aoe
Agent of Empires terminal user interface showing session management with Claude Code, git worktree creation, and Docker container status indicators

TUI Dashboard

Visual interface to manage all your AI coding sessions. See status at a glance, navigate with keyboard shortcuts.

Git Worktrees

Run parallel agents on different branches of the same repo. Automatic worktree creation and cleanup.

Docker Sandbox

Run agents in isolated containers for safety. Configurable volume mounts, persistent auth, and automatic lifecycle management.

Status Detection

Know when agents are working, waiting for input, or idle without switching sessions.

Session Groups

Organize sessions into hierarchical folders. Keep work projects separate from personal experiments.

tmux Persistence

Sessions persist in tmux. Close aoe anytime and your agents keep running.

Simple workflow

Get up and running in seconds

1

Launch the TUI

$ aoe
2

Add a session

Press a and enter the path to your project. Optionally enable worktrees or Docker sandboxing.

3

Attach and work

Press Enter to attach. You're now in tmux with your AI agent. Press Ctrl+b d to detach back to aoe.