close
breadcrumb right arrowGlossary
breadcrumb right arrowVector Database
Vector Database

A traditional database finds records by exact matches, an account number, an exact keyword. A vector database instead stores each piece of content as a numerical embedding, a representation of its meaning, and finds results based on how similar those meanings are, so a search for "canceling a subscription" can surface a document about "terminating a recurring plan" even though none of the words match exactly.

This is the underlying mechanism that makes AI agent memory and retrieval-augmented generation work: relevant company documents, past conversations, or policy text get embedded and stored, and when an agent needs context for a new task, it searches the vector database for what's semantically closest rather than requiring an exact keyword match.

Frequently Asked Questions

How is a vector database different from a regular database?

A regular database is optimized for exact-match lookups, an ID, a specific field value. A vector database is optimized for similarity search over embeddings, finding what's conceptually closest to a query rather than what matches it exactly.

What are embeddings, in plain terms?

A numerical representation of a piece of text (or image, or other content) that captures its meaning as a list of numbers, positioned so that similar meanings end up numerically close together, even if the actual words used are quite different.

Why do AI agents need a vector database specifically?

Because an agent's context window is limited, it can't hold a company's entire knowledge base at once. A vector database lets it retrieve just the relevant slice of information for the task at hand, rather than needing everything loaded upfront.

Is a vector database the same thing as agent memory?

A vector database is commonly the underlying storage mechanism that makes agent memory possible, but memory is the broader concept (what gets stored, retained, and recalled over time); the vector database is one specific technology used to implement it.