Menu

1 / 5

Binding Sherlock Hits to Durable Agent Memory with pgvector

DEV Community: database·Samuel Oakley·11 days ago
#4cq2Hpcm
#devtodatabase#devto#dev#sherlock#embedding
Long article (1265 words) — no AI summary yet.
Reading 0:00
15s threshold

Binding Sherlock Hits to Durable Agent Memory with pgvector

The page that wakes you is not that Sherlock is down. It is the ingest worker: p99 past several seconds, a queue of embeddings that will not drain, and an agent that just ranked a near-duplicate profile as if it belonged to someone else. We do not maintain sherlock-project/sherlock. We import it inside an agent worker and treat a confirmed hit as a memory write. The sweep is the easy part. The failure is everything after the hit, when a noisy, short-lived page has to become a normalized row the agent can still rank next week.

Sherlock remains the practical way to check a username across hundreds of public sites without a custom checker per site. Our layout keeps three boundaries. A discovery worker imports the library, caps concurrency, and emits only confirmed profile URLs plus a short snippet. A separate ingest path owns cleanup, embedding, and the Postgres write. The query path never calls Sherlock; it only reads the vector store.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.