Skip to main content

Chat History and Memory

Last updated on

Harness AI chat history and Memory let you search past conversations and carry useful context into future chats. Chat history stores your conversations so you can return to them, and Memory distills older chats into concise, persistent insights that personalize future Harness AI responses.


What will you learn in this topic?

By the end of this topic, you will be able to:


Before you begin

Before you use chat history and Memory, ensure you have the following:

  • Harness AI access: Harness AI must be active for your account. Go to Overview of Harness AI to enable Harness AI.
  • Chat access: Access to Harness AI chat in the module where you work. Go to Overview of Harness AI to confirm available modules.

How chat history and Memory work

Chat history and Memory serve different purposes. Chat history preserves your full conversations for a retention period, and Memory stores distilled insights that persist beyond that period to personalize future responses.

Chat history

Harness AI stores every session in your chat history. You can search past chats by keyword, topic, or date, and navigate back to previous conversations to pick up where you left off.

Data retention

Harness keeps conversations for a minimum of 30 days from the last message. After 30 days of inactivity, Harness may summarize the conversation into Memory. When you resume a chat by sending a message, the retention clock resets.

Memory

When a conversation passes the retention threshold or meets summarization criteria, Harness AI automatically compresses that chat into a summary and stores it as Memory.

These Memories persist beyond the chat history retention period and help Harness AI provide personalized, relevant answers in future interactions. Memories are not full chat transcripts. They are distilled insights, such as:

  • Preferences and style: Your role, preferences, and how you like responses formatted.
  • Projects and workflows: Projects you work on and the workflows you use most often.
  • Recurring patterns: Repeated tasks or approaches that describe how you work.

View and control chat history

Use your chat history to review past conversations and manage what Harness AI stores. The interface displays your past chats in a searchable, filterable list, and you can control Memory and search behavior from your personal settings.

When you open an older chat, you can review the conversation and see whether Harness has summarized or archived it into Memory.

Your settings let you enable or disable the Memory feature and chat history search. Memory controls are personal, and account, organization, and project admins cannot view personal Memories. Go to Harness AI Memories to manage personal Memories.

When you start a new chat, you begin fresh. Harness AI still references relevant Memories, if enabled, to provide context.


Scope of memory

Memory captures selected insights that improve future responses and deliberately excludes sensitive or transient data. Understand what Harness AI does and does not store so you know what context carries forward.

What gets remembered

  • Role and context: Your role and chat context, for example, "Rohan is a Product Director focused on AI-native software delivery".
  • Work preferences: How you prefer to work, for example, "Prefers markdown-formatted summaries" or "Often works on pipelines in Kubernetes".
  • Patterns and workflows: Key patterns, workflows, and recurring tasks, for example, "Uses GitOps pipelines for deployment" or "Monitors CD events programmatically".

What does not get remembered

Memory does not store:

  • Full transcripts: Complete chat conversations.
  • Sensitive data: Information such as passwords or API keys.
  • Deleted content: Conversations you explicitly delete.

FAQ

How long is chat data kept before it is summarized?

Harness keeps chat data for a minimum of 30 days from the last message in the conversation. After that, Harness may summarize it into Memory.

If I resume a conversation, does it still get summarized?

When you send a new message to a chat, the retention clock resets, and the conversation stays in chat history rather than being summarized prematurely.

Is every chat automatically turned into a Memory?

No. Only chats that meet summarization criteria, such as chats older than the threshold, inactive, or user initiated, get summarized. Only selected insights become Memory. Harness does not retain full transcripts indefinitely.

Does Memory show up across different projects or teams?

Memory is scoped to each user. Harness does not share Memory across projects.