Skip to main content

Velixar AI memory retriever and memory module for LangChain

Project description

velixar-langchain

Velixar AI memory integration for LangChain. Gives your LangChain agents persistent, cognitive memory that understands users across sessions.

Install

pip install velixar-langchain

Retriever

from velixar_langchain import VelixarRetriever

retriever = VelixarRetriever(
    api_key="vx_...",
    workspace_id="ws_abc123",
)

# Use in a chain
docs = retriever.invoke("What are the user's preferences?")

Memory

from velixar_langchain import VelixarMemory

memory = VelixarMemory(
    api_key="vx_...",
    workspace_id="ws_abc123",
    user_id="user_1",
)

# Use with any LangChain chain
from langchain.chains import ConversationChain
chain = ConversationChain(llm=llm, memory=memory)

Features

  • 4-tier hierarchical memory (pinned, session, semantic, org)
  • Automatic salience scoring and memory promotion
  • Identity modeling and cognitive profiles
  • Encrypted embeddings (AES-256-GCM)
  • Cross-session persistence

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

velixar_langchain-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

velixar_langchain-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: velixar_langchain-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for velixar_langchain-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bbdd3abc20e7c38f48f343137dda25c0970ba49e2b7bb871cf4adda838a4ffb2
MD5 173d22132d23e6d456ed262866292ff4
BLAKE2b-256 5e023d4377c2ee42e960c5f4e19ecb46bc68e298d5ed72927c66ad0293e3515c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for velixar_langchain-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 616f3df4addc202a474da1e182564c5b68ab98a7c06d4469a8959522abcebc66
MD5 de9d2c97127efc7597f15ca53d4721c5
BLAKE2b-256 5ce5530bd13404949152b2ead0031b17208e6cafa35eacdf051ce5a48cd5088c

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