Save working memory
Saves or updates one reusable memory so future agents can follow preferences, avoid repeated mistakes, and remember useful procedures.
Created by Chris Moen • Version 18 • 14 steps
Build a reliable long-term memory
This workflow functions as a bridge between separate AI tasks, allowing your agents to learn from every interaction. Rather than starting from scratch each time you run a process, this template captures specific insights, user preferences, and operational guardrails. It ensures that when an agent discovers a better way to complete a task or learns a particular formatting preference, that knowledge is stored permanently.
By maintaining a consistent record of "working memory," you help your automated systems evolve. This flow identifies new information within a conversation or task and updates your central memory bank accordingly. It prevents the frustration of repeated mistakes and ensures your AI agents behave like experienced team members who remember past instructions.
How the memory-bank-store integration works
This template uses the memory-bank-store integration to provide a structured database for your agent knowledge. This tool acts as a dedicated repository where information is indexed and made searchable for future steps. When the flow triggers, it evaluates the current input against existing records. If the information is new, it creates a fresh entry. If it is an update to an existing rule or preference, it overwrites the old data to ensure your "source of truth" remains accurate.
Step-by-step logic
The process is straightforward but effective. First, the flow scans the output of your recent agent activity for "memory-worthy" content. This includes things like a preferred tone of voice, a specific technical procedure, or a correction provided by a human monitor. Next, the system formats this data into a standardised snippet. Finally, it performs a writeback to the memory bank. This update happens in real-time, meaning the very next agent that runs will have access to the refined guidance immediately.
Key benefits for your workflow
- Consistency across agents: Ensure every tool in your stack follows the same brand guidelines and technical procedures.
- Reduced repetition: You won't need to re-type the same instructions into every prompt or configuration file.
- Continuous improvement: Your system gets smarter the more you use it by documenting what works and what doesn't.
- Personalised outputs: Store specific user preferences to make every automated response feel more relevant.
- Operational guardrails: Maintain a list of "do not do" actions to prevent agents from making known errors.
FAQ
What does the Save working memory workflow do?
This workflow saves or updates specific pieces of information to a central memory store. It helps your future agents remember your unique preferences, follow established procedures, and avoid repeating past mistakes.
How does this workflow store and retrieve information?
The flow uses the memory-bank-store integration to write data back to a persistent database. It captures useful context from your current task and organises it so other agents can access it later.
How can I customise what the agents remember?
You can use this flow to set up guardrails, document specific workflows, or save personal preferences. By tagging your memories with labels like procedures or preferences, you make it easier for agents to find the right guidance.
Which services do I need to connect to use this flow?
This workflow is built to work directly with the memory-bank-store service. Once you've connected your account, the flow manages the writeback process for you.