logoalt Hacker News

Muromecyesterday at 2:18 PM1 replyview on HN

The trick I'm doing -- the model is given a tool that runs a prompt in the current thread to consolidate it's working memory and identity (it has a memory tool bound to the agent persona). When the prompt ends, the parts of memory that are marked as identity are merged together into a new system prompt, then the context restarts with only system prompt and this tool call surviving. Then it just keeps going.


Replies

mblangieyesterday at 5:56 PM

[flagged]