Skip to main content

progress-memory-langchain

LangChain integration for the Progress Memory SDK.

Provides two integration tiers:

ProgressMemoryTools ⭐ recommended for production — exposes remember, recall, and forget as LLM-callable StructuredTool objects. The LLM decides when to invoke each one — token-efficient and semantically accurate.

ProgressMemoryLangChainMemory (quick start) — automatically recalls memories before every LLM call and saves each exchange after.

Quick start — Tools (production)

from progress_memory import ProgressMemoryClient, ProgressMemoryConfig
from progress_memory_langchain import ProgressMemoryTools

config = ProgressMemoryConfig.from_env()
client = ProgressMemoryClient(config)

tools_provider = ProgressMemoryTools(client=client, user_id="user-123", agent_id="bot")
tools = tools_provider.create_tools()  # [remember, recall, forget]

Quick start — Automatic memory (demos)

from progress_memory_langchain import ProgressMemoryLangChainMemory

memory = ProgressMemoryLangChainMemory(
    client=client, user_id="user-123", agent_id="bot", auto_remember=True
)
chain_with_memory = memory.wrap(chain)
response = chain_with_memory.invoke({"input": "What are my preferences?"})

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

progress_memory_langchain-0.2.1.tar.gz (147.3 kB view details)

Uploaded Source

Built Distribution

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

progress_memory_langchain-0.2.1-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file progress_memory_langchain-0.2.1.tar.gz.

File metadata

File hashes

Hashes for progress_memory_langchain-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3440f3959849c60f5b9f106d9db558296f6d18eb0232bae22fd226c02b850d1f
MD5 60292a64f8f30fefaaccd27793785fee
BLAKE2b-256 5c5b2b3c5847f0ee01f4acddb464f239d6defd5c0c2c9e57ae5b393875e9d473

See more details on using hashes here.

Provenance

The following attestation bundles were made for progress_memory_langchain-0.2.1.tar.gz:

Publisher: publish-memory-python.yaml on telerik/AgentClarity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file progress_memory_langchain-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for progress_memory_langchain-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e04dc91886cedfe0f1921a1884d4527681c7ed380283919362d594f3089d238
MD5 536e3880f888a9e0a2668ea68208895c
BLAKE2b-256 17453111560a253f7fd9ba21a34af7276f8d0df5ab81d130679cf97270e587e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for progress_memory_langchain-0.2.1-py3-none-any.whl:

Publisher: publish-memory-python.yaml on telerik/AgentClarity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.1.0

2 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