File size: 2,109 Bytes
fdc316f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | """
Thought-Retriever: Don't Just Retrieve Raw Data, Retrieve Thoughts
A universal thought memory system for LLM-based agents.
Based on the paper by UIUC, MIT & CMU (TMLR 2026).
"""
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="thought-retriever",
version="2.0.0",
description="Self-evolving long-term memory for LLM agents via thought retrieval",
long_description=long_description,
long_description_content_type="text/markdown",
author="Thought-Retriever Contributors",
url="https://github.com/mhx0628/thought-retriever",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*"]),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
],
install_requires=[
"numpy>=1.21.0",
"jieba>=0.42.1",
],
extras_require={
"full": [
"sentence-transformers>=2.2.0",
"scikit-learn>=1.0.0",
"jieba>=0.42.1",
],
"chinese": [
"jieba>=0.42.1",
],
"dev": [
"pytest>=7.0.0",
"sentence-transformers>=2.2.0",
],
},
python_requires=">=3.8",
keywords="llm, rag, memory, agent, retrieval-augmented, thought-retriever",
project_urls={
"Paper": "https://arxiv.org/abs/2604.12231",
"GitHub": "https://github.com/mhx0628/thought-retriever",
"Gitee": "https://gitee.com/ma-hongxing-1/thought-retriever",
"HuggingFace": "https://huggingface.co/spaces/star0628/thought-retriever",
},
) |