> Every Taji docs page as Markdown: https://docs.taji.is/llms.txt

# Arrange desks, panes and layouts

You end with a desk laid out your way: panes placed, charts synced, layouts named, by hand in the window or by the wire requests your agent sends. You need a running Taji window ([Install](https://docs.taji.is/guide/install.md)). A desk is one line of work ([Glossary](https://docs.taji.is/reference/glossary.md)); a layout is one arrangement of panes on it.

## Make and switch desks

1. Click **New desk** in the left bar (**⌘ B** shows or hides it), type a name and press Enter. The new desk becomes active; Esc cancels.
2. Click a desk's name in the left bar to switch desks.
3. A desk's **⋮** menu (or a right-click) holds **Rename**, **Move up** and **Move down**, and **Remove…**, which asks first.

## Arrange the panes

1. Click **+** (New layout, **⌘ T**) after the layout tabs. It opens as a new layout on one chart of the focused chart's symbol.
2. Click **All panes** in the dock (**⌘ ⌥ B**, or point at the dock's edge, the right one unless you moved it), then a card (type in its search to find one): it takes the right half of the focused pane, and the gallery stays open; or drag a card or dock icon onto the canvas. An empty layout shows the same gallery. A dock click opens a popup or focuses the pane.
3. Drag a pane by its head or a tab onto another pane: drop it on an outer third to place it beside, on the middle to place it above or below, or on the head to stack it as a tab. A preview marks where it lands. **⋮** moves or maximizes it too (**Place** on a popup places it), and **✕** (**⌘ W**) closes it.
4. Drag the gap between two panes to resize them; double-click it to even them.
5. With more than one pane, ⌥-click a chart (Toggle maximize chart, **⌥ ↵**) to show the focused pane alone; again to return.

Each pane's controls are on its own page:

| Pane | Opens as | Page |
|---|---|---|
| Chart | pane | [Chart](https://docs.taji.is/catalog/chart.md) |
| Ladder | pane | [Ladder](https://docs.taji.is/catalog/ladder.md) |
| Watchlist | pane | [Watchlist](https://docs.taji.is/catalog/watchlist.md) |
| Book | pane | [Book](https://docs.taji.is/catalog/book.md) |
| Calendar | pane | [Calendar](https://docs.taji.is/catalog/calendar.md) |
| Screener | pane | [Stock Screener](https://docs.taji.is/catalog/screener.md) |
| Options | pane | [Options](https://docs.taji.is/catalog/options.md) |
| Reference | pages in place of the chart | [Reference](https://docs.taji.is/catalog/reference.md) |

## Sync charts

1. In the active layout tab's **⋮** menu, switch on what this layout's charts share under **Sync in layout**: **Symbol**, **Interval**, **Crosshair**, **Time** or **Date range**.
2. Each chart's head leads with a link dot. Pick one of five groups (🔶 🍀 💧 ❤️ 💩): charts in a group follow each other's symbol and interval, on any of the desk's layouts. Pick the same group again to leave it.

## Save and switch layouts

1. Taji keeps every change as you make it; there is nothing to save.
2. Each layout of the open desk is a tab in the top bar: click one to switch, or step with `⌘ ⌥ →` and `⌘ ⌥ ←`.
3. Double-click a tab to rename it: Enter commits, Esc restores. Its **⋮** menu holds **Rename**, **Duplicate**, **Download chart data…**, **Sync in layout**, **Move left** and **Move right** where the tab can go, and **Remove…**, which asks first.

## Lay out a desk over the wire

Each act above is a request to the kernel's wire, and the window and your agent send the same ones ([the wire](https://docs.taji.is/reference/wire.md)). `calls.json` lists six: it renames the desk, adds a layout named Compare, places a QQQ chart and a watchlist in it, syncs symbol and crosshair, and reads the layouts back. `{desk}` stands for the desk's id, which `GET /read/desks` lists. A layout's `panes` and a new pane's id are numbers the kernel hands out, so each request that needs one takes it from the answer before.

```json file="examples/desks/calls.json" title="calls.json"
[
  {"name": "rename", "method": "POST", "route": "/verb/desk/{desk}/rename", "body": {"name": "Pairs"}},
  {"name": "layout", "method": "POST", "route": "/verb/desk/{desk}/layouts/add", "body": {"name": "Compare"}},
  {"name": "chart", "method": "POST", "route": "/verb/desk/{desk}/layout/add_pane", "body": {"kind": "chart", "symbol": "equity:QQQ", "position": "right"}},
  {"name": "watchlist", "method": "POST", "route": "/verb/desk/{desk}/layout/add_pane", "body": {"kind": "watchlist", "anchor_pane_id": "{chart.pane_ids[0]}", "position": "below"}},
  {"name": "sync", "method": "POST", "route": "/verb/desk/{desk}/layout/set_sync", "body": {"symbol": true, "crosshair": true}},
  {"name": "layouts", "method": "GET", "route": "/read/desk/{desk}/layouts", "shot": "{chart.pane_ids[0]}"}
]
```

![The Compare layout's QQQ chart, one of its three panes](https://raw.githubusercontent.com/TajiAI/Taji/main/docs/guide/examples/desks/shot.png)

The picture is the QQQ chart pane the calls placed: the capture photographs one pane, not the whole desk.

1. **`POST /verb/desk/{desk}/rename`** with `{"name": "Pairs"}` names the desk, as **Rename** in its menu does. The answer is the desk's id. `POST /verb/desks/new` with `{"name": ...}` makes a desk instead and answers its id and directory; `switch` and `delete` take no body, and `POST /verb/desks/order` takes every desk's id once, in the new order.

```json file="examples/desks/rename.json"
{
  "desk": "01a24252-53bc-700b-9502-40fd3f0bb021"
}
```

2. **`POST /verb/desk/{desk}/layouts/add`** with `{"name": "Compare"}` is **+**: a layout at the end of the strip, active, over one chart of the focused chart's symbol. Its `preset` (`single`, `two_col`, `two_row`, `three_col`, `left_major_right_stacked`, `quad_grid`) and `panes` shape it in the same request. The answer is the new layout's number.

```json file="examples/desks/layout.json"
{
  "id": 2,
  "node": "desk/01a24252-53bc-700b-9502-40fd3f0bb021/layouts"
}
```

3. **`POST /verb/desk/{desk}/layout/add_pane`** with `{"kind": "chart", "symbol": "equity:QQQ", "position": "right"}` places a chart on the right half of the focused pane, as an All panes card does. `pane_ids` is the new pane's number.

```json file="examples/desks/chart.json"
{
  "node": "desk/01a24252-53bc-700b-9502-40fd3f0bb021/layout",
  "pane_ids": [
    9
  ]
}
```

4. **The same route** with `{"kind": "watchlist", "anchor_pane_id": <that number>, "position": "below"}` halves the QQQ chart's stack and puts a watchlist under it. `position` is `left`, `right`, `above`, `below` or `tab`, the zones of a drag; only a chart takes a `symbol` or `timeframe`. A half under a pane's least size is refused with 409 `no_room`.

```json file="examples/desks/watchlist.json"
{
  "node": "desk/01a24252-53bc-700b-9502-40fd3f0bb021/layout",
  "pane_ids": [
    11
  ]
}
```

5. **`POST /verb/desk/{desk}/layout/set_sync`** with `{"symbol": true, "crosshair": true}` switches on those two of the layout's five **Sync in layout** toggles (`symbol`, `interval`, `crosshair`, `time`, `date_range`); the others keep their value.

```json file="examples/desks/sync.json"
{
  "node": "desk/01a24252-53bc-700b-9502-40fd3f0bb021/layout"
}
```

6. **`GET /read/desk/{desk}/layouts`** reads the strip in order, exactly one `active`, each row's `panes` the ids of every pane it holds.

```json file="examples/desks/layouts.json"
[
  {
    "active": false,
    "id": 1,
    "name": "Layout 1",
    "panes": [
      1,
      6,
      2,
      4,
      5
    ],
    "symbol": "equity:SPY",
    "timeframe": "D"
  },
  {
    "active": true,
    "id": 2,
    "name": "Compare",
    "panes": [
      8,
      9,
      11
    ],
    "symbol": "equity:QQQ",
    "timeframe": "D"
  }
]
```

*Captured 2026-12-04 on a headless kernel, its chart a made-up daily series for SPY.*

The other layout verbs are `move_pane` (a drag; with `layout` it lands in another layout of the desk), `resize {split, at}`, `set_kind`, `close_pane`, `set_link` and `popup`; the layout's own are `layouts/pick`, `rename`, `remove`, `copy` and `order`. Each, with its body and refusals, is a row of the wire's route table ([the wire](https://docs.taji.is/reference/wire.md)).

## If it fails

- **A layout has no Remove.** It is the desk's last layout; over the wire, `layouts/remove` answers 409 `last_layout`.
- **A chart's chip reads Delayed, Not live or Disconnected.** The kernel marks a quote **Delayed**; a refused stream shows **Not live** and a lapsed one **Disconnected**. Keyless data is delayed: [Yahoo Finance](https://docs.taji.is/catalog/yahoo.md) serves delayed bars and quotes but streams no bars, so a keyless chart reads **Not live**. Linking an account lists each class as **Real-time**, **History** or **Delayed**; `GET /read/data/freshness` gives how late each linked source can be and `GET /read/data/liveness` what flows now.

## Next

- [Place and cancel orders](https://docs.taji.is/guide/trading.md): the ticket on a chart, and whether your agent's orders wait for you.
- [Chart](https://docs.taji.is/catalog/chart.md): the pane you will place most.
- [The wire](https://docs.taji.is/reference/wire.md): every desk and layout route, with its refusals.
- [Connect your agent](https://docs.taji.is/guide/agent.md): let your agent send these requests.
