session list reads like a menu of tasks instead of a wall of ids.
Quick Start
1
Rename from the CLI
2
Rename from Python
3
List β the friendly title now shows
4
Clear the title later
How It Works
The CLI resolves the id, then writes the title into session metadata β canonical store first, legacy store as fallback. The title lands inmetadata["title"] via the same locked read-modify-write path as update_session_metadata, and surfaces in each list_sessions() row under the "title" key (None when never renamed).
User Interaction Flow
Three sessions today, three UUIDs β no idea which is which. Rename each one and the nextsession list becomes a menu you can scan.
Before:
session resume 4f9a8c72-... still works. The title is display-only metadata.
Choose Your Path
Pick the entry point that matches what you need.Configuration Options
SDK β rename_session
Returns:
bool β True when the metadata write succeeded.
Title precedence when rendering a name: explicit metadata["title"] β agent_name β first user-message snippet β id. Sessions without a title stay fully resolvable and resumable by id β this change is purely additive display metadata.
Reading the title back
Best Practices
Name for future-you
Name for future-you
Prefer
fix-auth-bug or blog-post-draft over test / session 2. The title is what future-you will scan for in session list.The id never changes
The id never changes
Renaming does not change the session id. Any
praisonai session resume <id> invocation, script, or bookmark keeps working. The title is metadata, not a new address.Clear a title with an empty string
Clear a title with an empty string
praisonai session rename <id> "" removes the title. session list falls back to the agent name, then the first user-message snippet, then the id.Legacy sessions rename too
Legacy sessions rename too
If
praisonai session list shows a session but it lives only in the legacy store, session rename still works β it falls back to SessionManager.rename and persists the title in the legacy metadata.name field.Related
Session
Full CLI reference for all
session subcommandsSession Resume
Continue a previous conversation by id

