Learn about Agent Memory - supercog-ai/community GitHub Wiki

Agents have multiple different types of memory they use to retain and recall information.

Short term memory occurs in the history of the chat session you have with each agent. Note that you can always go back to old older chat session, and the agent will retain the specific memory of that session.

RAG memory You can attache a knowledge index to your agent, which will give your agent the ability to store large amounts of docs, web pages, and image information, and recall facts and details from that index later. This storage is called "RAG storage" after technical term "Retrieve Augmented Generation".

There are multiple ways to add knowledge into a RAG index:

  • Files uploaded to your agent via the web interface or Slack are automatically added to the index
  • Visit the Knowledge Index page in the dashboard, where you can upload individual files or attach cloud document services.
  • Paste a bare URL as the prompt to your agent and it will automatically index that page.

Memories Each agent has a special "memory bank" which are sets of short facts that the agent will always remember. Any info in this list is automatically included in every chat. You can edit your agent's memories on the Memories & Learning tab of the Editor page. Or you can ask your agent to "remember this fact: xxx". This works with the My Supercog agent, or any agent that has the AutoDynamicTools tool attached.

Static memory Of course anything included in your agent's instructions make up a sort of "static memory" that is never forgotten.