Conversations

Posit Assistant keeps a full history of your conversations. You can switch between them, branch off in new directions, and export conversations in multiple formats.

Conversation History

All conversations are saved automatically. Use the history panel to:

  • Switch between past conversations
  • Rename a conversation to give it a meaningful title (otherwise one is generated automatically)
  • Delete conversations you no longer need
Conversation history panel showing past conversations

Branching

Conversations in Posit Assistant are stored as a tree, not a flat list. When you edit a previous message, the assistant creates a new branch from that point — your original conversation is preserved alongside the new direction.

This is useful when you want to:

  • Try a different approach without losing your earlier work
  • Ask the same question in a different way
  • Explore multiple analysis directions from the same starting point

Navigate between branches using the conversation tree controls.

Conversation branching controls showing navigation between message variants

Import & Export

Export conversations from the three-dot menu in the chat panel. Available formats:

FormatDescription
MarkdownPlain text export of the conversation.
HTMLStandalone HTML file that can be viewed in any browser.
JSONFull conversation tree structure for programmatic use.

Conversations can also be imported from previously exported HTML or JSON files.

Export menu showing available conversation export formats

Token Usage & Compaction

Long conversations accumulate tokens, which affects response quality and speed. Posit Assistant manages this automatically:

  • Auto-compaction kicks in when the conversation approaches the model’s context limit. The assistant summarizes earlier messages to free up space.
  • Manual compaction via /compact lets you trigger this yourself. The summary preserves key context while hiding older messages from future requests.
  • Token counter — use /context to see current token usage.

Compacted messages are never deleted — they’re hidden from the model but preserved in the conversation tree. Previously compacted messages are shown in greyscale.

Compacted conversation example showing compaction message