GENAIWIKI

intermediate

Understanding Agent Memory: Scratchpad vs Vector Store

Explore the differences between scratchpad and vector store memory in AI agents, and learn how to choose the right approach for your applications.

10 min read

AIMemoryScratchpadVector Store
Updated today

Introduction

In this tutorial, we will discuss the two main types of memory used in AI agents: scratchpad and vector store.

What is Scratchpad Memory?

Scratchpad memory is a temporary storage that allows agents to keep track of information during a task.

What is Vector Store Memory?

Vector store memory, on the other hand, is a more permanent storage solution that allows for efficient retrieval of information based on similarity.

Comparing Scratchpad and Vector Store

We will compare the pros and cons of each memory type and provide guidance on when to use each.

Conclusion

By understanding these two memory types, you can make better decisions in designing AI agents.