{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "deepmemteam-deepmem--self-host-agent-memory-server",
 "repo": "deepmemteam/deepmem",
 "repo_url": "https://github.com/deepmemteam/deepmem",
 "repo_slug": "deepmemteam-deepmem",
 "title": "Self-host a long-term memory server for your agents",
 "page_title": "How to self-host a long-term memory server for your agents with Deepmem",
 "summary": "Run the open-mode server with Qdrant so agents can store and recall facts per user_id.",
 "who": "A developer who cannot send user conversations to a third-party memory service.",
 "problem": "Agents forget users between sessions without a memory store.",
 "outcome": "A private memory API with hybrid retrieval and per-user isolation.",
 "steps": [
  "Clone the repo and copy the example env file to .env",
  "Configure your LLM provider in .env",
  "Start the stack and call the memories endpoint",
  "Search memories for a test user_id"
 ],
 "agent_prompt": "Self-host deepmemteam/deepmem, store a message for user <id>, then search for a fact from it. Confirm the result is scoped to that user_id only.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Open mode has no API key or user registration, so do not expose the server to the internet without your own auth in front.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python",
  "Docker for self-hosting with Qdrant, or a DeepMem Cloud key",
  "An LLM provider for fact extraction"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/deepmemteam-deepmem/self-host-agent-memory-server/",
 "md": "https://dedupedai.com/use-cases/deepmemteam-deepmem/self-host-agent-memory-server/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/deepmemteam-deepmem--self-host-agent-memory-server.json",
 "api_version": "v1"
}
