Px
pinexai.dev
/ agent-memory
All Docs GitHub
🧠

agent-memory

Production-ready persistent memory for AI agents. Three-tier architecture in 3 lines of code.

v0.1.2 Python 3.10+ MIT License MCP compatible
$ pip install agentcortex

Overview

Give your AI agents the gift of memory. Persistent, structured, and works with every major framework.

💡
One-line install: pip install agentcortex — works with LangChain, CrewAI, AutoGen, and raw SDKs.

The Problem

AI agents are stateless by default. Every conversation starts fresh — they forget everything. Building custom memory systems on top of raw LLM APIs is complex, error-prone, and not portable between frameworks.

agent-memory solves this with a production-ready three-tier memory system that mirrors how human memory actually works. One import. Three lines. Works with any agent framework.

🧠 Three-tier architecture
Working, episodic, and semantic memory — just like human cognition.
🔌 Universal compatibility
LangChain, CrewAI, AutoGen, Anthropic, OpenAI, MCP — all supported.
⚡ 3 lines of code
Drop-in memory for any agent in under a minute. No config files.
💾 Local SQLite default
Data stays on your machine. Swap to Qdrant for semantic search at scale.