# Several servers in one tab

Split a Valakes tab into panes, one server each, and send one command to several. Each host is checked on its own, and production needs a typed answer.

Source: https://valakes.com/features/panes-and-broadcast/

Last updated: 2026-11-27

A tab in Valakes can hold several terminals side by side, each its own connection to a host. Broadcast sends what you type to several of them at once, and production is held back until you answer.

## Panes in a tab

A pane is a terminal inside a tab, with its own connection to a host. Press `Ctrl+Shift+D` to split to the right or `Ctrl+Shift+O` to split downward (`Cmd+D` and `Cmd+Shift+D` on macOS), then pick a host. One composer serves the whole tab and always names the host of the focused pane.

## How it works

Broadcast joins some of the panes of one tab for a while. You choose which panes take part and which form the broadcast takes, and every pane that takes part shows it with a violet frame and a chip. No key starts a broadcast, so a stray key cannot do it.

1. Split a tab into two or more panes.
2. Press Broadcast at the right end of the tab strip.
3. Check the panes that should take part, and pick the form: Commands or Keystrokes.
4. Press Start broadcast, and Stop, or `Ctrl+Shift+X`, to end it.

## Two forms of broadcast

The two forms answer two different jobs. Commands is for running the same command on several servers, each one checked on its own. Keystrokes is for typing into the same program everywhere, such as `vim` or an interactive prompt, and it checks nothing. You pick the form each time you start.

| Form       | What it sends                                                   | Checks                                                 |
| ---------- | --------------------------------------------------------------- | ------------------------------------------------------ |
| Commands   | A command from the composer, to the hosts you confirm on a card | Each host judges its own risk with its own environment |
| Keystrokes | Every key you type in the focused pane, as in Raw mode          | None: a mistyped `rm` runs on every host               |

## Production in a broadcast

A broadcast that reaches production asks you to type, not just to press Enter. With one production host you type its name; with several you type how many there are. A keystroke broadcast with production first opens a window that lists the hosts and defaults to Cancel, and it stops by itself after a short pause in typing.

See [production marking](https://valakes.com/features/production-marking/).

If you look after only a few servers, [keeping them in one place](https://valakes.com/use-cases/a-few-servers/) shows broadcast beside the other daily jobs. For live servers, read [working on production servers without fear of one wrong command](https://valakes.com/use-cases/production-servers/).

## What it does not do

Broadcast multiplies what you type, so a mistake lands on every host at once. A keystroke broadcast reads nothing and checks nothing. A password you type into a broadcast command goes to every host as you typed it and can stay in the audit log; Valakes never puts a saved password on a broadcast command line.

## Questions

### Can an AI agent use broadcast?

No. There is no agent tool or API call for it, and the built-in assistant has none either. A pane an agent opened, or one you shared with an agent, cannot join.

### What if I keep typing after a broadcast ends by itself?

For a short while the first key you type in a pane that was in it is held back once, and the pane says "Broadcast stopped: keys now go to this pane only". Your next key goes through.

### Are panes restored when I restart Valakes?

No. Panes are not restored when you quit, and a broadcast ends when you switch to another tab or close it.

## Related features

- [Production is always marked](https://valakes.com/features/production-marking/): Every host in Valakes has an environment, and a production host is marked in red wherever you work on it. Staging gets a quieter amber.
- [Dangerous commands wait for you](https://valakes.com/features/command-check/): The command check reads each command you type before it runs. A dangerous one stops on a card that says why, and it runs only when you choose.

## Documentation

[Read the docs: Panes and broadcast](https://docs.valakes.com/panes-and-broadcast/)

[Something not working? Help centre: A broadcast stopped](https://support.valakes.com/a-broadcast-stopped/)

## Guide

[Guide: How do I run the same command on several servers at once, safely?](https://valakes.com/guides/run-one-command-on-several-servers/)

## With an AI agent

An agent works on your servers under the host policies and approvals you set. Setup for each client:

- [Claude Code](https://valakes.com/agents/claude-code/)
- [Codex](https://valakes.com/agents/codex/)
- [Cursor](https://valakes.com/agents/cursor/)
- [MCP clients](https://valakes.com/agents/mcp-clients/)
- [REST API](https://valakes.com/agents/rest-api/)
