ayushagrawal288/memex
by Various
Production-grade persistent memory service for AI agents — FastAPI + pgvector + local ONNX embeddings
MCP
ayushagrawal288/memex
Added 7 June 2026
Overview
Memex is a production-grade persistent memory service for AI agents built with FastAPI, pgvector, and local ONNX embeddings. It provides a REST API for storing and retrieving vector embeddings, enabling agents to maintain long-term context across sessions.
Best for
Best for
Developers building AI agents that need a self-hosted, scalable memory layer
Use cases
- Give AI agents persistent memory across conversations or tasks
- Store and query vector embeddings for semantic search in agent workflows
- Build a scalable memory backend for multi-agent systems
How to use
Install
docker compose up Tools exposed
store_memorysearch_memoriesdelete_memorycount_memories
Notes
Memex is a production-grade persistent memory service for AI agents built with FastAPI, pgvector, and local ONNX embeddings. It provides a REST API for storing and retrieving vector embeddings, enabling agents to maintain long-term context across sessions.
0 stars on GitHub. Last updated 2026-06-04. Licensed MIT.
Use cases
- Give AI agents persistent memory across conversations or tasks
- Store and query vector embeddings for semantic search in agent workflows
- Build a scalable memory backend for multi-agent systems
Pros
- Uses pgvector for efficient vector storage and retrieval
- Runs locally with ONNX embeddings, no external API dependencies
- FastAPI provides a modern, performant REST interface
Cons
- Requires PostgreSQL with pgvector extension, adding infrastructure complexity
- Limited documentation and community support due to zero stars
- ONNX embeddings may have lower accuracy than cloud-based alternatives
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Uses pgvector for efficient vector storage and retrieval
- Runs locally with ONNX embeddings, no external API dependencies
- FastAPI provides a modern, performant REST interface
Cons
- Requires PostgreSQL with pgvector extension, adding infrastructure complexity
- Limited documentation and community support due to zero stars
- ONNX embeddings may have lower accuracy than cloud-based alternatives
Open-source & AI alternatives
Swap-in tools that solve the same job. Weigh the trade-offs before you commit.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
