We built a managed memory API for AI agents (open-source SDK + AGM-style belief revision for handling contradictions)

Reddit r/artificial Tools

Summary

XTraceAI launched a managed memory API for conversational AI agents, featuring an open-source SDK (xmem) with AGM-style belief revision to handle contradictions and automatic fact extraction. It uses PostgreSQL with pgvector for semantic retrieval and supports multi-tenant isolation, allowing developers to offload memory management.

Hey all! We just launched a managed memory API for conversational AI, letting developers add long-term memory to their agents with a single HTTP call. It's built on our in-house xmem SDK, which automatically extracts facts, episodes, and artifacts from multi-turn conversations and handles contradictions and updates through an AGM-style belief revision mechanism. When a user changes a preference or corrects an earlier statement, old memories get automatically flagged as "superseded" instead of piling up as noise. At query time, you can also walk the supersede chain to trace the full version history of any memory. Under the hood, PostgreSQL + pgvector (with HNSW indexing) delivers millisecond-level semantic retrieval, Redis handles multi-pod session caching, and the system natively supports multi-tenant isolation with data separation at the user and org level. For developers, this means you no longer have to stand up your own vector store, design dedup logic, or babysit session state. Hand off the memory layer to us and focus on what your agent actually does. Feel free to try it out, it's free to start. Please let us know your thoughts on how we can improve or features to add! [https://github.com/XTraceAI/memory-sdk-ts](https://github.com/XTraceAI/memory-sdk-ts) [https://docs.mem.xtrace.ai/introduction](https://docs.mem.xtrace.ai/introduction)
Original Article

Similar Articles

rohitg00/agentmemory

GitHub Trending (daily)

agentmemory is an open-source persistent memory layer for AI coding agents (Claude Code, Cursor, Gemini CLI, Codex CLI, etc.) that uses knowledge graphs, confidence scoring, and hybrid search to give agents long-term memory across sessions via MCP, hooks, or REST API. Built on the iii engine, it requires no external databases and exposes 51 MCP tools.

Last week I built an AI Agent, this week I added memory!

Reddit r/AI_Agents

A developer shares their experience building an AI agent with memory using the Anthropic SDK and TypeScript, explaining the differences between working, episodic, semantic, and procedural memory and the challenges of scaling memory for production.