Agent Deck

v1.0.0Developer Toolsstable

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

ai-agentai-agentsai-coding-assistantaiderbubble-tea
Share:
2,475
Stars
0
Downloads
0
Weekly
0/5

What is Agent Deck?

Agent Deck is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to terminal session manager for ai coding agents. one tui for claude, gemini, opencode, codex, and more.

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

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Terminal session manager for AI coding agents. One TUI for C

Use Cases

Terminal session manager for AI coding agents
Support Claude, Gemini, and more
asheshgoplani

Maintainer

LicenseMIT
Languagego
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx agent-deck

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Agent Deck

Agent Deck is a terminal-based session manager (TUI) for AI coding agents that lets you run, fork, monitor, and orchestrate multiple Claude, Gemini, OpenCode, Codex, and Aider sessions side by side from a single interface. It handles MCP server pooling (saving 85–90% memory vs. per-session processes), Docker sandbox isolation, git worktree management, cost tracking, and remote SSH-based agent fleets, plus a conductor orchestration layer for webhook- and Telegram-driven automation. Developers who juggle multiple long-running agent tasks use it to avoid context-switching overhead and keep their AI workflows organized in one place.

Prerequisites

  • macOS, Linux, or Windows via WSL2
  • Go 1.24+ if building from source (not required for the binary installer)
  • At least one coding agent installed: Claude Code, Gemini CLI, OpenCode, Codex CLI, or Aider
  • Docker (optional) for sandboxed session isolation
  • An MCP-compatible coding agent as the underlying session runtime
1

Install Agent Deck

Run the automated install script, or use Homebrew on macOS. The script downloads and places the binary on your PATH.

curl -fsSL https://raw.githubusercontent.com/asheshgoplani/agent-deck/main/install.sh | bash
# Or via Homebrew:
brew install asheshgoplani/tap/agent-deck
2

Verify the installation

Check that agent-deck is available and see available commands.

agent-deck --version
agent-deck --help
3

Configure Agent Deck

Agent Deck reads its configuration from ~/.config/agent-deck/config.toml. Create this file to set your preferred Claude config directory, enable MCP socket pooling, and configure cost tracking.

[claude]
config_dir = "~/.claude"

[pool_all]
enabled = true

[costs]
retention_days = 90
4

Add a session and open the TUI

Add your project directory as an Agent Deck session using Claude as the agent backend, then launch the TUI.

agent-deck add /path/to/your/project -c claude
agent-deck
5

Launch the web interface

For browser-based monitoring of your sessions, start the built-in HTTP UI.

agent-deck web
# Accessible at: http://127.0.0.1:8420

Agent Deck Examples

Client configuration

Agent Deck configuration file at ~/.config/agent-deck/config.toml showing key options.

{
  "mcpServers": {
    "agent-deck": {
      "command": "agent-deck",
      "args": ["mcp"]
    }
  }
}

Prompts to try

Example Agent Deck CLI commands and TUI keyboard shortcuts.

- Run: agent-deck add . -c claude -m "Refactor the authentication module"
- Fork a session: Press 'f' in the TUI to create a quick fork of the current session
- Toggle MCP servers: Press 'm' in the TUI, then Space to enable/disable individual servers
- View cost dashboard: Press '$' to see today's token usage and spend
- Search across all sessions: Press 'G' for global conversation search
- Open a container shell: Press 'T' on a Docker-sandboxed session

Troubleshooting Agent Deck

Sessions show as 'stopped' immediately after creation

Verify that the underlying agent binary (claude, gemini, opencode, etc.) is installed and on your PATH. Run 'which claude' or the equivalent to confirm. Agent Deck needs the agent CLI available to spawn sessions.

MCP socket pooling is not reducing memory usage

Ensure 'pool_all = true' is set in config.toml. Pooling only applies to MCP servers that support shared socket connections. Check the MCP panel (press 'm') to see which servers are pooled vs. per-session.

Docker sandbox mode fails to start sessions

Confirm Docker Desktop or the Docker daemon is running ('docker ps'). Set 'default_enabled = true' and 'mount_ssh = true' under the [docker] section in config.toml to allow agent access to SSH credentials inside the container.

Frequently Asked Questions about Agent Deck

What is Agent Deck?

Agent Deck is a Model Context Protocol (MCP) server that terminal session manager for ai coding agents. one tui for claude, gemini, opencode, codex, and more. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Agent Deck?

Follow the installation instructions on the Agent Deck GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Agent Deck?

Agent Deck works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Agent Deck free to use?

Yes, Agent Deck is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "agent-deck": { "command": "npx", "args": ["-y", "agent-deck"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Agent Deck?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides