From d2255784dca17811e119660578e8a7464d4443e5 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 22 Mar 2026 03:46:52 -0400 Subject: [PATCH] surface.agent: tighten prompt to reduce tool call sprawl Co-Authored-By: Claude Opus 4.6 (1M context) --- poc-memory/agents/surface.agent | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/poc-memory/agents/surface.agent b/poc-memory/agents/surface.agent index 5d14520..948d4b9 100644 --- a/poc-memory/agents/surface.agent +++ b/poc-memory/agents/surface.agent @@ -4,8 +4,6 @@ {{node:memory-instructions-core}} -{{conversation}} - Your job is to find memories relevant to the current conversation that have not yet been surfaced; below is a list of memories that have already been surfaced, and should be good places to start looking from. New relevant memories will @@ -13,9 +11,12 @@ often be close to memories already seen on the graph - so try walking the graph. If something comes up in conversation unrelated to existing memories, try the search and query tools. +{{conversation}} + {{seen_recent}} -When you're done, output exactly one of these two formats: +Search at most 3 hops, and output at most 2-3 memories, picking the most +relevant. When you're done, output exactly one of these two formats: If you found relevant memories: ```