# Letta vs pgvector — Fit & Features

Canonical: https://trutool.co/compare/letta-vs-pgvector
Author: Snehil (https://trutool.co/authors/snehil)

Compare Letta and pgvector by use case, features, limitations, and evaluation questions.

## Compare fit, features, and limitations

### Letta
Build agents that retain and manage state and memory across interactions.
Best fit: Developers building grounded assistants with persistent context and retrieval.
- Stateful agents
- Agent memory
- Agent APIs
Before you choose: Test retrieval quality, deletion behavior, access boundaries, and retention. Compare hosting and embedding costs for your data.
Pricing: https://www.letta.com
- [Read Letta profile](https://trutool.co/tools/letta): Read Letta profile

### pgvector
Add vector similarity search to PostgreSQL using an open-source extension.
Best fit: Developers building grounded assistants with persistent context and retrieval.
- PostgreSQL vectors
- Similarity search
- Vector indexing
Before you choose: Test retrieval quality, deletion behavior, access boundaries, and retention. Compare hosting and embedding costs for your data.
Pricing: https://github.com/pricing
- [Read pgvector profile](https://trutool.co/tools/pgvector): Read pgvector profile
