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.0.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.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: velixar_langchain-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c77f59480523a725649d4708fcfa6784a29b5bf684222b5fe3477ada8fa3993a
MD5 d8ceaba4439a6af5e882bc3b9aba3615
BLAKE2b-256 ca2de50a1a15fbfdc4cc0c4dfd5860d0f91b253c8cf60bc6074d117e56661327

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for velixar_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fcbcca69f3d5fd38499a48f3c76a193f8a870e39bae6a5bec3366cb22aede1d
MD5 b2b447631c14e70218d88b430ba639f4
BLAKE2b-256 43c614ae18ad41e6902799b69fe5791c3e742ef72836bf28b88c37249faaa7fe

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