Du-RAG: Durable RAG — persistent memory for AI agents
Project description
Du-RAG
Durable RAG — a persistent memory layer for AI agents built on retrieval-augmented generation.
pip install durag[local]
from durag import Memory
m = Memory()
m.add("Alice loves Python and open source", user_id="alice")
m.add("Alice built Du-RAG", user_id="alice")
history = m.get_all(filters={"user_id": "alice"})
print(history)
No API keys. No cloud. Runs entirely on your machine.
Features
- Persistent memory across conversations — agents remember what they learn
- Semantic search via vector embeddings — find the right context fast
- Fully local — HuggingFace embeddings + FAISS by default, no data leaves your machine
- Multiple backends — swap in OpenAI, Qdrant, Chroma, Pinecone, Weaviate when you need them
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
durag-2.0.4.tar.gz
(194.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
durag-2.0.4-py3-none-any.whl
(279.7 kB
view details)
File details
Details for the file durag-2.0.4.tar.gz.
File metadata
- Download URL: durag-2.0.4.tar.gz
- Upload date:
- Size: 194.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cc700b3cbb43feb74a3e52eafd70775b021cebd82942f9316b7ed2b6fbaa606
|
|
| MD5 |
7e90929fccceb482690c113895bbfe2e
|
|
| BLAKE2b-256 |
cdfd93129fde9192c0cc3cafb916d74e0113918981330132bcb89ddd84e16da5
|
File details
Details for the file durag-2.0.4-py3-none-any.whl.
File metadata
- Download URL: durag-2.0.4-py3-none-any.whl
- Upload date:
- Size: 279.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b21d9fa9042302b3a077e6c0b8a9de0accf176bf22b68036caf041c594d51ea
|
|
| MD5 |
b2409d13efbad479fbd0c317b4d94353
|
|
| BLAKE2b-256 |
ba2eac27fe759bf636a5bb4185ddac0c1b3312333f295c710e5f37040780c4eb
|