Conversation memory
Conversation Memory turns every past agent conversation in a project into a searchable knowledge base. As your agents work, Kangentic builds a local, per-project index of what was said, so you (and your agents) can answer “have we solved this before?” without scrolling through old sessions. It runs entirely on-device with no API key.
What gets indexed
Section titled “What gets indexed”Kangentic indexes the structured transcript of each session - the user turns, assistant replies, thinking blocks, and tool-call summaries - and deliberately never indexes the raw terminal scrollback, which for TUI agents is mostly cursor and redraw noise. Indexing is automatic and incremental:
- A session is indexed when it finishes or suspends.
- An in-progress conversation is re-indexed at each turn boundary, so it becomes searchable within a second or two.
- Older history is backfilled in small sweeps when you open a project, so a large history amortizes instead of blocking.
Since v0.44.0 the same index also holds each task’s own record, the commits on the project’s default branch, and, if you turn them on, task summaries and the project’s source code. The Knowledge Graph page covers those sources.
Indexing is on by default and can be turned off with the Index switch in Settings > Knowledge Graph. Off stops the sweep and hides conversation results in Quick Find and kangentic_search; tasks, backlog items, session events, and projects stay searchable. The index already built stays on disk, and the sweep picks up where it left off when you turn indexing back on.
Keyword and semantic search
Section titled “Keyword and semantic search”Search has two layers:
- Keyword search (on by default) is fast full-text matching over the indexed turns.
- Semantic search adds a small local embedding model that matches by meaning rather than literal words, so a query finds relevant conversations even when the wording differs. It is on while the Knowledge Graph switch in Settings > Knowledge Graph is on, which is off by default.
When both are on, a search by meaning is hybrid: it fuses the two rankings, and a conversation that matches both ways ranks highest. Every failure path (no model yet, extension unavailable, slow embedding) degrades transparently to keyword-only and never blocks a search. A built-in relevance filter drops off-topic and gibberish semantic hits; keyword hits are always shown.
Because the degrade is silent by design, the Knowledge Graph card in Settings is where you find out it happened: a note there names the reason whenever the local model is not running. When the embedding process itself failed, the note says how it stopped (its exit code, or that it failed to start) and gives its first error line. See Semantic search falls back to keyword.
Where you use it
Section titled “Where you use it”Conversation Memory surfaces in four places:
- Quick Find Ctrl+Shift+F / Cmd+Shift+F shows a Conversations group of keyword matches alongside tasks, backlog, events, and projects. It matches words only, whatever the Knowledge Graph switch says, and its last row hands your query to the Knowledge Graph. Selecting a hit opens the read-only conversation viewer scrolled to the matched turn, or routes you to the live terminal if that session is still running.
- The Knowledge Graph Ctrl+Shift+A / Cmd+Shift+A draws the index as a map and answers questions about it by meaning.
- Every task detail window has a View conversation pill (speech-bubble icon, also in the kebab menu) that opens the task’s live session in the viewer, or its newest when none is live - no search needed. The pill is muted until the task has session history. A completed task has the viewer as its own Conversation tab, which its Route and an archived card’s right-click menu open (see Column tabs).- The
kangentic_searchMCP tool lets your agents recall past conversations themselves, by meaning by default or by keyword withmode: "keyword", and drill into a cited turn withkangentic_get_transcript. See the Tool reference.
The conversation viewer
Section titled “The conversation viewer”The viewer is a real workspace window, not a modal: it floats on the board layer alongside task detail windows, and you can drag, resize, snap, tile, and maximize it the same way - so a past conversation can sit next to the live terminal that is continuing the work. Open viewers are part of your workspace: they persist across project switches and app restarts.
Each turn is rendered cleanly (user prompts, assistant replies, thinking blocks, and tool-call summaries) with per-message copy buttons. The header keeps two one-tap actions:
- Open task jumps to the task the conversation belongs to, opening its detail window.
- Copy conversation as Markdown copies the whole transcript as clean Markdown.
Both are also available from the window’s kebab menu.
A plan the agent submitted for approval shows as a Plan card, open, with the plan as formatted text. It is tagged Approved automatically when Kangentic approved it under a column’s Plan approval, or Approved by you when you did, as the agent’s own transcript records it. A plan whose transcript does not say who approved it has no tag, and a copied plan carries the same tag. Since Claude Code 2.1.303 records the plan only once it is approved, a plan still waiting for you shows as a plain ExitPlanMode tool call until you approve it.
Search within a conversation
Section titled “Search within a conversation”An always-visible search bar sits at the top of the viewer. Type to filter the loaded part of the transcript to matching turns (the placeholder reads Search loaded messages while older history is not loaded), each shown with a short snippet, and step through the hits with the prev/next controls (or Enter and Shift+Enter) while a counter tracks your position. Press Ctrl+F / Cmd+F to jump straight to the search input. Clicking a result snaps instantly to that turn with no scroll animation, so finding “where did it decide to use a worktree?” in a long session is a few keystrokes rather than a manual scroll.
Where it opens
Section titled “Where it opens”The viewer opens positioned where you want to be, not at the top:
- By default it opens at the latest message, so reopening a finished session lands on its conclusion.
- If you had scrolled up in the live terminal before opening the viewer, it opens centered on the turn matching what you were looking at, so the clean transcript picks up from the same place as the raw scrollback.
Opening a conversation from a Quick Find hit instead lands on the matched turn, briefly highlighted, even when that turn is in history the viewer has not loaded yet.
Column tabs
Section titled “Column tabs”A task that worked in two or more columns gets a row of tabs under the viewer’s title bar, since v0.48.0: All, then one tab per column of its route, each with the column’s icon. All is the whole conversation, with a line naming the column wherever the task moved. A column tab keeps only the turns from that column, and each stay in it opens with its date. A column that ran an isolated session ends its tab name, and its line on All, with a split icon, and a column the agent never ran in says so. When the names do not fit, every tab but the selected one shows only its icon, named on hover; with even less room the row scrolls. Search and Copy conversation cover the tab you are on. Turns from before Kangentic logged the task’s moves show on All only.
Since v0.49.0 a completed task shows its conversation in its own Conversation tab, the viewer’s body inside the task’s window, with the same column tabs. Clicking a column in its Route opens that tab on the column, and clicking one of its stays opens it at that stay. View conversation in an archived card’s right-click menu opens the task on that tab too. Both work wherever the window is open, the Agent Monitor included. A viewer window already open for a task is reused: a Quick Find hit switches it to All, and the other ways in leave the tab alone.
Long transcripts
Section titled “Long transcripts”The viewer is built to stay smooth on very long sessions - thousands of turns, and tens of thousands of messages. Rows are virtualized and reused as you scroll, so scrolling stays fluid no matter how long the conversation is. A custom overlay scrollbar replaces the browser default: it keeps a usable thumb size on huge transcripts, shows a position bubble while you drag, and offers a jump to latest pill to snap back to the end in one click.
Each session’s transcript opens on its most recent 16 MB, roughly 2,800 turns. Before v0.48.0 that was all the viewer could show, under a notice saying how much was left out. Now the earlier history loads as you scroll up, 8 MB at a time, and the scrollbar spans the whole conversation from the start. Dragging the thumb past the loaded part shows placeholder rows and the date under the pointer (no date for an agent whose transcript carries no timestamps), then loads the page there once the pointer rests. Jump to start, in the window’s menu and on the row at the top of the loaded part, goes to the first message. A viewer holds at most eight earlier pages at once, and loading another drops the page farthest from where you are reading. Every agent whose transcript Kangentic reads pages this way, except Aider, a Gemini session saved in its older single-file format, and a remote OpenCode session.
The 16 MB bound has stood since v0.36.0, because parsing a whole file briefly costs about twenty times what it retains, and several such parses running at once is how the app ran out of memory on a 138 MB transcript. Paging keeps it: each page is read on its own, one at a time, in the background search worker, and a read that takes too long gives up rather than stopping the worker. Reopening the viewer on a very large transcript no longer stops the background search index.
Nothing is lost to search: the conversation index walks the whole file in windows regardless, so an early turn is findable in Quick Find and by kangentic_search before the viewer has loaded it.
After the agent deletes its transcript
Section titled “After the agent deletes its transcript”Claude Code deletes transcripts older than its cleanupPeriodDays setting. Since v0.46.0 Kangentic keeps its own copy of each parsed conversation, compressed in the project’s database, so the viewer still shows the conversation afterwards, under a banner that says the agent deleted the original file. The copy is written whatever the indexing switch says, uses no model and no network, and is deleted with the task’s session records. On one project’s 629 conversations, 4.6 GB of transcript files came to 86 MB. kangentic_get_transcript reads the same copy, and the recap that starts a deleted conversation over takes its last turns from it.
Choosing a model
Section titled “Choosing a model”When you turn the Knowledge Graph on, Kangentic downloads a small embedding model (from Hugging Face) and then runs it offline. Pick it with Search quality in Settings > Knowledge Graph:
| Search quality | Model | Dimensions | Approx download | License |
|---|---|---|---|---|
| Best (default) | IBM’s Granite embedding English R2 (granite-r2) |
768 | ~153 MB | Apache-2.0 |
| Light | bge-small-en-v1.5 (bge-small) |
384 | ~33 MB | MIT |
Granite R2 replaced the bge-base and bge-large models in v0.45.0, because it ranked the right answer higher on both of the app’s measurement sets, one of docs and one of code, drawn from Kangentic’s own repository. A config that still names one of the removed models reads as Best, so the first launch after the update downloads Granite R2 and re-embeds the index in the background, and search by meaning answers by keyword alone until that finishes. The row under the choice names the model, its size, and where it runs, and a License line links the model’s license.
Embedding runs in an isolated background process so it never blocks the UI, and it is duty-cycle throttled so it paces itself and yields to any active search - even a first-run or post-model-switch backfill never pegs your CPU or GPU. A Model acceleration dropdown (Auto / GPU / CPU) picks where it runs - Auto and GPU prefer your GPU (DirectML on Windows, WebGPU elsewhere) and fall back to CPU. It was called Hardware acceleration until v0.43.0, and was renamed once Settings gained a Graphics acceleration row, since two settings you would read as the same thing is worse than one longer label. Switching models re-embeds the index in the background. Rebuild the index, in the same tab’s Index card, reads every source again if search ever misses something you know is there; see Rebuilding the index.
That process is not held open between jobs. It stays while there is anything left to embed, and is released half an hour after the last query or batch once no project has work pending; on Windows, where a long index drain grows it, a worker past 1.5 GB is released after two minutes instead. It comes back on demand, and opening the Knowledge Graph starts it ahead of your first question, so the cold start is not spent on your search. A query whose budget runs out while it is still starting falls back to keyword, the same as every other degraded path.
Privacy
Section titled “Privacy”The index is local and keyless. Only structured conversation turns are indexed (never raw terminal output), the index lives in each project’s database, and searching never leaves your machine. The one network access the index itself makes is the embedding-model download when you first turn the Knowledge Graph on, repeated only when you pick another model or an update replaces the one you run. Asking the Knowledge Graph a question is different: it sends the related passages to the agent you chose to answer it. See Knowledge Graph privacy and Privacy and analytics.
Settings
Section titled “Settings”Indexing, the local model, and everything the Knowledge Graph adds share one tab, Settings > Knowledge Graph. It was the Memory tab through v0.43.2. The Knowledge Graph settings table walks every row, and the Configuration reference lists every knowledgeGraph.* key.
See also
Section titled “See also”- Knowledge Graph - the map of this index, and questions answered from it
- Quick Find - the palette that shows conversation hits
- Tool reference - how agents recall conversations
- Session persistence - what a session stores and how it resumes
- Dictation - the other on-device, keyless AI feature
- Privacy and analytics - what stays local
Kangentic is free and open source. A star helps other people find it.
Star on GitHub