記憶

對話搜尋

能夠找回先前的對話、決策和成果。

對話搜尋

這是什麼

能夠找回先前的對話、決策和成果。

白話解釋

對話搜尋就像是能夠重新打開並搜尋企業過去所有的通話記錄,而不是依賴接聽者記得細節。如果某個事實從未進入整齊的永久筆記,它通常仍然一字不漏地存在於某次先前的對話中——這個工具會去把它找出來。

為什麼重要

大量有用的細節從未進入精心整理過的長期記憶,但仍然存在於過去的某次對話中——一個決策、一份生成的成果、一個依稀記得的細節——而對話搜尋正是按需將其挖掘回來的方式。它是針對那些整理過於保守、未能捕捉到值得保留內容的情況的實用備案。在運行數月的 VPS 部署中,手動重讀舊對話在變得必要之前,早就已經不切實際了。

How it works

The session_search tool (tools/session_search_tool.py) runs against a local database of every past conversation, using FTS5 — a fast full-text search index — to find matching messages without any extra AI calls. It works in a few shapes: a plain search returns the top matching sessions, each with a short snippet, up to five messages either side of the match, and the first and last three messages of that session so the goal and outcome are visible at a glance; a scroll call re-centers on a specific message to pull a wider window; passing just a session ID with no search term dumps that whole conversation; and calling it with no arguments at all just lists recent sessions. Sessions from subagent delegations or third-party tool integrations are hidden from these results by default, and repetitive scheduled-job sessions are ranked lower so they don’t crowd out real conversations.