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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44768d6273e3318a12d16704915393b508db734fe3faf79fb4124a65861c32a4
|
|
| MD5 |
c3178a7b83727db163b2476239a559be
|
|
| BLAKE2b-256 |
927b68d89177dc3da4950182d2dcf58e86c06d75b5faaf2634a2a6483a20afd9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3670c8f118c0dcd74f72a715a68210be1122660ad2b645c721337ccbb2ff7c2
|
|
| MD5 |
9e66107dcb9e8a14c489c7f4732669b7
|
|
| BLAKE2b-256 |
8ec85995361666dd4139cece74b39567a6ecf5090b8f62001a0ec055bef0df97
|