HomeTutorials › Context & Memory
Context & Memory

Conversation History & Memory

#068 0:17 Part of the Rysh video series

Recall any pane's conversation, and let old turns compact into summaries.

Conversation History & Memory — 0:17 walkthrough

What you'll see

  1. Launch rysh and split a second pane so there are two agents with separate conversations.
  2. From prompt mode, ask the agent to retrieve the other pane's conversation -- the session_history tool reads any pane's turns.
  3. In rysh mode, run ##pane history prompt to print this pane's own history.
  4. Explain memory compaction: old turns fold into compact MemoryEntry summaries to keep context small.

Commands shown

rysh
n
use session_history to summarize what the other pane has discussed
##pane history prompt

Keys used

EnterCtrl+pEscape

Transcript

0:00Recall any pane's conversation, and let old turns compact into summaries.

0:03Start rysh and split a second pane so we have two agents with separate conversations.

0:09From prompt mode, ask the agent to retrieve the other pane's conversation. The session_history tool reads any pane's turns.

0:22Drop into rysh mode to print this pane's history directly -- shell and prompt turns are all kept.

0:36As conversations grow, memory compaction folds old turns into compact MemoryEntry summaries -- context stays small and sharp.

Key takeaway
session_history exposes any pane's conversation, and memory compaction keeps long sessions lean.