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.11.tar.gz (102.6 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.11-py3-none-any.whl (105.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reeve-0.1.11.tar.gz
  • Upload date:
  • Size: 102.6 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.11.tar.gz
Algorithm Hash digest
SHA256 108067459d16e89b6d1e6f7b6900300b21a28475dd8520d95b66aeeadbe0340d
MD5 1a057d8965409dd1370a787719edeec9
BLAKE2b-256 23a0cabda2e9e9ed46c3e479f58d668fb145d9a3026bbdda2a6c62c7142c93cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reeve-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 105.8 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 3b66c790800e2db3f9326fb20bd2fedb635ea4bf2beb41494f7b93208db3bb05
MD5 47a383cfce3c9fa1cd8ba14fa6a01367
BLAKE2b-256 cda2e9f3ac25a9a885276c402ad56435d5da6cf90dd0b12c56f6b63cb7294455

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