ereztdev / langmem-ts
PublicTypeScript first class memory primitive for AI agents. Embed → store → retrieve → inject, backed by Postgres + pgvector. Swappable embedders, consumer owns the connection, zero framework coupling. MIT.
langmem-ts is a TypeScript library offering memory tools for AI agents to extract facts from conversations, convert them to searchable forms, store them, and retrieve relevant ones later.
How It Works
You hear about a handy tool that lets AI assistants remember important facts from conversations forever.
You easily add this memory tool to your AI project setup.
You prepare a safe digital notebook where facts will be stored securely.
You connect a clever service that understands and processes chat words.
Chats magically turn into short, useful facts worth remembering.
Facts get tucked into the notebook, ready for anytime recall.
Ask naturally about the past, and get the most relevant facts right away.
Your AI now has a reliable memory, making every chat feel personal and aware.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.