asheshgoplani/agent-deck

Terminal session manager for AI coding agents. One TUI for Claude, Gemini, OpenCode, Codex, and more.

What it solves

Agent Deck acts as a "mission control" for users running multiple AI coding agents (such as Claude Code, OpenCode, Pi, and Codex) across various projects. It eliminates the need to manage numerous separate terminal windows by providing a single interface to monitor, switch between, and orchestrate a fleet of agent sessions.

How it works

It provides a Terminal User Interface (TUI) and a web UI that wrap agent sessions. It uses smart polling to detect agent status (Running, Waiting, Idle, or Error) and integrates with tmux for fast switching and status notifications. The system supports:

  • Session Management: Forking conversations to explore different paths, archiving, and renaming sessions.
  • MCP & Skills: A manager to attach Model Context Protocol (MCP) servers and Claude skills to projects without manual config edits.
  • ** uma Socket Pool**: A mechanism to share MCP processes across sessions to reduce memory usage.
  • Git Worktrees: Automatic creation of isolated working directories and branches for each agent to prevent conflicts, including support for bare repositories and custom setup/destruction scripts.
  • The Conductor: A specialized agent session that can be supervised via Telegram, Slack, or Discord to monitor other "worker" agents and escalate important notifications to the phone.

Who it’s for

Developers who use multiple AI coding agents simultaneously across different repositories and need a centralized way to manage their state, costs, and execution flow.

Highlights

  • Unified Command Center: One keystroke to switch between dozens of agent sessions.
  • Fleet Orchestration: Use a "conductor" agent to supervise other agents and receive updates via mobile chat apps.
  • Resource Efficiency: MCP Socket Pool reduces memory overhead by 85-90%.
  • Advanced Git Integration: Native support for git worktrees and bare repositories to allow parallel agent work on one repo.
  • Contextual Forking: Instantly fork sessions to test alternative implementation strategies while preserving history.