Lifetime persistent memory for LLMs. A lightweight SDK for structured knowledge graphs.
Project description
Reeve
Add persistent memory to any AI agent in one line.
from reeve import ReeveAgent
agent = ReeveAgent(llm=llm)
agent.chat("I prefer Python over JavaScript")
print(agent.chat("What programming language do I prefer?"))
Python
No manual retrieval. No manual storage. No prompt engineering.
Reeve automatically retrieves, updates, and shares memory across AI agents.
Why Reeve?
Most AI applications rely on:
- Chat history
- Vector databases
- Custom memory prompts
- Hand-written retrieval pipelines
As applications grow, these approaches become difficult to maintain and often fail to preserve long-term context.
Reeve provides a persistent memory layer that:
- Stores durable knowledge instead of raw conversation logs
- Automatically retrieves relevant memory before model calls
- Extracts and stores new knowledge after conversations
- Shares memory across agents, frameworks, and models
- Works with existing AI stacks without changing application logic
Quick Start
Install Reeve:
pip install reeve
One-Line Agent Memory
from reeve import ReeveAgent
agent = ReeveAgent(llm=llm)
agent.chat("Our startup uses Memgraph")
print(
agent.chat("What database do we use?")
)
Memgraph
Memory retrieval, storage, and updates happen automatically.
Which API Should I Use?
I want memory in 30 seconds
from reeve import ReeveAgent
agent = ReeveAgent(llm=llm)
I already use LangGraph, LangChain, CrewAI, Agno, or another framework
from reeve import ReeveMemory
agent = Agent(
middleware=[
ReeveMemory()
]
)
I want complete control
from reeve.tools import (
store_memory,
query_memory
)
How Reeve Works
User Message
↓
Retrieve Memory
↓
Inject Context
↓
LLM
↓
Extract Knowledge
↓
Store Memory
Reeve handles the memory lifecycle automatically so developers can focus on building agents instead of memory infrastructure.
Features
-
ReeveAgent for one-line memory integration
-
ReeveMemory middleware for existing agent frameworks
-
Shared memory across agents and models
-
Automatic memory retrieval and injection
-
Durable knowledge extraction
-
Relationship-aware memory graph
-
Entity deduplication and reconciliation
-
Importance-aware memory storage
-
Team and organization memory via namespaces
-
Framework adapters for:
- OpenAI Agents SDK
- LangGraph
- LangChain
- CrewAI
- Agno
-
Hosted MCP support
-
Backward-compatible low-level APIs
Shared Memory Across Agents
Use the same namespace across multiple agents:
from reeve import ReeveMemory
memory = ReeveMemory(
namespace="company_memory"
)
Claude, GPT, Gemini, Cursor, LangGraph agents, and custom applications can share the same memory layer.
Framework Support
OpenAI Agents SDK
from reeve import ReeveMiddleware
from reeve.adapters import OpenAIAgentsReeveAdapter
LangGraph
from reeve import ReeveMemory
LangChain
from reeve import ReeveMemory
CrewAI
from reeve import ReeveMemory
Agno
from reeve import ReeveMemory
Backward Compatibility
Existing integrations continue to work:
from reeve.tools import (
store_memory,
query_memory
)
No migration is required.
Documentation
The full developer guide includes:
- ReeveAgent
- ReeveMemory
- Framework adapters
- Shared memory
- Retrieval policies
- Advanced configuration
- Migration guides
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reeve-0.1.12.tar.gz.
File metadata
- Download URL: reeve-0.1.12.tar.gz
- Upload date:
- Size: 122.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
889e8fa18290dbae35d2ab930a51339f4de4bf73f443d814859f5f7d1fc1a753
|
|
| MD5 |
1490bfe24702830164f6ea10476cf305
|
|
| BLAKE2b-256 |
c62ac16496c6bb0151c62c9ccd53dad5b9dac9f2a62dff268158602612e5fa4e
|
File details
Details for the file reeve-0.1.12-py3-none-any.whl.
File metadata
- Download URL: reeve-0.1.12-py3-none-any.whl
- Upload date:
- Size: 118.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7178e828719afb4c47306e89b8918e8963d2c5e5ef04219896fc1132439d5cd
|
|
| MD5 |
baa4eb368ca84af4e4f266512d09a350
|
|
| BLAKE2b-256 |
1366daf3e59f79484c41435274058473f28b7e77165bdd3969a4b21fd30472ae
|