jl-ecms-client 0.2.8__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.

Potentially problematic release.


This version of jl-ecms-client might be problematic. Click here for more details.

Files changed (53) hide show
  1. jl_ecms_client-0.2.8.dist-info/METADATA +295 -0
  2. jl_ecms_client-0.2.8.dist-info/RECORD +53 -0
  3. jl_ecms_client-0.2.8.dist-info/WHEEL +5 -0
  4. jl_ecms_client-0.2.8.dist-info/licenses/LICENSE +190 -0
  5. jl_ecms_client-0.2.8.dist-info/top_level.txt +1 -0
  6. mirix/client/__init__.py +14 -0
  7. mirix/client/client.py +405 -0
  8. mirix/client/constants.py +60 -0
  9. mirix/client/remote_client.py +1136 -0
  10. mirix/client/utils.py +34 -0
  11. mirix/helpers/__init__.py +1 -0
  12. mirix/helpers/converters.py +429 -0
  13. mirix/helpers/datetime_helpers.py +90 -0
  14. mirix/helpers/json_helpers.py +47 -0
  15. mirix/helpers/message_helpers.py +74 -0
  16. mirix/helpers/tool_rule_solver.py +166 -0
  17. mirix/schemas/__init__.py +1 -0
  18. mirix/schemas/agent.py +401 -0
  19. mirix/schemas/block.py +188 -0
  20. mirix/schemas/cloud_file_mapping.py +29 -0
  21. mirix/schemas/embedding_config.py +114 -0
  22. mirix/schemas/enums.py +69 -0
  23. mirix/schemas/environment_variables.py +82 -0
  24. mirix/schemas/episodic_memory.py +170 -0
  25. mirix/schemas/file.py +57 -0
  26. mirix/schemas/health.py +10 -0
  27. mirix/schemas/knowledge_vault.py +181 -0
  28. mirix/schemas/llm_config.py +187 -0
  29. mirix/schemas/memory.py +318 -0
  30. mirix/schemas/message.py +1315 -0
  31. mirix/schemas/mirix_base.py +107 -0
  32. mirix/schemas/mirix_message.py +411 -0
  33. mirix/schemas/mirix_message_content.py +230 -0
  34. mirix/schemas/mirix_request.py +39 -0
  35. mirix/schemas/mirix_response.py +183 -0
  36. mirix/schemas/openai/__init__.py +1 -0
  37. mirix/schemas/openai/chat_completion_request.py +122 -0
  38. mirix/schemas/openai/chat_completion_response.py +144 -0
  39. mirix/schemas/openai/chat_completions.py +127 -0
  40. mirix/schemas/openai/embedding_response.py +11 -0
  41. mirix/schemas/openai/openai.py +229 -0
  42. mirix/schemas/organization.py +38 -0
  43. mirix/schemas/procedural_memory.py +151 -0
  44. mirix/schemas/providers.py +816 -0
  45. mirix/schemas/resource_memory.py +134 -0
  46. mirix/schemas/sandbox_config.py +132 -0
  47. mirix/schemas/semantic_memory.py +162 -0
  48. mirix/schemas/source.py +96 -0
  49. mirix/schemas/step.py +53 -0
  50. mirix/schemas/tool.py +241 -0
  51. mirix/schemas/tool_rule.py +209 -0
  52. mirix/schemas/usage.py +31 -0
  53. mirix/schemas/user.py +67 -0
@@ -0,0 +1,295 @@
1
+ Metadata-Version: 2.4
2
+ Name: jl-ecms-client
3
+ Version: 0.2.8
4
+ Summary: Intuit ECMS Client - Lightweight Python client for Intuit ECMS server
5
+ Home-page: https://github.com/Mirix-AI/MIRIX
6
+ Author: Mirix AI
7
+ Author-email: yuwang@mirix.io
8
+ License: Apache License 2.0
9
+ Project-URL: Documentation, https://docs.mirix.io
10
+ Project-URL: Website, https://mirix.io
11
+ Project-URL: Source Code, https://github.com/Mirix-AI/MIRIX
12
+ Project-URL: Bug Reports, https://github.com/Mirix-AI/MIRIX/issues
13
+ Keywords: ai,memory,agent,llm,assistant,client,api
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: Apache Software License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
+ Classifier: Topic :: Communications :: Chat
26
+ Requires-Python: >=3.10
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Requires-Dist: requests>=2.31.0
30
+ Requires-Dist: pydantic>=2.0.0
31
+ Requires-Dist: pydantic-settings>=2.0.0
32
+ Requires-Dist: python-dotenv>=1.0.0
33
+ Requires-Dist: httpx>=0.25.0
34
+ Requires-Dist: rich<14.0.0,>=13.7.1
35
+ Requires-Dist: pytz>=2024.1
36
+ Provides-Extra: dev
37
+ Requires-Dist: pytest>=6.0.0; extra == "dev"
38
+ Requires-Dist: pytest-asyncio; extra == "dev"
39
+ Requires-Dist: black; extra == "dev"
40
+ Requires-Dist: isort; extra == "dev"
41
+ Requires-Dist: flake8; extra == "dev"
42
+ Requires-Dist: mypy; extra == "dev"
43
+ Dynamic: author
44
+ Dynamic: author-email
45
+ Dynamic: classifier
46
+ Dynamic: description
47
+ Dynamic: description-content-type
48
+ Dynamic: home-page
49
+ Dynamic: keywords
50
+ Dynamic: license
51
+ Dynamic: license-file
52
+ Dynamic: project-url
53
+ Dynamic: provides-extra
54
+ Dynamic: requires-dist
55
+ Dynamic: requires-python
56
+ Dynamic: summary
57
+
58
+ ![Mirix Logo](https://github.com/RenKoya1/MIRIX/raw/main/assets/logo.png)
59
+
60
+ ## MIRIX - Multi-Agent Personal Assistant with an Advanced Memory System
61
+
62
+ Your personal AI that builds memory through screen observation and natural conversation
63
+
64
+ | 🌐 [Website](https://mirix.io) | 📚 [Documentation](https://docs.mirix.io) | 📄 [Paper](https://arxiv.org/abs/2507.07957) | 💬 [Discord](https://discord.gg/S6CeHNrJ)
65
+ <!-- | [Twitter/X](https://twitter.com/mirix_ai) | [Discord](https://discord.gg/S6CeHNrJ) | -->
66
+
67
+ ---
68
+
69
+ ### Key Features 🔥
70
+
71
+ - **Multi-Agent Memory System:** Six specialized memory components (Core, Episodic, Semantic, Procedural, Resource, Knowledge Vault) managed by dedicated agents
72
+ - **Screen Activity Tracking:** Continuous visual data capture and intelligent consolidation into structured memories
73
+ - **Privacy-First Design:** All long-term data stored locally with user-controlled privacy settings
74
+ - **Advanced Search:** PostgreSQL-native BM25 full-text search with vector similarity support
75
+ - **Multi-Modal Input:** Text, images, voice, and screen captures processed seamlessly
76
+
77
+ ### Quick Start
78
+ **End-Users**: For end-users who want to build your own memory using MIRIX, please checkout the quick installation guide [here](https://docs.mirix.io/getting-started/installation/#quick-installation-dmg).
79
+
80
+ **Developers**: For users who want to apply our memory system as the backend, please check out our [Backend Usage](https://docs.mirix.io/user-guide/backend-usage/). Basically, you just need to run:
81
+ ```
82
+ git clone git@github.com:Mirix-AI/MIRIX.git
83
+ cd MIRIX
84
+
85
+ # Create and activate virtual environment
86
+ python -m venv mirix_env
87
+ source mirix_env/bin/activate # On Windows: mirix_env\Scripts\activate
88
+
89
+ pip install -r requirements.txt
90
+ ```
91
+ Then you can run the following python code:
92
+ ```python
93
+ from mirix.agent import AgentWrapper
94
+
95
+ # Initialize agent with configuration
96
+ agent = AgentWrapper("./mirix/configs/mirix.yaml")
97
+
98
+ # Send basic text information
99
+ agent.send_message(
100
+ message="The moon now has a president.",
101
+ memorizing=True,
102
+ force_absorb_content=True
103
+ )
104
+ ```
105
+ For more details, please refer to [Backend Usage](https://docs.mirix.io/user-guide/backend-usage/).
106
+
107
+ ## Python SDK (NEW!) 🎉
108
+
109
+ We've created a simple [Python SDK](https://pypi.org/project/mirix/0.1.5/) that makes it incredibly easy to integrate Mirix's memory capabilities into your applications:
110
+
111
+ ### Installationhttps://pypi.org/project/mirix/0.1.5/
112
+ ```bash
113
+ pip install mirix
114
+ ```
115
+
116
+ ### Quick Start with SDK
117
+ ```python
118
+ from mirix import Mirix
119
+
120
+ # Initialize memory agent (defaults to Google Gemini 2.0 Flash)
121
+ memory_agent = Mirix(api_key="your-google-api-key")
122
+
123
+ # Add memories
124
+ memory_agent.add("The moon now has a president")
125
+ memory_agent.add("John loves Italian food and is allergic to peanuts")
126
+
127
+ # Chat with memory context
128
+ response = memory_agent.chat("Does the moon have a president?")
129
+ print(response) # "Yes, according to my memory, the moon has a president."
130
+
131
+ response = memory_agent.chat("What does John like to eat?")
132
+ print(response) # "John loves Italian food. However, he's allergic to peanuts."
133
+ ```
134
+
135
+ ## Integration with Claude Agent SDK 🤝
136
+
137
+ Mirix can be integrated with [Anthropic's Claude Agent SDK](https://docs.claude.com/en/api/agent-sdk/python) to give Claude persistent memory across conversations. This allows Claude to remember context, user preferences, and past interactions.
138
+
139
+ ### Basic Setup
140
+
141
+ Here's a simple example of integrating Mirix with the Claude Agent SDK:
142
+
143
+ ```python
144
+ #!/usr/bin/env python3
145
+ import os
146
+ import asyncio
147
+ from claude_agent_sdk import query, ClaudeAgentOptions, AssistantMessage
148
+ from mirix import Mirix
149
+ from collections import deque
150
+ from dotenv import load_dotenv
151
+ load_dotenv()
152
+
153
+ # Configuration
154
+ MEMORY_UPDATE_INTERVAL = 3 # Update memory every N turns
155
+ REINIT_INTERVAL = 1 # Rebuild system prompt (retrieve from Mirix) every N turns
156
+ KEEP_LAST_N_TURNS = 50 # Keep last N turns in memory buffer
157
+
158
+ def build_system_prompt(mirix_agent=None, user_id=None, conversation_buffer=""):
159
+ """Build system prompt with optional Mirix memory context"""
160
+ system_prompt = """You are a helpful assistant."""
161
+
162
+ # Add Mirix memory context if available
163
+ if mirix_agent and user_id and conversation_buffer:
164
+ memory_context = mirix_agent.extract_memory_for_system_prompt(
165
+ conversation_buffer, user_id
166
+ )
167
+ if memory_context:
168
+ system_prompt += "\n\nRelevant Memory Context:\n" + memory_context
169
+
170
+ return system_prompt
171
+
172
+ async def run_agent():
173
+ """Run Claude Agent SDK with Mirix memory integration"""
174
+
175
+ # Initialize Mirix memory agent
176
+ mirix_agent = Mirix(
177
+ model_name="gemini-2.0-flash",
178
+ api_key=os.getenv("GEMINI_API_KEY"),
179
+ )
180
+ user = mirix_agent.create_user(user_name="Alice")
181
+
182
+ # Track conversation for memory updates
183
+ conversation_history = deque(maxlen=KEEP_LAST_N_TURNS)
184
+ turn_count = 0
185
+ turns_since_reinit = 0
186
+ session_id = None
187
+
188
+ while True:
189
+ # Build system prompt with memory context
190
+ options = ClaudeAgentOptions(
191
+ resume=session_id,
192
+ allowed_tools=["Task", "Bash", "Read", "Edit", "Write", "WebSearch"],
193
+ system_prompt=build_system_prompt(
194
+ mirix_agent, user.id,
195
+ "\n".join([f"User: {u}\nAssistant: {a}" for u, a in conversation_history])
196
+ ),
197
+ model="claude-sonnet-4-5",
198
+ max_turns=50
199
+ )
200
+
201
+ user_input = input("User: ").strip()
202
+ if user_input.lower() in ['exit', 'quit', 'bye']:
203
+ break
204
+
205
+ # Get Claude's response
206
+ assistant_response = ""
207
+ async for message in query(prompt=user_input, options=options):
208
+ if hasattr(message, 'subtype') and message.subtype == 'init':
209
+ session_id = message.data.get('session_id')
210
+
211
+ if isinstance(message, AssistantMessage):
212
+ for block in message.content:
213
+ if hasattr(block, 'text'):
214
+ assistant_response += block.text
215
+ print(block.text, flush=True)
216
+
217
+ # Update conversation history
218
+ conversation_history.append((user_input, assistant_response))
219
+ turn_count += 1
220
+ turns_since_reinit += 1
221
+
222
+ # Periodically update Mirix memory
223
+ if turn_count % MEMORY_UPDATE_INTERVAL == 0:
224
+ combined = "\n".join([
225
+ f"[User] {u}\n[Assistant] {a}"
226
+ for u, a in conversation_history
227
+ ])
228
+ await asyncio.to_thread(mirix_agent.add, combined, user_id=user.id)
229
+ print("✅ Memory updated!")
230
+
231
+ if __name__ == "__main__":
232
+ asyncio.run(run_agent())
233
+ ```
234
+
235
+ ### Key Benefits
236
+
237
+ - **Persistent Memory:** Mirix helps Claude remember facts, preferences, and context across sessions
238
+ - **Intelligent Retrieval:** Mirix automatically retrieves relevant memories for each conversation
239
+ - **Scalable:** Works with conversations of any length without token limit issues
240
+ - **Flexible Updates:** Configure how often to update memory (e.g., every N turns)
241
+
242
+ ### Example Usage
243
+
244
+ ```bash
245
+ cd samples
246
+
247
+ # Install dependencies
248
+ pip install mirix claude-agent-sdk python-dotenv
249
+
250
+ # Set environment variables
251
+ export GEMINI_API_KEY="your-google-api-key"
252
+ export ANTHROPIC_API_KEY="your-anthropic-api-key"
253
+
254
+ # Run the agent
255
+ python claude_agent.py
256
+ ```
257
+
258
+ ## License
259
+
260
+ Mirix is released under the Apache License 2.0. See the [LICENSE](LICENSE) file for more details.
261
+
262
+ ## Contact
263
+
264
+ For questions, suggestions, or issues, please open an issue on the GitHub repository or contact us at `yuwang@mirix.io`
265
+
266
+ ## Join Our Community
267
+
268
+ Connect with other Mirix users, share your thoughts, and get support:
269
+
270
+ ### 💬 Discord Community
271
+ Join our Discord server for real-time discussions, support, and community updates:
272
+ **[https://discord.gg/S6CeHNrJ](https://discord.gg/S6CeHNrJ)**
273
+
274
+ ### 🎯 Weekly Discussion Sessions
275
+ We host weekly discussion sessions where you can:
276
+ - Discuss issues and bugs
277
+ - Share ideas about future directions
278
+ - Get general consultations and support
279
+ - Connect with the development team and community
280
+
281
+ **📅 Schedule:** Friday nights, 8-9 PM PST
282
+ **🔗 Zoom Link:** [https://ucsd.zoom.us/j/96278791276](https://ucsd.zoom.us/j/96278791276)
283
+
284
+ ### 📱 WeChat Group
285
+ <div align="center">
286
+ <img src="frontend/public/wechat-qr.jpg" alt="WeChat QR Code" width="200"/><br/>
287
+ <strong>WeChat Group</strong>
288
+ </div>
289
+
290
+ ## Star History
291
+
292
+ [![Star History Chart](https://api.star-history.com/svg?repos=Mirix-AI/MIRIX&type=Date)](https://star-history.com/#Mirix-AI/MIRIX.&Date)
293
+
294
+ ## Acknowledgement
295
+ We would like to thank [Letta](https://github.com/letta-ai/letta) for open-sourcing their framework, which served as the foundation for the memory system in this project.
@@ -0,0 +1,53 @@
1
+ jl_ecms_client-0.2.8.dist-info/licenses/LICENSE,sha256=8fOrt8t-9Lb_RKUa_xmj1_bVzbbluGEXERWSfM7rXfY,10758
2
+ mirix/client/__init__.py,sha256=IMgb1FqBcVVcqrK_zWoCDPkb8x1AK4PBtTj5PyhnyWI,433
3
+ mirix/client/client.py,sha256=7XrANQ7xlMfCz-9qRC0rAOzwq7QJ4XhdZHzfVZuh9cU,13230
4
+ mirix/client/constants.py,sha256=6NVFu3yZqm1HW6vKA1HCpNc8l-ds6yGPyUGf-tqXJ78,2011
5
+ mirix/client/remote_client.py,sha256=P0sTbGlqeuT_cIvGh243NK1Uf4a2JgNkQLdLvN950HQ,42646
6
+ mirix/client/utils.py,sha256=xPAvR3slBQ5srOFLtYTqpL3PeD5n0YsxBRR1sLgKBdY,786
7
+ mirix/helpers/__init__.py,sha256=2QXDAywb0wF3JNLC7GgMDJb_kQpwvlb6ZCnjuLmOfPw,78
8
+ mirix/helpers/converters.py,sha256=WuYkra4c9-JRC2lRo7LmmFMH42qf3k6ox3OGOYlDQLk,13504
9
+ mirix/helpers/datetime_helpers.py,sha256=7U5ZJkE0cLki4sG8ukIHZSAoFfQpLWQu2kFekETy6Zg,2633
10
+ mirix/helpers/json_helpers.py,sha256=2iq1Lyxa8Ofes38QHAOBZHE7I2jS65h-zkAXWJzpm3k,1222
11
+ mirix/helpers/message_helpers.py,sha256=xOn2Uwx5XK4C1ahYKmFe9ak7QjE5vcPVuZBcLDYxkZA,2571
12
+ mirix/helpers/tool_rule_solver.py,sha256=LM9YuugmYtxxtcrD7GakbCNvmnuLK4Zp5KV8vA-UNSA,6542
13
+ mirix/schemas/__init__.py,sha256=HPrtil4I9_KC2u6eJZpBJ2dbl_YxOj_ZeYnKYq3RSGM,24
14
+ mirix/schemas/agent.py,sha256=SYiLURW1PYAHSXAaBOx8N8kaP_5Qt7ujWVxf2uA4BDM,15854
15
+ mirix/schemas/block.py,sha256=NhqaSCOHKACHb77F77NhET-Sy8bZqSJJnenQaC7pBR4,5145
16
+ mirix/schemas/cloud_file_mapping.py,sha256=i_5N41hNt0rEl-fvnGoPggLMbFdEk97wI71qQTjHKIg,977
17
+ mirix/schemas/embedding_config.py,sha256=aHySSdkn5BeL_i6UQLuyDmjo40FCWvKW1Yfc01hQYak,4050
18
+ mirix/schemas/enums.py,sha256=7Z4Wotyndp_eghhIvSdjFA3nMp_Vh_pcK1A_MrkBFRA,1357
19
+ mirix/schemas/environment_variables.py,sha256=mSL5U2NYxJHO4fb2dF3YgPyINgYgelsSzMqQ6nsjzng,2573
20
+ mirix/schemas/episodic_memory.py,sha256=KXr1hHXEqceF5wjMDpAN6MMkRthY-GBnFUcW_QDYUTg,6330
21
+ mirix/schemas/file.py,sha256=J92aWus84jPoF71wRtKIvoAPSdIDt4McEM6yDWzHiqg,2064
22
+ mirix/schemas/health.py,sha256=zT6mYovvD17iJRuu2rcaQQzbEEYrkwvAE9TB7iU824c,139
23
+ mirix/schemas/knowledge_vault.py,sha256=i9qOXp7D8tOgjpRlThDIBDBB4TvOtO7fpSCgaLZW3Lg,6316
24
+ mirix/schemas/llm_config.py,sha256=ZTJtqlD-J8wsEx4_aAMbqHaL0vxDrDjsgwD5RK07zcs,7256
25
+ mirix/schemas/memory.py,sha256=ORWX_qxQBirsHN9vTlr3d_UYLiUB9tlP8DnIh_obIfA,11991
26
+ mirix/schemas/message.py,sha256=_alOnt4BjdBw92Etg_i4vUhcWwdvD-54r5yuuydPBkc,53990
27
+ mirix/schemas/mirix_base.py,sha256=DMkOMZw1mw8Vte8yCGK9xAhqgY2O2CO6uYD9pgf9e6A,3859
28
+ mirix/schemas/mirix_message.py,sha256=WQHdA1dhLiwh0I3y710JMZx42fFmFkXBKdQdl1XdiDY,15334
29
+ mirix/schemas/mirix_message_content.py,sha256=xdgTM5AkkONe4mjgcZNuKkbKk_fEY4rqzobD7cvy5cA,6815
30
+ mirix/schemas/mirix_request.py,sha256=A2CwbKaIQcc1KchT0U3Ro82mBe6RerpDPFguDN_JFCo,1399
31
+ mirix/schemas/mirix_response.py,sha256=w_hTYJs_cpBdx1mWfezzbiV49U4MWHKEfwFrYSMAVR0,7444
32
+ mirix/schemas/organization.py,sha256=tHjE4CmboPJV8OMZ1BfGuFanMJKCED5rh1IBpNQhGTc,1120
33
+ mirix/schemas/procedural_memory.py,sha256=XdX0tfX3LLRXngEP7c3Y2A6KEx7b9dY_ADKOrCdSqQg,5509
34
+ mirix/schemas/providers.py,sha256=PNXCRGw2UqAwNgk3y2xqXa9bbH9ySVInLeU8qftTca4,30552
35
+ mirix/schemas/resource_memory.py,sha256=0w6tRynshimSviPd7fkXG77KqCxEBeuHsnjpYXILTVQ,4907
36
+ mirix/schemas/sandbox_config.py,sha256=X89bm-6QCE7n-ugQ7GyNfan6ZxKXU1UOwdWP0_PXnc4,4460
37
+ mirix/schemas/semantic_memory.py,sha256=vpDs9X1h6BRaAWnGkF0Il6oiYqosbmxahFh1OFb8WA0,5993
38
+ mirix/schemas/source.py,sha256=9Qe-E15sDXcopd3UPW0-sC3lFHIjlV44t_lV7KxkCWY,3050
39
+ mirix/schemas/step.py,sha256=msWn5uBdaR3dYmjTuCwmvq3Mm-kP0Ha8e3-2sfCvG1Y,1826
40
+ mirix/schemas/tool.py,sha256=ypkDYr8dikfyUU7tgnEF-CCam97TYYbTtaJ3K6PTebg,10487
41
+ mirix/schemas/tool_rule.py,sha256=uwyrOX38Vtp-6V1CbHnvBI3DzmWpW2zy7UPtYPmewus,6877
42
+ mirix/schemas/usage.py,sha256=QX7uIaK7-GgrZDMgeot-1ae2n-ol0yif3E7JsLF0Sxk,1166
43
+ mirix/schemas/user.py,sha256=9ywAkPX__q3Ja4lfs-YIiCKQkFmE3-poIimt0owGz_E,2476
44
+ mirix/schemas/openai/__init__.py,sha256=u3PhqJOMwv1fPfMOD6TNZ6zsWvEBpmur4Ypwj733UB0,24
45
+ mirix/schemas/openai/chat_completion_request.py,sha256=eC4fMMJRucHtXfCUVPZu7ZeSt_LUPAsZtu_Z-hzfW6c,3395
46
+ mirix/schemas/openai/chat_completion_response.py,sha256=1hF0Gaxvd03oBdKupz37qk_2LVFoev0T8GVEHHyVLfo,4054
47
+ mirix/schemas/openai/chat_completions.py,sha256=PfC4MOiADLW_BfgmUohqK033VB4IO5fLIR1416C1DCE,3616
48
+ mirix/schemas/openai/embedding_response.py,sha256=WKIZpXab1Av7v6sxKG8feW3ZtpQUNosmLVSuhXYa_xU,357
49
+ mirix/schemas/openai/openai.py,sha256=gXfYwdGRJ-co15zVKw3lua0iZL_lJBBo03XMWsw1uTI,8394
50
+ jl_ecms_client-0.2.8.dist-info/METADATA,sha256=MxBbC-th3bHX7EpMriAMxE0v7GZucOMpOEDucb0j3yg,10843
51
+ jl_ecms_client-0.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
+ jl_ecms_client-0.2.8.dist-info/top_level.txt,sha256=hQ_Eh5KYzEGkhtEyWHdBYJ5iCom6_nlj0zQ6-v0WDIY,6
53
+ jl_ecms_client-0.2.8.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,190 @@
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
+ Copyright 2023, Letta authors
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1 @@
1
+ mirix
@@ -0,0 +1,14 @@
1
+ """
2
+ Mirix Client Module
3
+
4
+ This module provides client implementations for interacting with Mirix agents:
5
+ - AbstractClient: Base interface for all clients
6
+ - MirixClient: For cloud deployments (server accessed via REST API)
7
+
8
+ For embedded/local deployments, use mirix.LocalClient instead.
9
+ """
10
+
11
+ from mirix.client.client import AbstractClient
12
+ from mirix.client.remote_client import MirixClient
13
+
14
+ __all__ = ["AbstractClient", "MirixClient"]