# Cursor CLI: agent view (multi-session dashboard) + /background, like Claude Code

**URL:** <https://forum.cursor.com/t/cursor-cli-agent-view-multi-session-dashboard-background-like-claude-code/176031>\
**Category:** Feature Requests\
**Tags:** multitask, cli\
**Created:** [October 24, 2026, 2:36pm UTC](https://forum.cursor.com/t/cursor-cli-agent-view-multi-session-dashboard-background-like-claude-code/176031 "2026-10-24T14:36:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zizhong\_xiao](https://avatars.discourse-cdn.com/v4/letter/z/ce73a5/32.png) [@zizhong\_xiao](https://forum.cursor.com/u/zizhong_xiao)\
**Post date:** [October 24, 2026, 2:36pm UTC](https://forum.cursor.com/t/cursor-cli-agent-view-multi-session-dashboard-background-like-claude-code/176031/1 "2026-10-24T14:36:26Z")

</div>

### Feature request for product/service

Cursor CLI

### Describe the request

Feature request for product/service  
Cursor CLI  
Describe the request  
**Summary**  
Add an “agent view” to Cursor CLI: one terminal screen to see and control every agent session (local, background/persisted,  
subagents, cloud), plus a `/background` command that sends the current task to the background in one step. Claude Code has this  
(agent view + background tasks), and Copilot CLI and Codex CLI have similar multi-session management. Today Cursor puts this  
only in the desktop Agents Window, which doesn’t help people who work over SSH on remote servers.  
**What exists today (and why it’s not enough)**

- `agent ls` / `/resume`: a picker for past chats. It doesn’t show which sessions are running, which are waiting for approval,  
or which are finished.
- `agent persist`, `/detach`, `agent persist list/attach/stop`: background sessions are supported, but managed through separate  
commands with no live overview.
- `&` hands a task to a cloud agent, but the CLI can’t list or follow those agents afterwards; you have to go to the web  
dashboard.
- `/status-indicators` puts status in the terminal tab title. It helps, but only if each session has its own tab.  
**Proposal**

1. **`/background` (alias `/bg`), like Claude Code**
  - In a running session, `/background` (or a keybinding) detaches the current task. The task keeps running and I get the  
prompt back right away to start something else.
  - Optionally `/background <prompt>` starts a new background task directly.
  - When a background task finishes or needs approval, show a notification in the current session.

2. **`agent view` / `/agents` dashboard (TUI)**
  - Live list of all sessions: local foreground, background/persisted, subagents, and cloud agents started from this machine.
  - Columns: name, workspace/worktree, model, status (Working / Waiting for approval / Waiting for you / Done / Error),  
elapsed time, last activity, changed-file count.
  - Group or filter by status, with a “Needs attention” section on top (same idea as the Agents Window “Group by Status”).
  - Actions with single keys: attach, peek at recent output without attaching, approve or reject a pending tool call, send a  
follow-up, stop, archive, fork, hand off to or from the cloud, open the diff (`/changes`).

3. **Scriptable access**
  - `agent ls --json` (and `agent persist list --json`) with status fields, so the view can be built into tmux, status bars  
and scripts.
  - `agent send <chatId> "<message>"` to send a follow-up to a running or background session without the TUI.  
**Why**

- Many of us run several agents in parallel on remote Linux boxes over SSH, where the Agents Window isn’t an option.
- Claude Code, Copilot CLI and Codex CLI already offer this, and it’s often the deciding factor when picking a terminal agent.
- Most building blocks already exist (`persist`, `ls`, status indicators, cloud handoff). What’s missing is a unified view and  
a one-step way to background a task.  
**Related requests**
- CLI for Cursor Background Agents: [CLI for Cursor Background Agents](https://forum.cursor.com/t/cli-for-cursor-background-agents/112745)
- Make agent TUI optional / scriptable session management:  
[Make agent TUI Optional and Enable Fully Scriptable Session Management](https://forum.cursor.com/t/make-agent-tui-optional-and-enable-fully-scriptable-session-management/152083)
- Also related: “Enable local agents visibility on IOS app” (CLI remote control) and “Cursor Projects for CLI”.  
**Environment**  
Cursor CLI 2026.10.22-27dcf5f, Linux (Rocky 8), used over SSH.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [October 24, 2026, 4:20pm UTC](https://forum.cursor.com/t/cursor-cli-agent-view-multi-session-dashboard-background-like-claude-code/176031/6 "2026-10-24T16:20:42Z")

</div>

Hey @zizhong_xiao,

Your read of the current CLI is accurate. Today there’s no single live view across sessions, no one-step `/background`, no JSON output for `agent ls` or `agent persist list`, and no command to send a message to a running session from outside it. A view for managing background and subagent sessions from the CLI is a request the team is already tracking.

A few pieces that get you part of the way in the meantime:

- Start long tasks with `agent persist "<prompt>"`. They survive SSH disconnects, `/detach` leaves them running, and `agent persist list` shows each session’s task, chat ID, workspace and whether it’s attached.
- Inside a session, `/jobs` opens the Tasks list of running shells and subagents. Press Enter on a row to view it, or `k` to stop a background job. Finished subagents currently drop off that list.
- `/status-indicators` puts the session’s state in the terminal title, which works well with one tmux window per session.
- Tasks you hand off with `&` can be followed at [cursor.com/agents](https://cursor.com/agents), including from a phone.
