Show HN: Agent-of-Empires: OpenCode and Claude Code Session Manager
Why It Matters
By centralizing AI coding sessions, aoe reduces context switching and ensures session continuity across terminals, boosting developer productivity. Its lightweight, tmux‑based architecture makes it readily adoptable in existing workflows, accelerating enterprise adoption of AI pair programmers.
Key Takeaways
- •Rust-based TUI wraps tmux for AI coding sessions.
- •Supports multiple profiles, hierarchical groups, and session persistence.
- •Easy install via script, Homebrew, or source build.
- •Detects status of Claude Code and OpenCode automatically.
- •Enables mobile SSH usage through nested tmux sessions.
Pulse Analysis
Artificial‑intelligence coding assistants such as Claude Code and OpenCode are reshaping software development, but managing multiple interactive sessions can quickly become chaotic. Agent of Empires (aoe) addresses this gap by providing a lightweight terminal user interface built in Rust that sits on top of tmux, the ubiquitous terminal multiplexer. By treating each AI agent as a dedicated tmux session, aoe inherits tmux’s reliability, detachment capabilities, and low‑overhead performance while presenting developers with a single pane to launch, monitor, and switch between agents.
The tool ships with a TUI dashboard that lists all active sessions, lets users create, attach, detach, or delete them, and organizes sessions into hierarchical folders. Automatic status detection distinguishes between Claude Code and OpenCode windows, ensuring the correct scroll mode is applied. Multi‑profile support enables isolated workspaces for separate projects or clients, each maintaining its own session and group metadata under ~/.agent-of-empires. Installation is straightforward: a one‑line curl script, Homebrew formula, or a standard Cargo build, making aoe accessible to both seasoned Rust developers and casual users.
By leveraging tmux’s session persistence, aoe ensures that AI‑driven coding tasks survive network interruptions and can be resumed from any terminal, including mobile SSH clients. The open‑source MIT license encourages community contributions, and the project already integrates feedback loops for known issues like Claude Code flickering. As enterprises adopt AI pair programmers at scale, tools like Agent of Empires will become essential infrastructure, reducing context‑switching overhead and providing a unified control plane for diverse coding agents across development environments.
Comments
Want to join the conversation?
Loading comments...