Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reeve-0.1.13.tar.gz (127.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reeve-0.1.13-py3-none-any.whl (122.2 kB view details)

Uploaded Python 3

File details

Details for the file reeve-0.1.13.tar.gz.

File metadata

  • Download URL: reeve-0.1.13.tar.gz
  • Upload date:
  • Size: 127.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for reeve-0.1.13.tar.gz
Algorithm Hash digest
SHA256 a2010f93de74c296e6c7aa7d27f7674d8ada72e770e7d07d589ba567ee5ccf19
MD5 9d092ae28899b899fd8577ca2cdb87f3
BLAKE2b-256 e0277b1ecac030777679179b449c38367af49345f2b8005b38e26dee6d68fe41

See more details on using hashes here.

File details

Details for the file reeve-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: reeve-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 122.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for reeve-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 751ce16baff7ca49cc9dbc3e83098060c3b9ca7661573fc12453bc262c224f0c
MD5 95b84a0575ecac3304e3d7b87b616759
BLAKE2b-256 444929b7d64a1579b0292df5caf6794d38c403b4f0d21013d6063cfa3637907e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page