Skip to main content

Memory layer and SDK for LLMs

Project description

Reca11 — Memory Layer for LLMs

Reca11 is a plug-and-play memory architecture designed to add persistent context to your LLM applications. It intelligently tracks and stores three core components of every conversation:

  • Recent chat history
  • Core user facts
  • Evolving thematic summaries

This enables better recall, continuity, and personalization in any app powered by large language models.

Link to research article: COMING SOON!


Installation

Install the SDK via pip:

pip install reca11-memory

Generate an API Key

To use the memory service, you’ll need an API key.

Visit: https://reca11-memory-1.onrender.com
Click the "Generate API Key" button to instantly receive a unique key.


Quickstart

Here’s how to get up and running in just a few lines:

from reca11 import Reca11

rc = Reca11(
    api_key="your-api-key",
    openai_key="your-openai-key",
    project_name="my-project"
)

chat_pair = {
    "assistant": "Hi! What did you do today?",
    "user": "I tried pineapple on pizza. Safe to say I'm not a fan!"
}

memory = rc.recall(chat_pair)

print(memory)

Health Check

To verify the backend is online:

GET https://reca11-memory.onrender.com/health

Expected response:

{ "status": "ok" }

License

This project is open-sourced under the terms of the MIT License.

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

reca11_memory-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

reca11_memory-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file reca11_memory-0.1.1.tar.gz.

File metadata

  • Download URL: reca11_memory-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for reca11_memory-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fac39b0228381c033c4907fe8d778493a0c68db314e88ca1bfd20119299bcab5
MD5 339a8be712eb10ea8311aa1667ef952e
BLAKE2b-256 c7349fac8f17f3a39c9f0ef469268b51d0142c318d80121e5fbbc502b8a62509

See more details on using hashes here.

File details

Details for the file reca11_memory-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: reca11_memory-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for reca11_memory-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34dba19253afc1d3867a14543a0cbc2ca0d9c75d0e9cae83a764c22eb762c6fa
MD5 cb1cc29c5a2de574714ae96c16bca05e
BLAKE2b-256 11e9a26fdedf15c7a12ad4fba5ee1b6dcc40edfa03ad915f1357f9d93d4e88a6

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