agentrun-mem0ai 0.0.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. agentrun_mem0/__init__.py +6 -0
  2. agentrun_mem0/client/__init__.py +0 -0
  3. agentrun_mem0/client/main.py +1747 -0
  4. agentrun_mem0/client/project.py +931 -0
  5. agentrun_mem0/client/utils.py +115 -0
  6. agentrun_mem0/configs/__init__.py +0 -0
  7. agentrun_mem0/configs/base.py +90 -0
  8. agentrun_mem0/configs/embeddings/__init__.py +0 -0
  9. agentrun_mem0/configs/embeddings/base.py +110 -0
  10. agentrun_mem0/configs/enums.py +7 -0
  11. agentrun_mem0/configs/llms/__init__.py +0 -0
  12. agentrun_mem0/configs/llms/anthropic.py +56 -0
  13. agentrun_mem0/configs/llms/aws_bedrock.py +192 -0
  14. agentrun_mem0/configs/llms/azure.py +57 -0
  15. agentrun_mem0/configs/llms/base.py +62 -0
  16. agentrun_mem0/configs/llms/deepseek.py +56 -0
  17. agentrun_mem0/configs/llms/lmstudio.py +59 -0
  18. agentrun_mem0/configs/llms/ollama.py +56 -0
  19. agentrun_mem0/configs/llms/openai.py +79 -0
  20. agentrun_mem0/configs/llms/vllm.py +56 -0
  21. agentrun_mem0/configs/prompts.py +459 -0
  22. agentrun_mem0/configs/rerankers/__init__.py +0 -0
  23. agentrun_mem0/configs/rerankers/base.py +17 -0
  24. agentrun_mem0/configs/rerankers/cohere.py +15 -0
  25. agentrun_mem0/configs/rerankers/config.py +12 -0
  26. agentrun_mem0/configs/rerankers/huggingface.py +17 -0
  27. agentrun_mem0/configs/rerankers/llm.py +48 -0
  28. agentrun_mem0/configs/rerankers/sentence_transformer.py +16 -0
  29. agentrun_mem0/configs/rerankers/zero_entropy.py +28 -0
  30. agentrun_mem0/configs/vector_stores/__init__.py +0 -0
  31. agentrun_mem0/configs/vector_stores/alibabacloud_mysql.py +64 -0
  32. agentrun_mem0/configs/vector_stores/aliyun_tablestore.py +32 -0
  33. agentrun_mem0/configs/vector_stores/azure_ai_search.py +57 -0
  34. agentrun_mem0/configs/vector_stores/azure_mysql.py +84 -0
  35. agentrun_mem0/configs/vector_stores/baidu.py +27 -0
  36. agentrun_mem0/configs/vector_stores/chroma.py +58 -0
  37. agentrun_mem0/configs/vector_stores/databricks.py +61 -0
  38. agentrun_mem0/configs/vector_stores/elasticsearch.py +65 -0
  39. agentrun_mem0/configs/vector_stores/faiss.py +37 -0
  40. agentrun_mem0/configs/vector_stores/langchain.py +30 -0
  41. agentrun_mem0/configs/vector_stores/milvus.py +42 -0
  42. agentrun_mem0/configs/vector_stores/mongodb.py +25 -0
  43. agentrun_mem0/configs/vector_stores/neptune.py +27 -0
  44. agentrun_mem0/configs/vector_stores/opensearch.py +41 -0
  45. agentrun_mem0/configs/vector_stores/pgvector.py +52 -0
  46. agentrun_mem0/configs/vector_stores/pinecone.py +55 -0
  47. agentrun_mem0/configs/vector_stores/qdrant.py +47 -0
  48. agentrun_mem0/configs/vector_stores/redis.py +24 -0
  49. agentrun_mem0/configs/vector_stores/s3_vectors.py +28 -0
  50. agentrun_mem0/configs/vector_stores/supabase.py +44 -0
  51. agentrun_mem0/configs/vector_stores/upstash_vector.py +34 -0
  52. agentrun_mem0/configs/vector_stores/valkey.py +15 -0
  53. agentrun_mem0/configs/vector_stores/vertex_ai_vector_search.py +28 -0
  54. agentrun_mem0/configs/vector_stores/weaviate.py +41 -0
  55. agentrun_mem0/embeddings/__init__.py +0 -0
  56. agentrun_mem0/embeddings/aws_bedrock.py +100 -0
  57. agentrun_mem0/embeddings/azure_openai.py +55 -0
  58. agentrun_mem0/embeddings/base.py +31 -0
  59. agentrun_mem0/embeddings/configs.py +30 -0
  60. agentrun_mem0/embeddings/gemini.py +39 -0
  61. agentrun_mem0/embeddings/huggingface.py +44 -0
  62. agentrun_mem0/embeddings/langchain.py +35 -0
  63. agentrun_mem0/embeddings/lmstudio.py +29 -0
  64. agentrun_mem0/embeddings/mock.py +11 -0
  65. agentrun_mem0/embeddings/ollama.py +53 -0
  66. agentrun_mem0/embeddings/openai.py +49 -0
  67. agentrun_mem0/embeddings/together.py +31 -0
  68. agentrun_mem0/embeddings/vertexai.py +64 -0
  69. agentrun_mem0/exceptions.py +503 -0
  70. agentrun_mem0/graphs/__init__.py +0 -0
  71. agentrun_mem0/graphs/configs.py +105 -0
  72. agentrun_mem0/graphs/neptune/__init__.py +0 -0
  73. agentrun_mem0/graphs/neptune/base.py +497 -0
  74. agentrun_mem0/graphs/neptune/neptunedb.py +511 -0
  75. agentrun_mem0/graphs/neptune/neptunegraph.py +474 -0
  76. agentrun_mem0/graphs/tools.py +371 -0
  77. agentrun_mem0/graphs/utils.py +97 -0
  78. agentrun_mem0/llms/__init__.py +0 -0
  79. agentrun_mem0/llms/anthropic.py +87 -0
  80. agentrun_mem0/llms/aws_bedrock.py +665 -0
  81. agentrun_mem0/llms/azure_openai.py +141 -0
  82. agentrun_mem0/llms/azure_openai_structured.py +91 -0
  83. agentrun_mem0/llms/base.py +131 -0
  84. agentrun_mem0/llms/configs.py +34 -0
  85. agentrun_mem0/llms/deepseek.py +107 -0
  86. agentrun_mem0/llms/gemini.py +201 -0
  87. agentrun_mem0/llms/groq.py +88 -0
  88. agentrun_mem0/llms/langchain.py +94 -0
  89. agentrun_mem0/llms/litellm.py +87 -0
  90. agentrun_mem0/llms/lmstudio.py +114 -0
  91. agentrun_mem0/llms/ollama.py +117 -0
  92. agentrun_mem0/llms/openai.py +147 -0
  93. agentrun_mem0/llms/openai_structured.py +52 -0
  94. agentrun_mem0/llms/sarvam.py +89 -0
  95. agentrun_mem0/llms/together.py +88 -0
  96. agentrun_mem0/llms/vllm.py +107 -0
  97. agentrun_mem0/llms/xai.py +52 -0
  98. agentrun_mem0/memory/__init__.py +0 -0
  99. agentrun_mem0/memory/base.py +63 -0
  100. agentrun_mem0/memory/graph_memory.py +698 -0
  101. agentrun_mem0/memory/kuzu_memory.py +713 -0
  102. agentrun_mem0/memory/main.py +2229 -0
  103. agentrun_mem0/memory/memgraph_memory.py +689 -0
  104. agentrun_mem0/memory/setup.py +56 -0
  105. agentrun_mem0/memory/storage.py +218 -0
  106. agentrun_mem0/memory/telemetry.py +90 -0
  107. agentrun_mem0/memory/utils.py +208 -0
  108. agentrun_mem0/proxy/__init__.py +0 -0
  109. agentrun_mem0/proxy/main.py +189 -0
  110. agentrun_mem0/reranker/__init__.py +9 -0
  111. agentrun_mem0/reranker/base.py +20 -0
  112. agentrun_mem0/reranker/cohere_reranker.py +85 -0
  113. agentrun_mem0/reranker/huggingface_reranker.py +147 -0
  114. agentrun_mem0/reranker/llm_reranker.py +142 -0
  115. agentrun_mem0/reranker/sentence_transformer_reranker.py +107 -0
  116. agentrun_mem0/reranker/zero_entropy_reranker.py +96 -0
  117. agentrun_mem0/utils/factory.py +283 -0
  118. agentrun_mem0/utils/gcp_auth.py +167 -0
  119. agentrun_mem0/vector_stores/__init__.py +0 -0
  120. agentrun_mem0/vector_stores/alibabacloud_mysql.py +547 -0
  121. agentrun_mem0/vector_stores/aliyun_tablestore.py +252 -0
  122. agentrun_mem0/vector_stores/azure_ai_search.py +396 -0
  123. agentrun_mem0/vector_stores/azure_mysql.py +463 -0
  124. agentrun_mem0/vector_stores/baidu.py +368 -0
  125. agentrun_mem0/vector_stores/base.py +58 -0
  126. agentrun_mem0/vector_stores/chroma.py +332 -0
  127. agentrun_mem0/vector_stores/configs.py +67 -0
  128. agentrun_mem0/vector_stores/databricks.py +761 -0
  129. agentrun_mem0/vector_stores/elasticsearch.py +237 -0
  130. agentrun_mem0/vector_stores/faiss.py +479 -0
  131. agentrun_mem0/vector_stores/langchain.py +180 -0
  132. agentrun_mem0/vector_stores/milvus.py +250 -0
  133. agentrun_mem0/vector_stores/mongodb.py +310 -0
  134. agentrun_mem0/vector_stores/neptune_analytics.py +467 -0
  135. agentrun_mem0/vector_stores/opensearch.py +292 -0
  136. agentrun_mem0/vector_stores/pgvector.py +404 -0
  137. agentrun_mem0/vector_stores/pinecone.py +382 -0
  138. agentrun_mem0/vector_stores/qdrant.py +270 -0
  139. agentrun_mem0/vector_stores/redis.py +295 -0
  140. agentrun_mem0/vector_stores/s3_vectors.py +176 -0
  141. agentrun_mem0/vector_stores/supabase.py +237 -0
  142. agentrun_mem0/vector_stores/upstash_vector.py +293 -0
  143. agentrun_mem0/vector_stores/valkey.py +824 -0
  144. agentrun_mem0/vector_stores/vertex_ai_vector_search.py +635 -0
  145. agentrun_mem0/vector_stores/weaviate.py +343 -0
  146. agentrun_mem0ai-0.0.11.data/data/README.md +205 -0
  147. agentrun_mem0ai-0.0.11.dist-info/METADATA +277 -0
  148. agentrun_mem0ai-0.0.11.dist-info/RECORD +150 -0
  149. agentrun_mem0ai-0.0.11.dist-info/WHEEL +4 -0
  150. agentrun_mem0ai-0.0.11.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,277 @@
1
+ Metadata-Version: 2.4
2
+ Name: agentrun-mem0ai
3
+ Version: 0.0.11
4
+ Summary: Long-term memory for AI Agents with Aliyun TableStore support
5
+ Author-email: AgentRun <mapenghui.mph@alibaba-inc.com>
6
+ License-Expression: Apache-2.0
7
+ License-File: LICENSE
8
+ Requires-Python: <4.0,>=3.9
9
+ Requires-Dist: mysql-connector-python>=9.3.0
10
+ Requires-Dist: openai>=1.90.0
11
+ Requires-Dist: posthog>=3.5.0
12
+ Requires-Dist: protobuf<6.0.0,>=5.29.0
13
+ Requires-Dist: pydantic>=2.7.3
14
+ Requires-Dist: pytz>=2024.1
15
+ Requires-Dist: qdrant-client>=1.9.1
16
+ Requires-Dist: sqlalchemy>=2.0.31
17
+ Requires-Dist: tablestore-for-agent-memory>=1.0.1
18
+ Provides-Extra: dev
19
+ Requires-Dist: isort>=5.13.2; extra == 'dev'
20
+ Requires-Dist: pytest>=8.2.2; extra == 'dev'
21
+ Requires-Dist: ruff>=0.6.5; extra == 'dev'
22
+ Provides-Extra: extras
23
+ Requires-Dist: boto3>=1.34.0; extra == 'extras'
24
+ Requires-Dist: elasticsearch<9.0.0,>=8.0.0; extra == 'extras'
25
+ Requires-Dist: langchain-community>=0.0.0; extra == 'extras'
26
+ Requires-Dist: opensearch-py>=2.0.0; extra == 'extras'
27
+ Requires-Dist: sentence-transformers>=5.0.0; extra == 'extras'
28
+ Provides-Extra: graph
29
+ Requires-Dist: kuzu>=0.11.0; extra == 'graph'
30
+ Requires-Dist: langchain-aws>=0.2.23; extra == 'graph'
31
+ Requires-Dist: langchain-memgraph>=0.1.0; extra == 'graph'
32
+ Requires-Dist: langchain-neo4j>=0.4.0; extra == 'graph'
33
+ Requires-Dist: neo4j>=5.23.1; extra == 'graph'
34
+ Requires-Dist: rank-bm25>=0.2.2; extra == 'graph'
35
+ Provides-Extra: llms
36
+ Requires-Dist: google-genai>=1.0.0; extra == 'llms'
37
+ Requires-Dist: google-generativeai>=0.3.0; extra == 'llms'
38
+ Requires-Dist: groq>=0.3.0; extra == 'llms'
39
+ Requires-Dist: litellm>=1.74.0; extra == 'llms'
40
+ Requires-Dist: ollama>=0.1.0; extra == 'llms'
41
+ Requires-Dist: openai>=1.90.0; extra == 'llms'
42
+ Requires-Dist: together>=0.2.10; extra == 'llms'
43
+ Requires-Dist: vertexai>=0.1.0; extra == 'llms'
44
+ Provides-Extra: test
45
+ Requires-Dist: pytest-asyncio>=0.23.7; extra == 'test'
46
+ Requires-Dist: pytest-mock>=3.14.0; extra == 'test'
47
+ Requires-Dist: pytest>=8.2.2; extra == 'test'
48
+ Provides-Extra: vector-stores
49
+ Requires-Dist: azure-identity>=1.24.0; extra == 'vector-stores'
50
+ Requires-Dist: azure-search-documents>=11.4.0b8; extra == 'vector-stores'
51
+ Requires-Dist: chromadb>=0.4.24; extra == 'vector-stores'
52
+ Requires-Dist: databricks-sdk>=0.63.0; extra == 'vector-stores'
53
+ Requires-Dist: dbutils>=3.0.3; extra == 'vector-stores'
54
+ Requires-Dist: elasticsearch<9.0.0,>=8.0.0; extra == 'vector-stores'
55
+ Requires-Dist: faiss-cpu>=1.7.4; extra == 'vector-stores'
56
+ Requires-Dist: langchain-aws>=0.2.23; extra == 'vector-stores'
57
+ Requires-Dist: pinecone-text>=0.10.0; extra == 'vector-stores'
58
+ Requires-Dist: pinecone<=7.3.0; extra == 'vector-stores'
59
+ Requires-Dist: psycopg-pool<4.0.0,>=3.2.6; extra == 'vector-stores'
60
+ Requires-Dist: psycopg>=3.2.8; extra == 'vector-stores'
61
+ Requires-Dist: pymilvus<2.6.0,>=2.4.0; extra == 'vector-stores'
62
+ Requires-Dist: pymochow>=2.2.9; extra == 'vector-stores'
63
+ Requires-Dist: pymongo>=4.13.2; extra == 'vector-stores'
64
+ Requires-Dist: pymysql>=1.1.0; extra == 'vector-stores'
65
+ Requires-Dist: redis<6.0.0,>=5.0.0; extra == 'vector-stores'
66
+ Requires-Dist: redisvl<1.0.0,>=0.1.0; extra == 'vector-stores'
67
+ Requires-Dist: upstash-vector>=0.1.0; extra == 'vector-stores'
68
+ Requires-Dist: valkey>=6.0.0; extra == 'vector-stores'
69
+ Requires-Dist: vecs>=0.4.0; extra == 'vector-stores'
70
+ Requires-Dist: weaviate-client<4.15.0,>=4.4.0; extra == 'vector-stores'
71
+ Description-Content-Type: text/markdown
72
+
73
+ <p align="center">
74
+ <a href="https://github.com/mem0ai/mem0">
75
+ <img src="docs/images/banner-sm.png" width="800px" alt="Mem0 - The Memory Layer for Personalized AI">
76
+ </a>
77
+ </p>
78
+ <p align="center" style="display: flex; justify-content: center; gap: 20px; align-items: center;">
79
+ <a href="https://trendshift.io/repositories/11194" target="blank">
80
+ <img src="https://trendshift.io/api/badge/repositories/11194" alt="mem0ai%2Fmem0 | Trendshift" width="250" height="55"/>
81
+ </a>
82
+ </p>
83
+
84
+ <p align="center">
85
+ <a href="https://mem0.ai">Learn more</a>
86
+ ·
87
+ <a href="https://mem0.dev/DiG">Join Discord</a>
88
+ ·
89
+ <a href="https://mem0.dev/demo">Demo</a>
90
+ ·
91
+ <a href="https://mem0.dev/openmemory">OpenMemory</a>
92
+ </p>
93
+
94
+ <p align="center">
95
+ <a href="https://mem0.dev/DiG">
96
+ <img src="https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white" alt="Mem0 Discord">
97
+ </a>
98
+ <a href="https://pepy.tech/project/mem0ai">
99
+ <img src="https://img.shields.io/pypi/dm/mem0ai" alt="Mem0 PyPI - Downloads">
100
+ </a>
101
+ <a href="https://github.com/mem0ai/mem0">
102
+ <img src="https://img.shields.io/github/commit-activity/m/mem0ai/mem0?style=flat-square" alt="GitHub commit activity">
103
+ </a>
104
+ <a href="https://pypi.org/project/mem0ai" target="blank">
105
+ <img src="https://img.shields.io/pypi/v/mem0ai?color=%2334D058&label=pypi%20package" alt="Package version">
106
+ </a>
107
+ <a href="https://www.npmjs.com/package/mem0ai" target="blank">
108
+ <img src="https://img.shields.io/npm/v/mem0ai" alt="Npm package">
109
+ </a>
110
+ <a href="https://www.ycombinator.com/companies/mem0">
111
+ <img src="https://img.shields.io/badge/Y%20Combinator-S24-orange?style=flat-square" alt="Y Combinator S24">
112
+ </a>
113
+ </p>
114
+
115
+ <p align="center">
116
+ <a href="https://mem0.ai/research"><strong>📄 Building Production-Ready AI Agents with Scalable Long-Term Memory →</strong></a>
117
+ </p>
118
+ <p align="center">
119
+ <strong>⚡ +26% Accuracy vs. OpenAI Memory • 🚀 91% Faster • 💰 90% Fewer Tokens</strong>
120
+ </p>
121
+
122
+ > **🎉 mem0ai v1.0.0 is now available!** This major release includes API modernization, improved vector store support, and enhanced GCP integration. [See migration guide →](MIGRATION_GUIDE_v1.0.md)
123
+
124
+ ## 🔥 Research Highlights
125
+ - **+26% Accuracy** over OpenAI Memory on the LOCOMO benchmark
126
+ - **91% Faster Responses** than full-context, ensuring low-latency at scale
127
+ - **90% Lower Token Usage** than full-context, cutting costs without compromise
128
+ - [Read the full paper](https://mem0.ai/research)
129
+
130
+ # Introduction
131
+
132
+ [Mem0](https://mem0.ai) ("mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions. It remembers user preferences, adapts to individual needs, and continuously learns over time—ideal for customer support chatbots, AI assistants, and autonomous systems.
133
+
134
+ ### Key Features & Use Cases
135
+
136
+ **Core Capabilities:**
137
+ - **Multi-Level Memory**: Seamlessly retains User, Session, and Agent state with adaptive personalization
138
+ - **Developer-Friendly**: Intuitive API, cross-platform SDKs, and a fully managed service option
139
+
140
+ **Applications:**
141
+ - **AI Assistants**: Consistent, context-rich conversations
142
+ - **Customer Support**: Recall past tickets and user history for tailored help
143
+ - **Healthcare**: Track patient preferences and history for personalized care
144
+ - **Productivity & Gaming**: Adaptive workflows and environments based on user behavior
145
+
146
+ ## 🚀 Quickstart Guide <a name="quickstart"></a>
147
+
148
+ Choose between our hosted platform or self-hosted package:
149
+
150
+ ### Hosted Platform
151
+
152
+ Get up and running in minutes with automatic updates, analytics, and enterprise security.
153
+
154
+ 1. Sign up on [Mem0 Platform](https://app.mem0.ai)
155
+ 2. Embed the memory layer via SDK or API keys
156
+
157
+ ### Self-Hosted (Open Source)
158
+
159
+ > **✨ agentrun-mem0ai**:基于 `mem0ai` 的扩展版本,增加了阿里云 TableStore (OTS) 支持。
160
+ >
161
+ > **重要**:使用独立的模块名 `agentrun_mem0`,与官方 `mem0` 包**无冲突**,可以共存!
162
+
163
+ Install the sdk via pip:
164
+
165
+ ```bash
166
+ # 使用扩展版本(支持阿里云 OTS)
167
+ pip install agentrun-mem0ai
168
+ ```
169
+
170
+ 官方版本:
171
+ ```bash
172
+ # 官方 Python SDK
173
+ pip install mem0ai
174
+
175
+ # 官方 npm SDK
176
+ npm install mem0ai
177
+ ```
178
+
179
+ ### Basic Usage
180
+
181
+ Mem0 requires an LLM to function, with `gpt-4.1-nano-2025-04-14 from OpenAI as the default. However, it supports a variety of LLMs; for details, refer to our [Supported LLMs documentation](https://docs.mem0.ai/components/llms/overview).
182
+
183
+ First step is to instantiate the memory:
184
+
185
+ ```python
186
+ from openai import OpenAI
187
+ from agentrun_mem0 import Memory
188
+
189
+ openai_client = OpenAI()
190
+ memory = Memory()
191
+
192
+ def chat_with_memories(message: str, user_id: str = "default_user") -> str:
193
+ # Retrieve relevant memories
194
+ relevant_memories = memory.search(query=message, user_id=user_id, limit=3)
195
+ memories_str = "\n".join(f"- {entry['memory']}" for entry in relevant_memories["results"])
196
+
197
+ # Generate Assistant response
198
+ system_prompt = f"You are a helpful AI. Answer the question based on query and memories.\nUser Memories:\n{memories_str}"
199
+ messages = [{"role": "system", "content": system_prompt}, {"role": "user", "content": message}]
200
+ response = openai_client.chat.completions.create(model="gpt-4.1-nano-2025-04-14", messages=messages)
201
+ assistant_response = response.choices[0].message.content
202
+
203
+ # Create new memories from the conversation
204
+ messages.append({"role": "assistant", "content": assistant_response})
205
+ memory.add(messages, user_id=user_id)
206
+
207
+ return assistant_response
208
+
209
+ def main():
210
+ print("Chat with AI (type 'exit' to quit)")
211
+ while True:
212
+ user_input = input("You: ").strip()
213
+ if user_input.lower() == 'exit':
214
+ print("Goodbye!")
215
+ break
216
+ print(f"AI: {chat_with_memories(user_input)}")
217
+
218
+ if __name__ == "__main__":
219
+ main()
220
+ ```
221
+
222
+ For detailed integration steps, see the [Quickstart](https://docs.mem0.ai/quickstart) and [API Reference](https://docs.mem0.ai/api-reference).
223
+
224
+ ## 🔗 Integrations & Demos
225
+
226
+ - **ChatGPT with Memory**: Personalized chat powered by Mem0 ([Live Demo](https://mem0.dev/demo))
227
+ - **Browser Extension**: Store memories across ChatGPT, Perplexity, and Claude ([Chrome Extension](https://chromewebstore.google.com/detail/onihkkbipkfeijkadecaafbgagkhglop?utm_source=item-share-cb))
228
+ - **Langgraph Support**: Build a customer bot with Langgraph + Mem0 ([Guide](https://docs.mem0.ai/integrations/langgraph))
229
+ - **CrewAI Integration**: Tailor CrewAI outputs with Mem0 ([Example](https://docs.mem0.ai/integrations/crewai))
230
+
231
+ ## 📚 Documentation & Support
232
+
233
+ - Full docs: https://docs.mem0.ai
234
+ - Community: [Discord](https://mem0.dev/DiG) · [Twitter](https://x.com/mem0ai)
235
+ - Contact: founders@mem0.ai
236
+
237
+ ## Citation
238
+
239
+ We now have a paper you can cite:
240
+
241
+ ```bibtex
242
+ @article{mem0,
243
+ title={Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory},
244
+ author={Chhikara, Prateek and Khant, Dev and Aryan, Saket and Singh, Taranjeet and Yadav, Deshraj},
245
+ journal={arXiv preprint arXiv:2504.19413},
246
+ year={2025}
247
+ }
248
+ ```
249
+
250
+ ## 📦 PyPI 自动发布
251
+
252
+ 使用自动化脚本快速发布到 PyPI:
253
+
254
+ ### 1. 安装发布工具
255
+
256
+ ```bash
257
+ pip install --upgrade build twine
258
+ ```
259
+
260
+ ### 2. 运行发布脚本
261
+
262
+ ```bash
263
+ ./publish.sh
264
+ ```
265
+
266
+ 脚本会自动完成以下步骤:
267
+ - 清理旧的构建文件
268
+ - 构建新的发行包
269
+ - 检查包的完整性
270
+ - 可选:先上传到测试环境验证
271
+ - 上传到正式 PyPI
272
+
273
+ 发布 PyPI 所需 Token 可查看文件 [.pypirc](.pypirc)
274
+
275
+ ## ⚖️ License
276
+
277
+ Apache 2.0 — see the [LICENSE](https://github.com/mem0ai/mem0/blob/main/LICENSE) file for details.
@@ -0,0 +1,150 @@
1
+ agentrun_mem0/__init__.py,sha256=1jWqXbITlwI_Bax-XEIUt3Qf6x9JmWI4DMVPuS2lJd4,232
2
+ agentrun_mem0/exceptions.py,sha256=tfQgcM9qsDGyWF56bHJ3RPQkmbGWG6DEv9wPro7BKg0,17704
3
+ agentrun_mem0/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ agentrun_mem0/client/main.py,sha256=bKhQR6QHH8w-465bGi0Egn86EIchDYdiC9ZSToWQY7s,67222
5
+ agentrun_mem0/client/project.py,sha256=vmfI9D4Ssth66YiTjcISNZAHU3XnJFF8AqQur0s97J8,31215
6
+ agentrun_mem0/client/utils.py,sha256=BdWSnKD26L6dF7Dr22afxiQ1uOnf0qBZd5EKzqPsETs,4487
7
+ agentrun_mem0/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ agentrun_mem0/configs/base.py,sha256=4d8uLz1q1-lk8q1pUUnJg7As218raZtkHddEk8hChao,3662
9
+ agentrun_mem0/configs/enums.py,sha256=5qj-Ptly_-5_hnrQd5ViBR2wgQEVlendYiMCrA_EK9E,151
10
+ agentrun_mem0/configs/prompts.py,sha256=Bb5B09Dqfod_veKHXRRqFWJENeMsoElJvE9jBKm9fK0,24951
11
+ agentrun_mem0/configs/embeddings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ agentrun_mem0/configs/embeddings/base.py,sha256=E7TZMsksq0vyIQdkzUk4C9qlxEjv0Oee7Rzvz4F7Y4g,5041
13
+ agentrun_mem0/configs/llms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ agentrun_mem0/configs/llms/anthropic.py,sha256=L8A4PGrYVJmYkTJWT9BFwaDnCE4FNBptoZihTLX1tkI,1984
15
+ agentrun_mem0/configs/llms/aws_bedrock.py,sha256=GpHDiqWBPe9ZNXkbNhw3Apk_GWxi4CGXlG2ZM8Vbzcs,6559
16
+ agentrun_mem0/configs/llms/azure.py,sha256=G_BhXp5acKyro06JBSVXu2cWKLjTZ_doJ-r-0VL5oAc,2085
17
+ agentrun_mem0/configs/llms/base.py,sha256=AKbZfcf5kMJxlNtH87bwsB5mhqDxretEqVRycb6ncHo,2855
18
+ agentrun_mem0/configs/llms/deepseek.py,sha256=Sldxq70cMcTwMiJKpoZy8R4yIkLkfsEiYcm_oLbygg0,1971
19
+ agentrun_mem0/configs/llms/lmstudio.py,sha256=yRXNsN_b9lelDyzkFFVOvXVxBzI7D9hRT4A0x_wlXVc,2230
20
+ agentrun_mem0/configs/llms/ollama.py,sha256=2z2Bcpov0zjohfbRhpiap0L8i_JUBc5xZ-_xVn0Osls,1941
21
+ agentrun_mem0/configs/llms/openai.py,sha256=wMsVHSnqMFvss9OQT8f2ntAmeWN8Aie1TQFGdzqXkDA,3055
22
+ agentrun_mem0/configs/llms/vllm.py,sha256=Wa8Mx7Y1IgaesMq-W9Ps1hLC9P8rJ-hyHErUu8y98sQ,1945
23
+ agentrun_mem0/configs/rerankers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
+ agentrun_mem0/configs/rerankers/base.py,sha256=31aId2RnFYkTiNQr5xxSl8i5I4FoJIyyC0o4JrTtEHk,843
25
+ agentrun_mem0/configs/rerankers/cohere.py,sha256=puwODR7Xdj_s_qecMdNHeQM84f31LkF0qxaoScZUyQQ,669
26
+ agentrun_mem0/configs/rerankers/config.py,sha256=UJmnsShq7IFzPdYALEdrAw1Sdk4bb0FVcmZSllCl9tY,405
27
+ agentrun_mem0/configs/rerankers/huggingface.py,sha256=TPBOpw1UlE0VfyBXuHaULehkJtCSTP4WMKvkw8Qq_TA,844
28
+ agentrun_mem0/configs/rerankers/llm.py,sha256=Bj35oCdOCFYfIChSowU7o-gsKcVxtKyXg8jJ4ihczUU,1619
29
+ agentrun_mem0/configs/rerankers/sentence_transformer.py,sha256=y03jqIywyGTiXBg2JdMb7i-yKQ5Z8vJx9Uwk7FBS94g,817
30
+ agentrun_mem0/configs/rerankers/zero_entropy.py,sha256=47mO18SBkag5Jicv-i7-u1kwJhg4Tx5PeF1FBhxgM2c,930
31
+ agentrun_mem0/configs/vector_stores/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ agentrun_mem0/configs/vector_stores/alibabacloud_mysql.py,sha256=eA1uQAqqVXfizC7FEmr2n1krSfvRlH9pJQ9ZrkEu7BA,3513
33
+ agentrun_mem0/configs/vector_stores/aliyun_tablestore.py,sha256=O6MMqtJuHtipTSxa8kcpP45EoMtaQfzo3zb6QEykJSQ,1588
34
+ agentrun_mem0/configs/vector_stores/azure_ai_search.py,sha256=PzM0TOL3EbB83oAmCgVact0ojkAT75y9NI5oiwSSM6Y,2549
35
+ agentrun_mem0/configs/vector_stores/azure_mysql.py,sha256=_UWdObHR26mJ5V_WBXQ7g6HWCApFhnZtRYkrcPXe2JY,3536
36
+ agentrun_mem0/configs/vector_stores/baidu.py,sha256=DpAxdAAJFKn7Y2mbg0sCY3ACKZ5k3ZGGfiCSKYfOD2k,1271
37
+ agentrun_mem0/configs/vector_stores/chroma.py,sha256=MlMDZSL2aOLb33eXrmxrUoRJs4AVn35z5nkzW7k_ids,2756
38
+ agentrun_mem0/configs/vector_stores/databricks.py,sha256=8PqwK_BhxbgXlnEMaaXi0dsFEc49mwtz1BogMC53hYY,3308
39
+ agentrun_mem0/configs/vector_stores/elasticsearch.py,sha256=GUsDbetNr0sd9nlAX3U1THT9xlkDqqvt_p3_inx0oM4,3180
40
+ agentrun_mem0/configs/vector_stores/faiss.py,sha256=NJJ7IFOyHtM4O_eB92o0IgD9kBh28Y1tHLj-oFELgKk,1709
41
+ agentrun_mem0/configs/vector_stores/langchain.py,sha256=KHZbkHU4QfVXKZLzPiJo5XoIkKD2LZXoGeout-1wbaM,1181
42
+ agentrun_mem0/configs/vector_stores/milvus.py,sha256=VIMrkSe1n-Oxo3N90Ts4RF4r52gccOQ3F-tojHl9rZ4,1499
43
+ agentrun_mem0/configs/vector_stores/mongodb.py,sha256=sS6vgIUKdtuQbrLdawHWBmzkXxhXtCMjcii-bqOtkH8,1111
44
+ agentrun_mem0/configs/vector_stores/neptune.py,sha256=1xudFSvJZx-ijn-y0IXhOo5ls2Ec6hf7ao_J1OJz6qk,966
45
+ agentrun_mem0/configs/vector_stores/opensearch.py,sha256=Z5mpMrzqZ2E8eho6fXhAe0kebSbdvxHMgvcAI_Wh3i4,2022
46
+ agentrun_mem0/configs/vector_stores/pgvector.py,sha256=ekWIhi3YrXKc6dQ9ZO9cdnbD16SO-SwAAwapIdkilyI,3017
47
+ agentrun_mem0/configs/vector_stores/pinecone.py,sha256=Dyp1Pi9Wu9tKET_NIO4GCzJOdWYO2wLb27d_ALg4Qtc,2802
48
+ agentrun_mem0/configs/vector_stores/qdrant.py,sha256=hYxh43BJy4-5BBfyhPRR2mtCer_VC2wy5Rd0TB638Yc,2143
49
+ agentrun_mem0/configs/vector_stores/redis.py,sha256=h4Td4fCNaXwVnEqpGqsGTGmX0rKMj4VsVun0iQ2UyLU,962
50
+ agentrun_mem0/configs/vector_stores/s3_vectors.py,sha256=NgzfMfvXbM8CvBdoEoWe87cMuEk1vfDSX9DIIiuoqns,1218
51
+ agentrun_mem0/configs/vector_stores/supabase.py,sha256=GBQX2vBj6BSVymHz7ARwuUL0FNHj9s81pfYhIUFGkSM,1706
52
+ agentrun_mem0/configs/vector_stores/upstash_vector.py,sha256=wouJtiAqJy3UHw5n8K81dAxLMC36J1QSk39XrTy2Ttc,1434
53
+ agentrun_mem0/configs/vector_stores/valkey.py,sha256=5jkd7iffFFwd5COfZHI7xDADIO80SLt64tx71-Wm1AQ,561
54
+ agentrun_mem0/configs/vector_stores/vertex_ai_vector_search.py,sha256=z7sKlc_cLWfcNGQuVBkrfiwmWyz01r6_Jm198weGbiU,1434
55
+ agentrun_mem0/configs/vector_stores/weaviate.py,sha256=7EX7xLzYMpb0_XxHfgPLlmlOEQMm_8XNXEU0hoAx0GE,1588
56
+ agentrun_mem0/embeddings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
+ agentrun_mem0/embeddings/aws_bedrock.py,sha256=W0l24C7ZbSLjKG6tXTzDDwxO8p7FtCjGYbx_YIf60uA,3529
58
+ agentrun_mem0/embeddings/azure_openai.py,sha256=a0ezMK8fBzzexyfTnZl3nm5S0B3g1Dlmc9RkA0s9sBc,2334
59
+ agentrun_mem0/embeddings/base.py,sha256=fJsK1rc85o2_SennMBQdJ_QNxIg7zRhCURxFyyvFP8k,982
60
+ agentrun_mem0/embeddings/configs.py,sha256=ucqSXa_Wiiy_LQJRpulD_-VFQQc2tWOOzEV3pLrHMow,881
61
+ agentrun_mem0/embeddings/gemini.py,sha256=endrgUHkl4SmFtiKa0JuGTgm7iu9J8tMZ2HKr3jxydQ,1527
62
+ agentrun_mem0/embeddings/huggingface.py,sha256=-NliDmpc7G_3Hfghdsmvwd8oJ-Orhl9dafhCU1QI_g8,1803
63
+ agentrun_mem0/embeddings/langchain.py,sha256=a2qM0-T3L4YPxe3wWW2yHdPJ3fXJqQTUtFx8ndGqv5E,1255
64
+ agentrun_mem0/embeddings/lmstudio.py,sha256=xj4O0W7E2K3zu-pOch-NuddVVkuDZwtSUZREkRrfQmU,1257
65
+ agentrun_mem0/embeddings/mock.py,sha256=oLgGgoExDhmjEGklNo3q29sj58algrBSbPKCTcU-3Cc,374
66
+ agentrun_mem0/embeddings/ollama.py,sha256=zJGw5m5Y2_G9Tiz3gYf_TOEwPu9xOIwFAbmS-06XW04,2066
67
+ agentrun_mem0/embeddings/openai.py,sha256=7j3IGv-fA5taGUQpGEOYqGb-JfFbulE3OU8xKSkPRZo,1789
68
+ agentrun_mem0/embeddings/together.py,sha256=VOYiSqTowdv7SrSi4WAXNVCR-Mvj9H9svxwd9O5Byxc,1199
69
+ agentrun_mem0/embeddings/vertexai.py,sha256=ZZNY63ALrE3a2jkpNAONGAD8740kkjXpk5FETfeQdzk,2969
70
+ agentrun_mem0/graphs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
+ agentrun_mem0/graphs/configs.py,sha256=acBOzvTgRu8xB-po1rIY3vEIfG_uA5YrJW-gy-W0xqY,4634
72
+ agentrun_mem0/graphs/tools.py,sha256=pkav43bgUAaMTjIRLS-l3pfzVGrhXbr5mKISBEw_agw,15885
73
+ agentrun_mem0/graphs/utils.py,sha256=jhGV1HYo7LsPPUfZ7CV2SgkzIdugVknFO6KW0O4z9ic,5749
74
+ agentrun_mem0/graphs/neptune/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
+ agentrun_mem0/graphs/neptune/base.py,sha256=jxtOTtBkDhH5iEDD9xZ24KhmjWHBmOUbfgaxeTLozzI,17695
76
+ agentrun_mem0/graphs/neptune/neptunedb.py,sha256=a-9zFMlc7YfbRPjdop51EhjjeJLy3yMHCH65_-TLOAA,19433
77
+ agentrun_mem0/graphs/neptune/neptunegraph.py,sha256=IjTFlRsCfQllkcRurB62JSrdtYqk9GjxM4ZKlc2BoYM,18641
78
+ agentrun_mem0/llms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
79
+ agentrun_mem0/llms/anthropic.py,sha256=FOzLq0LwkTyCqoIj5yD3lXCuVn7EXgadJfeWhsxJLi8,3231
80
+ agentrun_mem0/llms/aws_bedrock.py,sha256=UfZxutproCMIe4qL2h9kjx2gifWfsvh--EhMhCVQyjI,27350
81
+ agentrun_mem0/llms/azure_openai.py,sha256=khZsyro-1jFRrmEaJBvNtQot8kh3K3Wdb8-iAdEN0eQ,5304
82
+ agentrun_mem0/llms/azure_openai_structured.py,sha256=iMicJ1-ddg833azoid0kDBcEZ7q2R0dNcfIvVUuYA64,3379
83
+ agentrun_mem0/llms/base.py,sha256=v7pfkzzfmHyILQiPRfAQ44jpM57ar32HgCHg38yNo70,4519
84
+ agentrun_mem0/llms/configs.py,sha256=yvtU5WDBsiygCiMHjhG9ZCb1NIAMv8uXYD_KL8_X54w,997
85
+ agentrun_mem0/llms/deepseek.py,sha256=LQRFLn5sKFbrPrMCQqDCvTj7RM7uISyiu9HRHBpnyRU,3874
86
+ agentrun_mem0/llms/gemini.py,sha256=uCGhYGI8Oe1rWDl8ZqlQ3jndL1lgSvVsxriP1PLkeYM,7290
87
+ agentrun_mem0/llms/groq.py,sha256=bl8sVoojdRn0hk0rWgDz46HI0krZdjaLKI_99qVUmuw,2991
88
+ agentrun_mem0/llms/langchain.py,sha256=5WjhAwOXaLBuvNocOU48T6efBcOEIYGfxJ9f3WFmZO0,3194
89
+ agentrun_mem0/llms/litellm.py,sha256=4K1V1vGQAk05SAStF6aWsvFLhJ3ChZdL0EShg6E6_Qc,3111
90
+ agentrun_mem0/llms/lmstudio.py,sha256=CGXQhjzMAQUmyyvR3atfwEyxBqNrWevhYwM9GTn2wic,4167
91
+ agentrun_mem0/llms/ollama.py,sha256=j4JVUGbPBY9eVATVxf3z6pF6LnR24V3rOyP_53GujaE,4304
92
+ agentrun_mem0/llms/openai.py,sha256=aN6Ey21Yf2prlgcxZUyhL40N_IqtGS1Y0HryZuy6ZXQ,5591
93
+ agentrun_mem0/llms/openai_structured.py,sha256=inV1kKrAbQuA-zcdvGmoR14ACrzqEL-LvY-ODEZrByM,1713
94
+ agentrun_mem0/llms/sarvam.py,sha256=TnhjGLJuJ8axJWtpfHTvcaPPSdlL0FEfgG8hcR2hzHM,3399
95
+ agentrun_mem0/llms/together.py,sha256=NM546FuToSN612ktrbY4HW99FhFwWI_9QhVppw44xMk,3118
96
+ agentrun_mem0/llms/vllm.py,sha256=vO_ahbTXBEXnF8XBpH99614bJ4I7PxrMuCUY9Zk-fiM,3838
97
+ agentrun_mem0/llms/xai.py,sha256=ymiNBoByH1TOaK85ohoc_shkXCvlIqoR2UIClVFbi9I,1782
98
+ agentrun_mem0/memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
99
+ agentrun_mem0/memory/base.py,sha256=uwk-rL60CbErBDt9-bMVK4laALtc4wd2oeVskVzxd3c,1315
100
+ agentrun_mem0/memory/graph_memory.py,sha256=Xv6BEk04R1YVa8_vJpPV_koJemEqdhJ-3zJE0YHslKQ,30378
101
+ agentrun_mem0/memory/kuzu_memory.py,sha256=hC-CJ_w1MUcP8rXfssvKnuQUHg0O6jA5C9xHgMO_2xU,30530
102
+ agentrun_mem0/memory/main.py,sha256=D9XtyxeLRXrlESB5bWXtCZsXI22lxHmjoJN0XoaBVJw,96325
103
+ agentrun_mem0/memory/memgraph_memory.py,sha256=QX3ZFoQds7SNG-VXsN_0PfzZOcbOuFFoOTfWfAI_FFQ,29688
104
+ agentrun_mem0/memory/setup.py,sha256=nLRA8TW5Q_rGUEo0fj8A9rLMR87NC1-op2cXvRdtPWY,1680
105
+ agentrun_mem0/memory/storage.py,sha256=fMVj0stj9WYszcT-S_hh590qyNuzys3QSZ37GPNcGJA,7675
106
+ agentrun_mem0/memory/telemetry.py,sha256=4V4p2-AinlphbR1Yf2OW9hp6L3NiCw0Yo4CvplD2ym0,3346
107
+ agentrun_mem0/memory/utils.py,sha256=qyuMmWjTA7YLM40D0Gq_HJsYEB0tuW91Pgu_b_8t_Jw,6582
108
+ agentrun_mem0/proxy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
+ agentrun_mem0/proxy/main.py,sha256=JbClaMpiZLO7OPqEXq0fEs-fca70Rp-mYjP-Brp9rGY,7201
110
+ agentrun_mem0/reranker/__init__.py,sha256=X3gRiWKnvlFQulVoz1sFa2GDcDAwo0PUrMZyEccO9mc,287
111
+ agentrun_mem0/reranker/base.py,sha256=Eq8bXCzzSPpjs6S_ewU8mGOcdtVVSgYGbQTYw9LPaMg,687
112
+ agentrun_mem0/reranker/cohere_reranker.py,sha256=w-UEbwUVNA6jPl9h1rxqC7_cSe1dE4a2BXvFiyiTmxY,2902
113
+ agentrun_mem0/reranker/huggingface_reranker.py,sha256=zEqjace2o6f8FnClUa87n_WpGFreJm0mYggk2GuJXyY,5507
114
+ agentrun_mem0/reranker/llm_reranker.py,sha256=HUsbm2F7MJ50zK5ev6NTfIThlut9ScvdUTYIeYJ2ulE,5318
115
+ agentrun_mem0/reranker/sentence_transformer_reranker.py,sha256=ZQNh3s8jvJypR7VLZneUp2L_UqzO8bScV81nGNZyS3A,4305
116
+ agentrun_mem0/reranker/zero_entropy_reranker.py,sha256=ZxqzJf_E4yNenuM0alTaEnMCCmI6DCyeoSwx7JK3Te8,3393
117
+ agentrun_mem0/utils/factory.py,sha256=4BG6oQs-fPF3_dw--QhpeVvX5Z_ocmcN1iltnATw4gA,13060
118
+ agentrun_mem0/utils/gcp_auth.py,sha256=L9WtM1y6sQ1hQR8m3R5EiLYLnA1GhCLmZ5LnKnE31ac,6394
119
+ agentrun_mem0/vector_stores/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
120
+ agentrun_mem0/vector_stores/alibabacloud_mysql.py,sha256=DG0DpuLGH41rOleBtEXMhTGIll_5-azdyqQH_PCPYgo,19661
121
+ agentrun_mem0/vector_stores/aliyun_tablestore.py,sha256=rq1D153iwGLUb201HyX0hjSmISF8WSTiPgpcTcpwJMQ,9364
122
+ agentrun_mem0/vector_stores/azure_ai_search.py,sha256=3BBW-oDCqBFbw7YO8tSyglJo1LDZ_FTWakHGZLiOXsQ,15480
123
+ agentrun_mem0/vector_stores/azure_mysql.py,sha256=8JqwU_gp5PRWyJVy0HmHxAgYsFQ4WHZqgRInBItvPRU,16704
124
+ agentrun_mem0/vector_stores/baidu.py,sha256=JKtZRKPYRu-Tu6Ui8yro1Ivl14vbvAV8PLjGPE_weLo,12692
125
+ agentrun_mem0/vector_stores/base.py,sha256=yb9TCcxximzdJd8vfNJRROHBrUyYLbH26-E63fclcDo,1344
126
+ agentrun_mem0/vector_stores/chroma.py,sha256=klOpgVEZLMKZkP_6a78qMhtPWIITZQgwKoN9-ReRZ7o,12013
127
+ agentrun_mem0/vector_stores/configs.py,sha256=ZIV5DsWP28EEG8K3LWwviHznn9ho6jFrK0SqhrjZA1Q,2519
128
+ agentrun_mem0/vector_stores/databricks.py,sha256=mLZ9xrQHvcqs9C2ueEXr5vPHlHrKO1kwYUrbzi8N57c,32486
129
+ agentrun_mem0/vector_stores/elasticsearch.py,sha256=r2IDZynWtgbctRqp9bQSYjbw_NXpWyNg6lrfub4amCc,8809
130
+ agentrun_mem0/vector_stores/faiss.py,sha256=j3rEUrvR5VJ8UZoM1PGVEuvMzRhwkewKKGzv_KE948k,15371
131
+ agentrun_mem0/vector_stores/langchain.py,sha256=RqXzBL--x3VtVtVHdwoBF6g-aWU4bi6CknJV_hpXo1U,6216
132
+ agentrun_mem0/vector_stores/milvus.py,sha256=Cd7ik5m3qYWNwE2hscrfReaCyirlHlIg8elu8S9pSOg,8635
133
+ agentrun_mem0/vector_stores/mongodb.py,sha256=k04KkkHTUPuM22VO1H4W3aqGiwFSH6mEfdbBpDDZ8y8,12162
134
+ agentrun_mem0/vector_stores/neptune_analytics.py,sha256=t9HqRSAStCGRQ1BW28nM0C4CLfAEfUfIv4hY8x2cQUo,15538
135
+ agentrun_mem0/vector_stores/opensearch.py,sha256=IH6Ya5E9_e9AGCK02kMlRmJYhdfl4uAu6g21oTt9m5M,10920
136
+ agentrun_mem0/vector_stores/pgvector.py,sha256=xUGOq9fd51NWSnRzIYzWa6zsfq2wSQaOd8ryoRC-yII,14764
137
+ agentrun_mem0/vector_stores/pinecone.py,sha256=lG7WlJ-AZQoX-FSkr1pr7wF6xz5Olz7yqPLxW6UbIeo,13297
138
+ agentrun_mem0/vector_stores/qdrant.py,sha256=WqJeFYwmOCvwefHP8BNoZSX7dxyA9RziJ8mGPFcVNAs,9378
139
+ agentrun_mem0/vector_stores/redis.py,sha256=jxbQ6OcBmUVOaKzQwq9b3BVfoK0BhTN1iNJlib_Wstg,11246
140
+ agentrun_mem0/vector_stores/s3_vectors.py,sha256=VqnFiisDT_YijHjtryHapILl5H_80HP4fJ8IOeTuoqA,6655
141
+ agentrun_mem0/vector_stores/supabase.py,sha256=aRpeTkvfSEDe-JM2a3A8fcr01x0cDzvG5ME5s3f8jvM,8365
142
+ agentrun_mem0/vector_stores/upstash_vector.py,sha256=cul_VTz9q5IIBoM8-jT14MvXXHvmORaiYChp-W2Mdv8,9082
143
+ agentrun_mem0/vector_stores/valkey.py,sha256=owu1h_Aqs-VlmN-_alxLpmjhQb7yyTIO_6sx8lNkOQY,31281
144
+ agentrun_mem0/vector_stores/vertex_ai_vector_search.py,sha256=deF3mNTul7vOSGtmcBJYLgwXv32FfdrPOHOrI8q6HQg,25072
145
+ agentrun_mem0/vector_stores/weaviate.py,sha256=8akBo4RwxFC5SzhJJSe7tWm-TJI-MhN2Y0TXs3O1Cx8,12949
146
+ agentrun_mem0ai-0.0.11.data/data/README.md,sha256=NDMc0YaL_pqE2OFjPEVd4UxZZTfnfzC5Hobf0Eh_EMw,7590
147
+ agentrun_mem0ai-0.0.11.dist-info/METADATA,sha256=CRdn28_c9mhm11g_5rFh3UdujwvaqbtNZRPZxRinmYg,10990
148
+ agentrun_mem0ai-0.0.11.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
149
+ agentrun_mem0ai-0.0.11.dist-info/licenses/LICENSE,sha256=C7y-kxw1MpOi-vzggyYYHf7qDlaMVmr9TOgzenD14hk,11349
150
+ agentrun_mem0ai-0.0.11.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [2023] [Taranjeet Singh]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.