agent-of-empires
AgentFreeManage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile. Also supports Mistral Vibe, Codex CLI, Gemini CLI, Pi.dev, Copilot CLI, Factory Droid Coding. Uses tmux and git worktrees.
Capabilities13 decomposed
tmux-backed multi-agent session orchestration
Medium confidenceCreates and manages isolated tmux sessions for AI coding agents (Claude Code, OpenCode, Mistral Vibe, Gemini CLI, etc.) through a Rust-based wrapper that abstracts tmux complexity. Each session is assigned a unique 8-character UUID and human-readable title, with lifecycle management (attach/detach/kill) exposed via CLI and TUI. The system maintains session state in persistent storage keyed by profile, enabling recovery and resumption across terminal restarts.
Wraps tmux with domain-specific abstractions (Instance, GroupTree, Storage) designed explicitly for AI agent lifecycle management, rather than generic terminal multiplexing. Implements automatic status detection (Running/Waiting/Idle) by parsing agent-specific process output patterns, and provides hierarchical session grouping via a tree structure stored in profile-isolated persistent storage.
Simpler than managing raw tmux for multi-agent workflows and more specialized than generic terminal multiplexers like Zellij or screen, with built-in awareness of AI agent state transitions.
profile-isolated workspace management
Medium confidenceMaintains multiple independent profiles (contexts) where each profile has its own session storage, worktree configuration, and Docker sandbox settings. Profiles are stored in a configuration directory and loaded on-demand, enabling developers to switch between completely isolated workspaces (e.g., 'project-a', 'project-b', 'experimentation') without session collision. The Storage system (src/session/storage.rs) provides profile-keyed persistence with automatic directory creation and cleanup.
Implements profile isolation at the storage layer (src/session/storage.rs) with automatic directory scoping, allowing complete session independence without manual path management. Profiles are composable with worktree and Docker sandbox configurations, enabling per-project agent behavior customization.
More lightweight than containerized workspace solutions (Docker Compose) while providing stronger isolation than simple directory-based organization, with explicit profile switching semantics.
multi-agent provider support with agent-specific configuration
Medium confidenceSupports multiple AI coding agent providers (Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI, Pi.dev, GitHub Copilot CLI, Factory Droid Coding) with agent-specific configuration and status detection patterns. Each agent type has a profile in AGENTS.md defining its CLI invocation, output patterns for status detection, and configuration requirements. The system abstracts agent differences, allowing users to create sessions for any supported agent without learning provider-specific details.
Implements agent abstraction via AGENTS.md configuration file defining CLI invocation, status detection patterns, and requirements for each supported provider. Allows users to create sessions for any agent without provider-specific code, with extensible status detection based on agent output patterns.
More flexible than single-agent tools and more practical than requiring users to manage agent CLIs directly, with explicit support for multiple providers and automatic status detection.
persistent session recovery and state restoration
Medium confidencePersists session metadata (title, agent type, working directory, group membership, parent-child relationships) to disk in profile-scoped storage, enabling sessions to survive terminal restarts, SSH disconnections, and system reboots. When aoe is restarted, it reads session metadata from storage and can reattach to existing tmux sessions or recreate them if they were lost. The system maintains a session index for fast lookup and supports session cleanup (removing orphaned metadata for deleted sessions).
Implements profile-scoped session persistence (src/session/storage.rs) with automatic metadata serialization and recovery on startup. Maintains a session index for fast lookup and supports orphaned session cleanup, enabling seamless session recovery across system restarts.
More reliable than tmux's default session persistence (which is lost on server restart) and more lightweight than full database-backed session management, with explicit profile isolation.
configuration-driven session templates and defaults
Medium confidenceAllows users to define session templates and default configurations in YAML files (profile configuration, worktree settings, Docker sandbox config, agent defaults). When creating a session, users can reference a template to inherit configuration, reducing repetitive setup. Configuration is hierarchical: global defaults, profile-level defaults, and session-level overrides. The system validates configuration on load and provides helpful error messages for invalid settings.
Implements hierarchical configuration (global, profile, session) with YAML-based templates and defaults, enabling teams to standardize session setup without code changes. Configuration is profile-scoped and supports overrides at multiple levels.
More flexible than hardcoded defaults and more practical than manual configuration for each session, with explicit support for team-wide standardization.
hierarchical session grouping and organization
Medium confidenceOrganizes sessions into a tree structure (GroupTree in src/session/group_tree.rs) where sessions can be nested under logical groups (e.g., 'frontend', 'backend', 'experiments'). Groups are displayed hierarchically in the TUI and can be collapsed/expanded for navigation. The system supports sub-sessions and parent-child relationships, enabling developers to logically cluster related agent sessions and manage them as units.
Implements a tree-based session organization model (GroupTree) that persists group membership in profile storage, enabling logical clustering without requiring separate configuration files. Supports sub-sessions and parent-child relationships, allowing developers to fork sessions and maintain lineage.
More structured than flat session lists (like tmux's default) while simpler than full project management systems, with explicit parent-child semantics for session forking workflows.
automatic ai agent status detection
Medium confidenceMonitors tmux session processes to automatically detect and classify agent state as Running, Waiting, or Idle by parsing agent-specific output patterns and process introspection. The status detection implementation (src/session/instance.rs and src/tmux/) analyzes terminal output and process trees to infer whether an agent is actively executing code, waiting for user input, or idle. Status is cached and updated on-demand to avoid expensive polling.
Implements agent-specific status detection patterns (defined in AGENTS.md) that parse output from different AI coding agents (Claude Code, OpenCode, Mistral Vibe, Gemini CLI, etc.) rather than generic process state. Uses process tree introspection combined with terminal output analysis to infer semantic state (Running vs Waiting vs Idle).
More intelligent than simple process state checks (running/stopped) and more practical than requiring explicit status reporting from agents, with built-in awareness of multiple agent types.
git worktree-based parallel development isolation
Medium confidenceCreates and manages Git worktrees for each session, enabling parallel development branches without switching the main working directory. When a session is created with worktree support, the system automatically creates a new worktree at a path derived from a configurable template (e.g., ~/.agent-of-empires/worktrees/{profile}/{session-id}), checks out a specified branch, and cleans up the worktree when the session is destroyed. This allows multiple agents to work on different branches simultaneously without file system conflicts.
Integrates Git worktree management directly into the session lifecycle (src/git/), with automatic creation and cleanup tied to session creation/destruction. Uses configurable path templates to organize worktrees by profile and session ID, enabling scalable parallel development without manual git commands.
More integrated than manual git worktree commands and more flexible than Docker-based isolation, with explicit support for multi-agent parallel development on the same repository.
docker sandbox containerization with volume mounting
Medium confidenceOptionally isolates agent execution inside Docker containers with configurable volume mounts for code directories, authentication files, and other resources. When sandbox mode is enabled (via configuration), sessions are launched inside a Docker container with the specified image, with volumes mounted to provide access to the host's code and credentials. The system manages container lifecycle (creation, attachment, cleanup) and supports custom images and environment variable injection.
Integrates Docker sandbox as an optional execution layer (src/docker/) with session lifecycle management, supporting configurable volume mounts and custom images. Enables per-profile or per-session sandbox configuration, allowing developers to choose isolation level without changing core session management logic.
More lightweight than full VM-based isolation while providing stronger security boundaries than process-level isolation, with explicit volume mount configuration for fine-grained resource access.
tui-based interactive session dashboard
Medium confidenceProvides a terminal user interface (TUI) built with a Rust UI framework (likely Ratatui or similar, based on Rust ecosystem conventions) that displays sessions in a hierarchical tree view with real-time status indicators, search/filtering, and interactive controls. The TUI allows users to create, attach, detach, and delete sessions without CLI commands, with keyboard navigation (arrow keys, Enter, etc.) and a preview panel showing session details. The interface is responsive and updates session status on-demand.
Implements a hierarchical tree-based TUI (src/tui/) that mirrors the GroupTree data structure, enabling visual navigation of session hierarchies with real-time status indicators. Integrates search/filtering and a preview panel for session details, all within a terminal interface optimized for SSH and mobile workflows.
More interactive than CLI-only tools while remaining terminal-native (no external dependencies like web browsers), with explicit support for hierarchical session organization.
cli command interface for session and worktree operations
Medium confidenceExposes core session and worktree operations through a command-line interface with subcommands like 'aoe add' (create session), 'aoe session' (manage sessions), 'aoe worktree' (manage worktrees), and others. Each command accepts flags and arguments for configuration (e.g., --agent-type, --branch, --group), with help text and validation. The CLI is the primary interface for scripting and automation, complementing the TUI for interactive use.
Implements a structured CLI (src/cli/) with domain-specific subcommands (aoe add, aoe session, aoe worktree) that map directly to core operations, with validation and error handling. Supports both interactive and scripted workflows, with flags for configuration and profile selection.
More domain-specific than generic tmux CLI wrappers, with explicit subcommands for session and worktree management tailored to AI agent workflows.
session forking with parent-child relationships
Medium confidenceEnables creating new sessions as 'forks' of existing sessions, inheriting configuration (agent type, worktree branch, Docker sandbox settings) while maintaining a parent-child relationship in the session tree. When a session is forked, a new session is created with the same configuration but a new UUID and working directory (via git worktree), and the parent-child relationship is recorded in storage. This allows developers to branch off experiments from a baseline session without manual reconfiguration.
Implements session forking as a first-class operation (src/session/) with explicit parent-child relationship tracking in storage, enabling experiment lineage and configuration inheritance. Combines session metadata copying with automatic worktree creation to enable rapid session variants.
More structured than manual session duplication and more lightweight than full experiment tracking systems, with explicit parent-child semantics for reproducibility.
mobile ssh workflow support
Medium confidenceOptimizes the TUI and session management for mobile SSH connections by providing a responsive, low-bandwidth interface that works over high-latency, lossy connections. The TUI is designed to minimize redraws and support mobile-friendly keyboard shortcuts (e.g., single-key commands instead of multi-key combinations). Sessions persist across SSH disconnections (via tmux), and the TUI can be resumed without losing state. The system supports SSH key-based authentication and works with standard SSH clients on iOS/Android.
Designs the TUI and session persistence specifically for mobile SSH workflows, with optimizations for high-latency connections and mobile-friendly keyboard shortcuts. Leverages tmux's session persistence to enable seamless reconnection after SSH disconnections.
More mobile-optimized than generic terminal multiplexers, with explicit support for SSH workflows and mobile-friendly interaction patterns.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with agent-of-empires, ranked by overlap. Discovered automatically through the match graph.
oh-my-openagent
omo; the best agent harness - previously oh-my-opencode
commander
Commander, your AI coding commander centre for all you ai coding cli agents
UI-TARS-desktop
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
gptme
Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web. Make your own persistent autonomous agent on top!
HyperChat
HyperChat is a Chat client that strives for openness, utilizing APIs from various LLMs to achieve the best Chat experience, as well as implementing productivity tools through the MCP protocol.
AgentPilot
Build, manage, and chat with agents in desktop app
Best For
- ✓developers managing 3+ concurrent AI coding agents
- ✓teams using Claude Code, OpenCode, or other CLI-based agents
- ✓solo developers prototyping with multiple LLM providers simultaneously
- ✓developers juggling multiple concurrent projects with different agent setups
- ✓teams with project-specific agent configurations and isolation requirements
- ✓researchers running parallel experiments with different agent configurations
- ✓developers evaluating multiple AI coding agents
- ✓teams using heterogeneous agent stacks
Known Limitations
- ⚠Linux and macOS only — no Windows support
- ⚠Requires tmux to be installed and functional on the host system
- ⚠Session state persists only within a single profile — cross-profile session sharing requires manual worktree setup
- ⚠Status detection relies on process introspection and may miss agents in unusual terminal states
- ⚠No built-in profile synchronization — profiles are local to a machine
- ⚠Profile switching requires explicit CLI command; no automatic context detection
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Last commit: Apr 22, 2026
About
Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile. Also supports Mistral Vibe, Codex CLI, Gemini CLI, Pi.dev, Copilot CLI, Factory Droid Coding. Uses tmux and git worktrees.
Categories
Alternatives to agent-of-empires
Are you the builder of agent-of-empires?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →