novyx-llamaindex
Persistent memory + rollback + audit trail for LlamaIndex agents, powered by Novyx Core.
Install
pip install novyx-llamaindex
Quick Start
ChatStore (drop-in for SimpleChatStore)
from novyx_llamaindex import NovyxChatStore
from llama_index.core.memory import ChatMemoryBuffer
chat_store = NovyxChatStore(api_key="nram_your_key")
memory = ChatMemoryBuffer.from_defaults(
chat_store=chat_store,
chat_store_key="user-123",
token_limit=3000,
)
BaseMemory (semantic recall)
from novyx_llamaindex import NovyxMemory
memory = NovyxMemory.from_defaults(
api_key="nram_your_key",
session_id="user-123",
top_k=5,
)
# Use with any LlamaIndex chat engine
engine = SimpleChatEngine.from_defaults(memory=memory)
response = engine.chat("Hello!")
Retriever (RAG pipeline)
from novyx_llamaindex import NovyxRetriever
retriever = NovyxRetriever(api_key="nram_your_key", top_k=5)
nodes = retriever.retrieve("What are the user's preferences?")
Features
- Persistent: Memories survive across sessions, restarts, and deployments
- Semantic:
recall()finds relevant memories by meaning, not just keywords - Rollback: Undo memory mistakes with
memory.rollback("2 hours ago") - Audit Trail: Every operation is SHA-256 hashed and logged
- Cross-session: Agent A learns it, Agent B knows it (via Context Spaces)
API Reference
| Class | Base Class | Description |
|---|---|---|
NovyxChatStore |
BaseChatStore |
Drop-in persistent chat store |
NovyxMemory |
BaseMemory |
Semantic memory with recall on get() |
NovyxRetriever |
BaseRetriever |
RAG retriever over Novyx memories |
NovyxMemoryClient |
— | Low-level client for direct Novyx API access |
License
MIT
Release files for novyx-llamaindex 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| novyx_llamaindex-1.0.2.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| novyx_llamaindex-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:19.5 kB
Release files / novyx_llamaindex-1.0.2.tar.gz
| Download URL | novyx_llamaindex-1.0.2.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84fa4dba8cb24a00a2fddc3a58482a8dc8022c99ba8a548effd2923f6fedef10
|
|
BLAKE2b-256 checksum How to use checksums |
d29c0eae989dbcd45928daaca2d78d66cdb702bf5ea1d90436d9c8146576a27f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / novyx_llamaindex-1.0.2-py3-none-any.whl
| Download URL | novyx_llamaindex-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52e9a729c688fda95c7df8279891845d82a0d697ae73de77ae172a0042cbc344
|
|
BLAKE2b-256 checksum How to use checksums |
cb15c5e4e3c2c025a01fc7b5200ce44b56f73898971681bada319bcce7ca7f46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|