Control Deck

The board

Agent cards and terminals

An agent card runs one agent on the board. A shell card runs a plain shell. This page covers how to add them, what the card header shows, and everything the terminal in a card does.

Kinds of card

Every agent you add to a deck gets a card. Every agent you add is a commander. See Who does what.

CardWhat runs in itCard title
Claude agent cardThe Claude Code CLI, in a terminal.The agent's name and Claude Code CLI
Codex agent cardThe Codex CLI, in a terminal.The agent's name and Codex CLI
Cursor agent cardThe Cursor Agent CLI, in a terminal.The agent's name and Cursor Agent CLI
Grok agent cardThe Grok CLI, in a terminal.The agent's name and Grok CLI
OpenCode agent cardThe OpenCode CLI, in a terminal.The agent's name and OpenCode
Shell cardA plain shell, with no agent.The card's name and terminal

An agent card is the provider's own CLI. Everything the CLI does in a normal terminal, it does in the card, including its own commands and its own sign-in.

Agents you add yourself

You can add your own agents in Settings > Agents. See Add your own agents.

  • An agent that you add as a terminal command runs in a terminal card, like the built-in providers.
  • An agent that you add as an ACP agent gets a card with no terminal. The card shows Commander and the agent's name, the provider name with headless ACP, a state, and the agent's messages. You can't type in this card. To talk to the agent, use the Control view. See The Control chat.

Add an agent card or a shell card

Open a deck, then use one of these ways.

WayAgent cardShell card
Bar on the left side of the boardClick the provider's button. Its tooltip names the provider and its key.Click Add shell card.
KeyCtrl+1 Claude, Ctrl+2 Codex, Ctrl+3 Cursor, Ctrl+4 OpenCode, Ctrl+8 GrokCtrl+7
Command palette (Ctrl+K)Open a Claude Code agent, Open a Codex agent, Open a Cursor agent, Open a Grok agent, Open an OpenCode agentOpen a shell terminal
Typed commandopen a claude code terminal, open a codex terminal, open a cursor terminal, open a grok terminal, open an opencode terminalopen a terminal

You can also ask Control to add an agent. See Start a commander.

You can change the keys in Settings > Key Bindings. See Key bindings. For the palette and typed commands, see Commands.

Provider buttons

  • A provider that's turned off in Settings > CLI Providers, or that's signed out, has no button.
  • A provider that's turned on but whose CLI Control Deck can't find has a grey button. Its tooltip ends with is unavailable - check its command path in Settings > CLI Providers.
  • An agent that you added yourself also has a button.

See Sign in to provider CLIs.

Keyboard focus

A new card takes the keyboard, so you can type in it right away. If you're typing in another card or field when the new card opens, the keyboard stays where it is.

Where the terminal starts

The CLI or shell in a new card starts in the deck's project folder.

Which shell a shell card runs

A shell card runs the first of these that it finds: PowerShell 7, pwsh.exe on your PATH, Windows PowerShell, then cmd.exe.

Agent states

Agent cards with a terminal

A Claude, Codex, Cursor, or Grok card shows Working in its header while the agent thinks or writes. When the word goes away, the agent has finished its turn or waits for you.

An OpenCode card doesn't show Working. Read the terminal to see what the agent is doing.

ACP agent cards

The card of an ACP agent that you added shows one of these states.

StateMeaning
CONNECTINGControl Deck is starting the agent.
THINKINGThe agent's model is reasoning.
STREAMINGThe agent is writing its answer.
TOOLINGThe agent is using a tool.
WORKINGThe agent is busy with a turn.
DONEThe agent finished its turn.
BLOCKEDThe agent stopped with an error.
STANDBYThe agent has no turn yet.

Workers

Workers don't have cards of their own. Their states and their output are in the commander's crew card. See Watch the workers.

Choose the model

A card has no control to change the model. You choose the model when you add the card, or you change it inside the provider's CLI.

Name a model when you add the card

Type a command that names the provider and one of its models. For example, with a model name in place of MODEL:

open a codex agent with MODEL
open a codex agent with MODEL on high
open a codex agent with MODEL on high fast
  • The model name must match exactly one model that the provider offers.
  • After on, give a reasoning level: none, minimal, low, medium, high, xhigh, max, or ultra. The model must offer that level.
  • Add fast for the model's fast mode, if it has one. Add standard for the normal mode.
MessageWhat to do
The provider model catalog is unavailableControl Deck couldn't read the provider's list of models. Try again. If the message comes back, check that the provider's CLI is installed and signed in.
The provider's name and does not advertise a unique model matching the name you typedType more of the model name, or a model that the provider offers.
A model is required when selecting reasoning or FastName a model in the command.

The model badge

The badge in the header shows the model that Control Deck started the card with, and the reasoning level if Control Deck set one. If you added the card without a model, the card has no badge, and the CLI uses its own default model.

  • The badge shortens long model names to 22 characters. Hover over the badge to see the full model name.
  • The reasoning levels read None, Min, Low, Def, Med, High, XHigh, and Max.
  • A Claude card with a model starts at High unless you name another level.

For the models that workers use, see Choose worker providers and models.

Type, copy, and paste

Click in a card's terminal, then type. Your keys go to the CLI or the shell in that card. While a terminal has the keyboard, the app's single-letter keys, such as Shift+T, type text instead of running their command.

Key or actionWhat it does
Ctrl+CWith text selected, copies the text. With nothing selected, interrupts the program in the terminal.
Ctrl+Shift+CCopies the selected text. With nothing selected, it does nothing.
Ctrl+V or Ctrl+Shift+VPastes the text on the clipboard. If the clipboard has an image and no text, pastes the image.
Alt+VPastes the image on the clipboard. If the clipboard has no image, pastes the text.
Shift+InsertPastes from the clipboard.
Drag over textSelects the text.
Drop a file from WindowsTypes the file's path at the prompt.
Drop an image from an image cardTypes the path of the image file at the prompt.

The keys are the same in every agent card and shell card.

Paste an image

A terminal can't hold a picture. When you paste an image, Control Deck saves it as a file and types the file's path into the terminal. The agent reads the image from that path.

If a path has spaces, Control Deck puts it in double quotes.

Copy when you select

To copy text as soon as you select it, turn on Copy on Selection in Settings > Advanced Settings. It's off by default.

Terminal settings

These settings are in Settings > Advanced Settings, in the Terminal details panel. A change applies to open terminals right away. See App settings.

SettingWhat it doesRangeDefault
Scrollback LimitThe number of lines of earlier output a terminal keeps.100 to 1000005000
Terminal Font SizeThe text size in terminals, in pixels.8 to 4012
Copy on SelectionCopies terminal text when you select it.On or offOff
Ghostty Engine (Experimental)Draws terminals with the Ghostty engine instead of the default engine.On or offOff

Ghostty Engine (Experimental)

The Ghostty engine reads output faster and draws complex scripts correctly. When you turn the setting on or off, open terminals are rebuilt. The agents in them keep running.

With the Ghostty engine on, these don't work yet:

  • Sharper text when you zoom the board.
  • The command marks in shell cards.
  • Keeping your scroll position.
  • Opening a link in a Preview card with a click.

If the Ghostty engine can't start, the terminal uses the default engine.

Shell cards

A shell card is a normal shell that starts in the deck's project folder. Use it to run your own commands, such as a build or a dev server. A server that you start in a shell card appears in the Ports card. See Tool cards.

When the shell is PowerShell, Control Deck adds these:

  • The prompt shows the current folder and, in a Git repository, the branch.
  • A dot at the left edge marks each command. The dot's color shows whether the command worked or ended with an error.
  • If oh-my-posh or starship is installed, the shell card draws the prompt with it, with a theme that Control Deck supplies.

A cmd.exe shell card and the agent cards don't have these.

Show prompts

When a deck has many agents, you can check what each one was last asked.

  1. Hold Ctrl+F.

  2. Every terminal fades behind a panel. The panel shows the provider and, under Prompt, the last prompt you typed in that card.

    A card where you haven't typed a prompt shows No prompt yet.

  3. Release the keys to see the terminals again. Esc also closes the panels.

The key is named Reveal prompts in Settings > Key Bindings. The panel shows up to the last 2000 characters of a prompt.

If the CLI stops or isn't installed

The CLI exits

If the CLI or the shell in a card ends, for example after you type its exit command or after it crashes, the card shows the agent's name with exited. and a Restart button. The earlier output stays in the terminal.

Click Restart to start the CLI again in the same card.

The CLI isn't installed

If Control Deck can't find the provider's CLI, the card shows a panel. The title is the CLI's name with is not installed, and the panel shows the command that was not found on your PATH. Under Install it, then retry: the panel gives an install command.

CLIInstall command in the panel
Claude Code CLInpm install -g @anthropic-ai/claude-code
Codex CLInpm install -g @openai/codex
Cursor Agent CLIirm 'https://cursor.com/install?win32=true' | iex
Grok CLIirm https://x.ai/cli/install.ps1 | iex
OpenCode CLInpm install -g opencode-ai@1.18.10
  1. Run the install command in a shell card or in a Windows terminal.

  2. Sign in to the CLI. See Sign in to provider CLIs.

  3. In the card, click Retry.

For a command that isn't one of these CLIs, the title is Command not found and the panel has no install command.

Other start problems

What you seeWhat to do
The CLI's name with could not be prepared, or Provider could not be preparedRead the reason in the panel, fix it, then click Retry.
Failed to launch, the card's name, and a reason, as text in the terminalFix the reason, then close the card and add it again.
This card stopped rendering.Click Reload card. The rest of the board isn't affected, and the agent in the card keeps running. Close card closes the card.

For more help, see Troubleshooting.

After a restart

When you close Control Deck, the CLIs and shells in your cards stop. When you start Control Deck again and open the deck, the cards come back, and each agent card starts its CLI again in the conversation it had.

CardWhat comes back
ClaudeThe card, and the conversation the agent had.
CodexThe card, and the conversation the agent had, if Control Deck had saved it.
CursorThe card, and the conversation the agent had, if Control Deck had saved it.
GrokThe card, and the conversation the agent had.
OpenCodeThe card, and the conversation the agent had, if Control Deck had saved it.
Shell cardThe card, with a new shell.

These don't come back:

  • The text that was on screen in the terminal. The provider's CLI decides how much of the earlier conversation it shows again.
  • A program that was running in a shell card, such as a dev server.
  • A turn that the agent was in the middle of.

If Control Deck can't reopen the earlier conversation, the CLI starts a new one. A card that never had a conversation also starts a new one.

For workers that were running when the app closed, see Stop workers.

When you switch decks

Agents keep running when you switch to another deck. When you come back, each terminal shows its output again.

Agent cards in the Control view

The Control view shows the same agents in tabs and panes instead of cards. A pane shows the same running session as the agent's card on the board. See The Control chat.

  • Each open agent has a tab. To open another, click New tab and pick a provider or Preview.
  • A pane's header shows the agent's state, provider, name, and role: commander or worker.
  • A commander's pane has a Terminal and Chat switch. In Chat, type in the reply box and press Enter to send. Shift+Enter starts a new line.
  • To show two agents side by side, open a pane's menu and click Split right or Split down. You can also drag a tab onto a pane. Close closes the pane.
  • To resize panes, drag the line between them.

When an agent finishes

  • Working goes away in the card's header.
  • A small tab at the right edge of the window slides out with the agent's name and finished. If the agent stopped on a problem, it reads blocked. The tab goes back after about 2 seconds.
  • Between these messages, the tab is a single dot that shows whether any agent is working or blocked.
  • If the agent is a commander with workers, the Show crew button shows each worker's state.

Control also tells you when a commander's work is done. See The Control chat.

Commands for agent cards

You can close agents and clear their conversations with commands. Pick the command in the palette (Ctrl+K) or type it. See Commands.

Command in the paletteTyped exampleWhat it does
Close an agentclose cooperCloses the card of the agent whose name starts with what you type.
Close all agentsclose all agentsCloses every agent card and shell card in the deck.
Close all of one agent typeclose all Claude Code agentsCloses every card of that provider.
Clear an agent's contextclear cooperStarts a new conversation in that agent's card.
Clear every agent's contextclear all agentsStarts a new conversation in every agent card.

To clear a conversation, Control Deck sends the provider's own command to the card: /clear for Claude, Cursor, and Grok, and /new for Codex and OpenCode. If the card isn't ready, the message is the agent's name and terminal is not ready.