Skip to main content

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

Metadata

Release files for langchain-keep 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-keep 0.1.0
File Size Uploaded
langchain_keep-0.1.0.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-keep 0.1.0
File Interpreter ABI Platform
langchain_keep-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 kB

Release files / langchain_keep-0.1.0.tar.gz

Download URL langchain_keep-0.1.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
44768d6273e3318a12d16704915393b508db734fe3faf79fb4124a65861c32a4
BLAKE2b-256 checksum
How to use checksums
927b68d89177dc3da4950182d2dcf58e86c06d75b5faaf2634a2a6483a20afd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / langchain_keep-0.1.0-py3-none-any.whl

Download URL langchain_keep-0.1.0-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3670c8f118c0dcd74f72a715a68210be1122660ad2b645c721337ccbb2ff7c2
BLAKE2b-256 checksum
How to use checksums
8ec85995361666dd4139cece74b39567a6ecf5090b8f62001a0ec055bef0df97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page