Skip to main content

LangChain integration for keep — reflective memory for AI agents

Project description

langchain-keep

LangChain integration for keep — reflective memory for AI agents.

This is a convenience package that installs keep-skill[langchain] and re-exports the integration components.

Installation

pip install langchain-keep

Usage

from langchain_keep import KeepStore, KeepNotesToolkit, KeepNotesRetriever

# LangGraph BaseStore
store = KeepStore()

# LangChain tools
from keep import Keeper
toolkit = KeepNotesToolkit(keeper=Keeper())
tools = toolkit.get_tools()

# RAG retriever
retriever = KeepNotesRetriever(keeper=Keeper(), k=5)

What's included

Component Description
KeepStore LangGraph BaseStore backed by Keep
KeepNotesToolkit 4 LangChain tools (remember, recall, get/set context)
KeepNotesRetriever BaseRetriever with optional now-context
KeepNotesMiddleware LCEL runnable for auto-injecting memory context

Configuration

You need an embedding provider configured. Simplest:

export OPENAI_API_KEY=...    # or GEMINI_API_KEY

Or use the hosted service:

export KEEPNOTES_API_KEY=... # Sign up at https://keepnotes.ai

See the full documentation for all provider options.

Links

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

langchain_keep-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

langchain_keep-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file langchain_keep-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_keep-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for langchain_keep-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44768d6273e3318a12d16704915393b508db734fe3faf79fb4124a65861c32a4
MD5 c3178a7b83727db163b2476239a559be
BLAKE2b-256 927b68d89177dc3da4950182d2dcf58e86c06d75b5faaf2634a2a6483a20afd9

See more details on using hashes here.

File details

Details for the file langchain_keep-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: langchain_keep-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for langchain_keep-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3670c8f118c0dcd74f72a715a68210be1122660ad2b645c721337ccbb2ff7c2
MD5 9e66107dcb9e8a14c489c7f4732669b7
BLAKE2b-256 8ec85995361666dd4139cece74b39567a6ecf5090b8f62001a0ec055bef0df97

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