Cursor Agent Session Names

Feature request for product/service

Cursor CLI

Describe the request

Feature request: Human-readable names for CLI agent sessions

Summary

When using the Cursor CLI agent, the “resume session” hint uses only a UUID, e.g.:

To resume this session: agent --resume=17bbdd09-92ba-4bdb-9870-5ccec471226c

There is no way to give a session a human-readable name or label. That makes it hard to remember which session is which when resuming later or when multiple sessions are in play.

Proposed behavior

  • Option A: Allow setting an optional display name when starting or during a CLI agent session (e.g. agent --name "admin-deploy" or a prompt/command to name the current session).
  • Option B: At minimum, support listing recent CLI agent sessions (e.g. agent --list) with optional names/labels if the user has set them.
  • Option C: Derive a default label from the first user message or the workspace/project path, so “resume” hints could show something like agent --resume=17bbdd09... # fix login bug or the project name.

Any of these would make CLI agent sessions easier to manage.

Context

  • CLI agent sessions are identified only by UUID; there is no way to browse or rename them from the CLI.
  • Renaming is available for chats in the Cursor IDE, but not for CLI agent sessions.
  • Users can work around this with their own notes or aliases, but first-class support would be much better.

Thanks for considering this.

2 Likes