atomicmemory 1.0.0__tar.gz → 1.0.1__tar.gz

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 (133) hide show
  1. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/CHANGELOG.md +6 -1
  2. atomicmemory-1.0.1/LICENSE +201 -0
  3. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/PKG-INFO +64 -13
  4. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/README.md +60 -9
  5. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/client/async_memory_client.py +1 -0
  6. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/client/memory_client.py +2 -1
  7. atomicmemory-1.0.1/atomicmemory/providers/__init__.py +5 -0
  8. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/__init__.py +1 -1
  9. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/provider.py +3 -3
  10. atomicmemory-1.0.1/atomicmemory/providers/hindsight/__init__.py +52 -0
  11. atomicmemory-1.0.1/atomicmemory/providers/hindsight/async_provider.py +258 -0
  12. atomicmemory-1.0.1/atomicmemory/providers/hindsight/config.py +135 -0
  13. atomicmemory-1.0.1/atomicmemory/providers/hindsight/http.py +196 -0
  14. atomicmemory-1.0.1/atomicmemory/providers/hindsight/mappers.py +173 -0
  15. atomicmemory-1.0.1/atomicmemory/providers/hindsight/provider.py +315 -0
  16. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/pyproject.toml +8 -8
  17. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/client/test_async_memory_client.py +10 -0
  18. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/client/test_memory_client.py +9 -0
  19. atomicmemory-1.0.1/tests/conftest.py +69 -0
  20. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/memory/test_registry.py +7 -0
  21. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_provider.py +1 -1
  22. atomicmemory-1.0.1/tests/providers/hindsight/__init__.py +1 -0
  23. atomicmemory-1.0.1/tests/providers/hindsight/test_async_provider.py +82 -0
  24. atomicmemory-1.0.1/tests/providers/hindsight/test_integration.py +127 -0
  25. atomicmemory-1.0.1/tests/providers/hindsight/test_mappers.py +115 -0
  26. atomicmemory-1.0.1/tests/providers/hindsight/test_provider.py +202 -0
  27. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/uv.lock +1 -1
  28. atomicmemory-1.0.0/LICENSE +0 -21
  29. atomicmemory-1.0.0/atomicmemory/providers/__init__.py +0 -5
  30. atomicmemory-1.0.0/tests/conftest.py +0 -36
  31. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/.gitignore +0 -0
  32. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/__init__.py +0 -0
  33. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/_version.py +0 -0
  34. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/client/__init__.py +0 -0
  35. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/client/atomic_memory_client.py +0 -0
  36. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/core/__init__.py +0 -0
  37. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/core/errors.py +0 -0
  38. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/core/events.py +0 -0
  39. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/core/logging.py +0 -0
  40. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/core/retry.py +0 -0
  41. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/core/validation.py +0 -0
  42. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/embeddings/__init__.py +0 -0
  43. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/embeddings/base.py +0 -0
  44. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/embeddings/sentence_transformers.py +0 -0
  45. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/kv_cache/__init__.py +0 -0
  46. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/kv_cache/adapter.py +0 -0
  47. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/kv_cache/memory_storage.py +0 -0
  48. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/kv_cache/sqlite_storage.py +0 -0
  49. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/memory/__init__.py +0 -0
  50. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/memory/filters.py +0 -0
  51. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/memory/pipeline.py +0 -0
  52. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/memory/provider.py +0 -0
  53. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/memory/registry.py +0 -0
  54. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/memory/service.py +0 -0
  55. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/memory/types.py +0 -0
  56. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/agents.py +0 -0
  57. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/async_handle_impl.py +0 -0
  58. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/async_provider.py +0 -0
  59. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/audit.py +0 -0
  60. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/config.py +0 -0
  61. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/config_handle.py +0 -0
  62. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/handle.py +0 -0
  63. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/handle_impl.py +0 -0
  64. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/http.py +0 -0
  65. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/lessons.py +0 -0
  66. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/lifecycle.py +0 -0
  67. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/mappers.py +0 -0
  68. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/path.py +0 -0
  69. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/atomicmemory/scope_mapper.py +0 -0
  70. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/mem0/__init__.py +0 -0
  71. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/mem0/async_provider.py +0 -0
  72. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/mem0/config.py +0 -0
  73. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/mem0/http.py +0 -0
  74. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/mem0/mappers.py +0 -0
  75. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/providers/mem0/provider.py +0 -0
  76. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/py.typed +0 -0
  77. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/search/__init__.py +0 -0
  78. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/search/chunking.py +0 -0
  79. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/search/ranking.py +0 -0
  80. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/search/semantic_search.py +0 -0
  81. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/search/similarity.py +0 -0
  82. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/storage/__init__.py +0 -0
  83. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/storage/_mapping.py +0 -0
  84. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/storage/async_client.py +0 -0
  85. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/storage/client.py +0 -0
  86. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/storage/errors.py +0 -0
  87. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/storage/types.py +0 -0
  88. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/utils/__init__.py +0 -0
  89. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/atomicmemory/utils/environment.py +0 -0
  90. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/examples/async_pipeline.py +0 -0
  91. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/examples/basic_ingest_search.py +0 -0
  92. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/examples/local_search.py +0 -0
  93. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/__init__.py +0 -0
  94. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/client/__init__.py +0 -0
  95. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/client/test_atomic_memory_client.py +0 -0
  96. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/core/__init__.py +0 -0
  97. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/core/test_errors.py +0 -0
  98. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/core/test_events.py +0 -0
  99. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/core/test_retry.py +0 -0
  100. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/embeddings/__init__.py +0 -0
  101. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/embeddings/test_sentence_transformers.py +0 -0
  102. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/kv_cache/__init__.py +0 -0
  103. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/kv_cache/test_memory_storage.py +0 -0
  104. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/kv_cache/test_sqlite_storage.py +0 -0
  105. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/memory/__init__.py +0 -0
  106. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/memory/test_filters.py +0 -0
  107. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/memory/test_provider_base.py +0 -0
  108. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/memory/test_service.py +0 -0
  109. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/memory/test_types.py +0 -0
  110. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/__init__.py +0 -0
  111. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/__init__.py +0 -0
  112. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_async_provider.py +0 -0
  113. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_handle_agents.py +0 -0
  114. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_handle_audit.py +0 -0
  115. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_handle_base.py +0 -0
  116. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_handle_config.py +0 -0
  117. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_handle_lessons.py +0 -0
  118. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_handle_lifecycle.py +0 -0
  119. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_http.py +0 -0
  120. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_mappers.py +0 -0
  121. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_path.py +0 -0
  122. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/atomicmemory/test_scope_mapper.py +0 -0
  123. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/mem0/__init__.py +0 -0
  124. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/mem0/test_mappers.py +0 -0
  125. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/providers/mem0/test_provider.py +0 -0
  126. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/search/__init__.py +0 -0
  127. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/search/test_chunking.py +0 -0
  128. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/search/test_semantic_search.py +0 -0
  129. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/search/test_similarity.py +0 -0
  130. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/storage/__init__.py +0 -0
  131. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/storage/test_async_storage_client.py +0 -0
  132. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/storage/test_storage_client.py +0 -0
  133. {atomicmemory-1.0.0 → atomicmemory-1.0.1}/tests/test_package_imports.py +0 -0
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.1] - 2026-05-14
10
+
11
+ ### Changed
12
+ - Version bump for public package publication after internal-to-public repository sync.
13
+
9
14
  ## [1.0.0]
10
15
 
11
16
  Initial public stable release.
@@ -13,7 +18,7 @@ Initial public stable release.
13
18
  ### Added
14
19
  - `AtomicMemoryClient` and `AsyncAtomicMemoryClient` as the primary public client surfaces.
15
20
  - Memory ingestion, search, package, get, list, and delete support.
16
- - AtomicMemory and Mem0 provider adapters.
21
+ - AtomicMemory, Mem0, and Hindsight provider adapters.
17
22
  - Typed AtomicMemory namespace handles for lifecycle, audit, lessons, agents, and runtime config.
18
23
  - Direct artifact storage client with pointer and managed artifact workflows.
19
24
  - Local embedding, semantic search, and KV cache helpers.
@@ -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 describing the origin of the Work and
141
+ 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 2026 AtomicMemory
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.
@@ -1,17 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomicmemory
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Python client SDK for AtomicMemory memory and artifact storage.
5
5
  Project-URL: Homepage, https://github.com/atomicstrata/atomicmemory-python
6
6
  Project-URL: Repository, https://github.com/atomicstrata/atomicmemory-python
7
7
  Project-URL: Issues, https://github.com/atomicstrata/atomicmemory-python/issues
8
8
  Author: AtomicMemory
9
- License: MIT
9
+ License: Apache-2.0
10
10
  License-File: LICENSE
11
- Keywords: agent,atomicmemory,llm,mem0,memory,rag
11
+ Keywords: agent,atomicmemory,hindsight,llm,mem0,memory,rag
12
12
  Classifier: Development Status :: 5 - Production/Stable
13
13
  Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3 :: Only
17
17
  Classifier: Programming Language :: Python :: 3.10
@@ -38,9 +38,22 @@ Description-Content-Type: text/markdown
38
38
 
39
39
  # atomicmemory-python
40
40
 
41
+ [![CI](https://github.com/atomicstrata/atomicmemory-python/actions/workflows/ci.yml/badge.svg)](https://github.com/atomicstrata/atomicmemory-python/actions/workflows/ci.yml)
42
+ [![PyPI](https://img.shields.io/pypi/v/atomicmemory?label=pypi)](https://pypi.org/project/atomicmemory/)
43
+ [![Python](https://img.shields.io/pypi/pyversions/atomicmemory)](https://pypi.org/project/atomicmemory/)
44
+ [![Docs](https://img.shields.io/badge/docs-docs.atomicstrata.ai-blue)](https://docs.atomicstrata.ai)
45
+ [![License: Apache 2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
46
+
41
47
  Python client SDK for [AtomicMemory](https://github.com/atomicstrata) memory and artifact storage.
42
48
 
43
- A backend-agnostic memory and storage client: ingest conversations and documents, search them semantically, package retrieval-ready context, register or upload raw artifacts, and access AtomicMemory-specific features (lifecycle, audit, lessons, agents/trust, runtime config) through typed namespace handles.
49
+ **Docs:** [docs.atomicstrata.ai](https://docs.atomicstrata.ai)
50
+
51
+ AtomicMemory Core currently reaches cost-Pareto SOTA on BEAM-100K, BEAM-1M, and LoCoMo10, with BEAM-10M parity against the strongest published Mem0-new result. This package brings that memory layer to Python services, agents, notebooks, and evaluation workflows.
52
+
53
+ A backend-agnostic memory and storage client: ingest conversations and
54
+ documents, search them semantically, package retrieval-ready context, register
55
+ or upload raw artifacts, and access AtomicMemory-specific features (lifecycle,
56
+ audit, lessons, agents/trust, runtime config) through typed namespace handles.
44
57
 
45
58
  This is a Python port of the TypeScript [`atomicmemory-sdk`](https://github.com/atomicstrata/atomicmemory-sdk). It mirrors the public surface 1:1 while staying idiomatic to Python (Pydantic models, `httpx` sync + async clients, `match` statements, `snake_case`).
46
59
 
@@ -48,8 +61,17 @@ This is a Python port of the TypeScript [`atomicmemory-sdk`](https://github.com/
48
61
 
49
62
  Stable release — `1.0.0` on [PyPI](https://pypi.org/project/atomicmemory/).
50
63
 
64
+ ## Installation
65
+
66
+ ```bash
67
+ pip install atomicmemory # core + local search + SQLite store
68
+ pip install 'atomicmemory[embeddings]' # + sentence-transformers for local embeddings
69
+ ```
70
+
51
71
  ## Quick start
52
72
 
73
+ Prerequisite: start `atomicmemory-core` first. Follow the [Core Quickstart](https://docs.atomicstrata.ai/quickstart) if you do not already have a backend at `http://localhost:3050`.
74
+
53
75
  ```python
54
76
  from atomicmemory import AtomicMemoryClient
55
77
 
@@ -111,6 +133,30 @@ health = client.memory.atomicmemory.config.health()
111
133
 
112
134
  Categories: `lifecycle`, `audit`, `lessons`, `config`, `agents`.
113
135
 
136
+ ## Memory providers
137
+
138
+ The memory namespace supports the same provider family as the TypeScript SDK:
139
+
140
+ - `atomicmemory` — AtomicMemory core backend.
141
+ - `mem0` — Mem0 OSS or hosted backend.
142
+ - `hindsight` — Hindsight Cloud or self-hosted backend.
143
+
144
+ ```python
145
+ from atomicmemory import MemoryClient
146
+
147
+ with MemoryClient(
148
+ providers={
149
+ "hindsight": {
150
+ "apiUrl": "http://localhost:8888",
151
+ "apiVersion": "v1",
152
+ "projectId": "default",
153
+ }
154
+ }
155
+ ) as memory:
156
+ memory.initialize()
157
+ page = memory.search({"query": "seat preference", "scope": {"user": "demo"}})
158
+ ```
159
+
114
160
  ## Artifact storage
115
161
 
116
162
  The `client.storage` namespace mirrors the TypeScript SDK's direct storage API:
@@ -123,13 +169,6 @@ The `client.storage` namespace mirrors the TypeScript SDK's direct storage API:
123
169
 
124
170
  Every storage request sends `Authorization: Bearer <apiKey>` and `X-AtomicMemory-User-Id`. The SDK never sends the legacy `?user_id=` URL parameter.
125
171
 
126
- ## Installation
127
-
128
- ```bash
129
- pip install atomicmemory # core + local search + SQLite store
130
- pip install 'atomicmemory[embeddings]' # + sentence-transformers for local embeddings
131
- ```
132
-
133
172
  ## Development
134
173
 
135
174
  ```bash
@@ -141,6 +180,18 @@ uv run mypy atomicmemory --strict
141
180
  uv run vulture atomicmemory tests .vulture_whitelist.py --min-confidence 90
142
181
  ```
143
182
 
183
+ ### Live provider smoke tests
184
+
185
+ Live provider tests are opt-in and are not required for normal development.
186
+ They assume the backend is already running and configured with its own model.
187
+
188
+ ```bash
189
+ ATOMICMEMORY_HINDSIGHT_INTEGRATION=1 \
190
+ HINDSIGHT_API_URL=http://localhost:8890 \
191
+ HINDSIGHT_TIMEOUT_SECONDS=120 \
192
+ uv run pytest tests/providers/hindsight/test_integration.py -m integration -ra
193
+ ```
194
+
144
195
  ## License
145
196
 
146
- MIT
197
+ Apache-2.0
@@ -1,8 +1,21 @@
1
1
  # atomicmemory-python
2
2
 
3
+ [![CI](https://github.com/atomicstrata/atomicmemory-python/actions/workflows/ci.yml/badge.svg)](https://github.com/atomicstrata/atomicmemory-python/actions/workflows/ci.yml)
4
+ [![PyPI](https://img.shields.io/pypi/v/atomicmemory?label=pypi)](https://pypi.org/project/atomicmemory/)
5
+ [![Python](https://img.shields.io/pypi/pyversions/atomicmemory)](https://pypi.org/project/atomicmemory/)
6
+ [![Docs](https://img.shields.io/badge/docs-docs.atomicstrata.ai-blue)](https://docs.atomicstrata.ai)
7
+ [![License: Apache 2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
8
+
3
9
  Python client SDK for [AtomicMemory](https://github.com/atomicstrata) memory and artifact storage.
4
10
 
5
- A backend-agnostic memory and storage client: ingest conversations and documents, search them semantically, package retrieval-ready context, register or upload raw artifacts, and access AtomicMemory-specific features (lifecycle, audit, lessons, agents/trust, runtime config) through typed namespace handles.
11
+ **Docs:** [docs.atomicstrata.ai](https://docs.atomicstrata.ai)
12
+
13
+ AtomicMemory Core currently reaches cost-Pareto SOTA on BEAM-100K, BEAM-1M, and LoCoMo10, with BEAM-10M parity against the strongest published Mem0-new result. This package brings that memory layer to Python services, agents, notebooks, and evaluation workflows.
14
+
15
+ A backend-agnostic memory and storage client: ingest conversations and
16
+ documents, search them semantically, package retrieval-ready context, register
17
+ or upload raw artifacts, and access AtomicMemory-specific features (lifecycle,
18
+ audit, lessons, agents/trust, runtime config) through typed namespace handles.
6
19
 
7
20
  This is a Python port of the TypeScript [`atomicmemory-sdk`](https://github.com/atomicstrata/atomicmemory-sdk). It mirrors the public surface 1:1 while staying idiomatic to Python (Pydantic models, `httpx` sync + async clients, `match` statements, `snake_case`).
8
21
 
@@ -10,8 +23,17 @@ This is a Python port of the TypeScript [`atomicmemory-sdk`](https://github.com/
10
23
 
11
24
  Stable release — `1.0.0` on [PyPI](https://pypi.org/project/atomicmemory/).
12
25
 
26
+ ## Installation
27
+
28
+ ```bash
29
+ pip install atomicmemory # core + local search + SQLite store
30
+ pip install 'atomicmemory[embeddings]' # + sentence-transformers for local embeddings
31
+ ```
32
+
13
33
  ## Quick start
14
34
 
35
+ Prerequisite: start `atomicmemory-core` first. Follow the [Core Quickstart](https://docs.atomicstrata.ai/quickstart) if you do not already have a backend at `http://localhost:3050`.
36
+
15
37
  ```python
16
38
  from atomicmemory import AtomicMemoryClient
17
39
 
@@ -73,6 +95,30 @@ health = client.memory.atomicmemory.config.health()
73
95
 
74
96
  Categories: `lifecycle`, `audit`, `lessons`, `config`, `agents`.
75
97
 
98
+ ## Memory providers
99
+
100
+ The memory namespace supports the same provider family as the TypeScript SDK:
101
+
102
+ - `atomicmemory` — AtomicMemory core backend.
103
+ - `mem0` — Mem0 OSS or hosted backend.
104
+ - `hindsight` — Hindsight Cloud or self-hosted backend.
105
+
106
+ ```python
107
+ from atomicmemory import MemoryClient
108
+
109
+ with MemoryClient(
110
+ providers={
111
+ "hindsight": {
112
+ "apiUrl": "http://localhost:8888",
113
+ "apiVersion": "v1",
114
+ "projectId": "default",
115
+ }
116
+ }
117
+ ) as memory:
118
+ memory.initialize()
119
+ page = memory.search({"query": "seat preference", "scope": {"user": "demo"}})
120
+ ```
121
+
76
122
  ## Artifact storage
77
123
 
78
124
  The `client.storage` namespace mirrors the TypeScript SDK's direct storage API:
@@ -85,13 +131,6 @@ The `client.storage` namespace mirrors the TypeScript SDK's direct storage API:
85
131
 
86
132
  Every storage request sends `Authorization: Bearer <apiKey>` and `X-AtomicMemory-User-Id`. The SDK never sends the legacy `?user_id=` URL parameter.
87
133
 
88
- ## Installation
89
-
90
- ```bash
91
- pip install atomicmemory # core + local search + SQLite store
92
- pip install 'atomicmemory[embeddings]' # + sentence-transformers for local embeddings
93
- ```
94
-
95
134
  ## Development
96
135
 
97
136
  ```bash
@@ -103,6 +142,18 @@ uv run mypy atomicmemory --strict
103
142
  uv run vulture atomicmemory tests .vulture_whitelist.py --min-confidence 90
104
143
  ```
105
144
 
145
+ ### Live provider smoke tests
146
+
147
+ Live provider tests are opt-in and are not required for normal development.
148
+ They assume the backend is already running and configured with its own model.
149
+
150
+ ```bash
151
+ ATOMICMEMORY_HINDSIGHT_INTEGRATION=1 \
152
+ HINDSIGHT_API_URL=http://localhost:8890 \
153
+ HINDSIGHT_TIMEOUT_SECONDS=120 \
154
+ uv run pytest tests/providers/hindsight/test_integration.py -m integration -ra
155
+ ```
156
+
106
157
  ## License
107
158
 
108
- MIT
159
+ Apache-2.0
@@ -14,6 +14,7 @@ from typing import Any
14
14
 
15
15
  # Importing the provider packages registers both sync and async factories.
16
16
  import atomicmemory.providers.atomicmemory
17
+ import atomicmemory.providers.hindsight
17
18
  import atomicmemory.providers.mem0 # noqa: F401
18
19
  from atomicmemory.client.memory_client import (
19
20
  _coerce_ingest,
@@ -4,7 +4,7 @@ Port of `atomicmemory-sdk/src/client/memory-client.ts`. Wraps a
4
4
  :class:`atomicmemory.memory.service.MemoryService` and the configured
5
5
  providers, providing the public API users construct in application
6
6
  code. Async users get the same surface via
7
- ``atomicmemory.AsyncMemoryClient`` (Phase 4).
7
+ ``atomicmemory.AsyncMemoryClient``.
8
8
  """
9
9
 
10
10
  from __future__ import annotations
@@ -18,6 +18,7 @@ from pydantic import ValidationError as PydanticValidationError
18
18
 
19
19
  # Importing the provider packages registers their factories.
20
20
  import atomicmemory.providers.atomicmemory
21
+ import atomicmemory.providers.hindsight
21
22
  import atomicmemory.providers.mem0 # noqa: F401
22
23
  from atomicmemory.core.errors import ConfigError, NotInitializedError, ValidationError
23
24
  from atomicmemory.core.validation import sanitized_pydantic_errors
@@ -0,0 +1,5 @@
1
+ """Concrete memory providers.
2
+
3
+ Each subpackage (`atomicmemory.providers.atomicmemory`, `mem0`, `hindsight`) registers
4
+ itself with the default registries on import.
5
+ """
@@ -3,7 +3,7 @@
3
3
  Port of `atomicmemory-sdk/src/memory/atomicmemory-provider/`. Importing
4
4
  this package registers the provider on
5
5
  `atomicmemory.memory.registry.default_registry` (and the async registry
6
- once Phase 4 lands).
6
+ when both sync and async clients are available).
7
7
  """
8
8
 
9
9
  from atomicmemory.memory.registry import (
@@ -1,8 +1,8 @@
1
1
  """Sync AtomicMemoryProvider — V3 core methods + Packager + TemporalSearch + Versioner + Health.
2
2
 
3
3
  Port of `atomicmemory-sdk/src/memory/atomicmemory-provider/atomicmemory-provider.ts`.
4
- The handle namespace (lifecycle/audit/lessons/config/agents) is wired in
5
- Phase 3 via :mod:`atomicmemory.providers.atomicmemory.handle_impl`.
4
+ The handle namespace (lifecycle/audit/lessons/config/agents) is wired via
5
+ :mod:`atomicmemory.providers.atomicmemory.handle_impl`.
6
6
  """
7
7
 
8
8
  from __future__ import annotations
@@ -238,7 +238,7 @@ class AtomicMemoryProvider(BaseMemoryProvider):
238
238
 
239
239
 
240
240
  # ---------------------------------------------------------------------------
241
- # Body builders — pure functions, shared with the async provider in Phase 4.
241
+ # Body builders — pure functions shared with the async provider.
242
242
  # ---------------------------------------------------------------------------
243
243
 
244
244
 
@@ -0,0 +1,52 @@
1
+ """Hindsight provider — HTTP client for Hindsight Cloud or self-hosted APIs."""
2
+
3
+ from atomicmemory.memory.registry import (
4
+ AsyncProviderRegistration,
5
+ ProviderRegistration,
6
+ default_async_registry,
7
+ default_registry,
8
+ )
9
+ from atomicmemory.providers.hindsight.async_provider import AsyncHindsightProvider
10
+ from atomicmemory.providers.hindsight.config import (
11
+ AsyncHindsightOperationsHandle,
12
+ AsyncHindsightRetainHandle,
13
+ HindsightOperation,
14
+ HindsightOperationsHandle,
15
+ HindsightOperationsPage,
16
+ HindsightProviderConfig,
17
+ HindsightRetainHandle,
18
+ HindsightRetainResponse,
19
+ )
20
+ from atomicmemory.providers.hindsight.provider import HindsightProvider
21
+
22
+
23
+ def _coerce_config(config: object) -> HindsightProviderConfig:
24
+ if isinstance(config, HindsightProviderConfig):
25
+ return config
26
+ return HindsightProviderConfig.model_validate(config)
27
+
28
+
29
+ def _factory(config: object) -> ProviderRegistration:
30
+ return ProviderRegistration(provider=HindsightProvider(_coerce_config(config)))
31
+
32
+
33
+ def _async_factory(config: object) -> AsyncProviderRegistration:
34
+ return AsyncProviderRegistration(provider=AsyncHindsightProvider(_coerce_config(config)))
35
+
36
+
37
+ default_registry.register("hindsight", _factory)
38
+ default_async_registry.register("hindsight", _async_factory)
39
+
40
+
41
+ __all__ = [
42
+ "AsyncHindsightOperationsHandle",
43
+ "AsyncHindsightProvider",
44
+ "AsyncHindsightRetainHandle",
45
+ "HindsightOperation",
46
+ "HindsightOperationsHandle",
47
+ "HindsightOperationsPage",
48
+ "HindsightProvider",
49
+ "HindsightProviderConfig",
50
+ "HindsightRetainHandle",
51
+ "HindsightRetainResponse",
52
+ ]