devmem-agents 0.1.0__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.
- devmem/__init__.py +5 -0
- devmem/api.py +257 -0
- devmem/config.py +34 -0
- devmem/embeddings.py +119 -0
- devmem/ingest.py +184 -0
- devmem/live_backend.py +344 -0
- devmem/main.py +11 -0
- devmem/models.py +157 -0
- devmem/retrieval_eval.py +145 -0
- devmem/service.py +280 -0
- devmem/storage/__init__.py +4 -0
- devmem/storage/milvus_store.py +321 -0
- devmem/storage/neptune_store.py +194 -0
- devmem/storage/record_store.py +974 -0
- devmem_agents-0.1.0.dist-info/METADATA +100 -0
- devmem_agents-0.1.0.dist-info/RECORD +19 -0
- devmem_agents-0.1.0.dist-info/WHEEL +5 -0
- devmem_agents-0.1.0.dist-info/licenses/LICENSE +21 -0
- devmem_agents-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: devmem-agents
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Standalone team memory gateway for cross-agent development context
|
|
5
|
+
Author-email: "C. Steel" <csteel@syntheticore.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://gitlab.com/csteel/devmem
|
|
8
|
+
Project-URL: Repository, https://gitlab.com/csteel/devmem
|
|
9
|
+
Project-URL: Issues, https://gitlab.com/csteel/devmem/-/issues
|
|
10
|
+
Keywords: memory,agents,llm,fastapi,milvus,neptune
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Framework :: FastAPI
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Requires-Python: >=3.11
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
Requires-Dist: fastapi>=0.115.0
|
|
23
|
+
Requires-Dist: uvicorn>=0.30.0
|
|
24
|
+
Requires-Dist: pydantic>=2.8.0
|
|
25
|
+
Requires-Dist: pydantic-settings>=2.4.0
|
|
26
|
+
Requires-Dist: httpx>=0.27.0
|
|
27
|
+
Requires-Dist: numpy>=1.26.0
|
|
28
|
+
Requires-Dist: sqlalchemy>=2.0.0
|
|
29
|
+
Provides-Extra: embeddings
|
|
30
|
+
Requires-Dist: sentence-transformers>=2.7.0; extra == "embeddings"
|
|
31
|
+
Provides-Extra: integration
|
|
32
|
+
Requires-Dist: psycopg[binary]>=3.2.0; extra == "integration"
|
|
33
|
+
Requires-Dist: boto3>=1.35.0; extra == "integration"
|
|
34
|
+
Requires-Dist: urllib3>=2.0.0; extra == "integration"
|
|
35
|
+
Requires-Dist: sshtunnel>=0.4.0; extra == "integration"
|
|
36
|
+
Requires-Dist: paramiko>=3.4.0; extra == "integration"
|
|
37
|
+
Requires-Dist: bcrypt>=4.0.0; extra == "integration"
|
|
38
|
+
Requires-Dist: cryptography>=42.0.0; extra == "integration"
|
|
39
|
+
Requires-Dist: pymilvus>=2.4.0; extra == "integration"
|
|
40
|
+
Requires-Dist: protobuf<7,>=5; extra == "integration"
|
|
41
|
+
Provides-Extra: dev
|
|
42
|
+
Requires-Dist: pytest>=8.2.0; extra == "dev"
|
|
43
|
+
Provides-Extra: publish
|
|
44
|
+
Requires-Dist: build>=1.2.0; extra == "publish"
|
|
45
|
+
Requires-Dist: twine>=5.1.0; extra == "publish"
|
|
46
|
+
Provides-Extra: all
|
|
47
|
+
Requires-Dist: devmem-agents[dev,embeddings,integration,publish]; extra == "all"
|
|
48
|
+
Dynamic: license-file
|
|
49
|
+
|
|
50
|
+
# devmem
|
|
51
|
+
|
|
52
|
+
Standalone developer memory gateway for cross-agent code assistants (Codex, Claude, Gemini, Grok).
|
|
53
|
+
|
|
54
|
+
`devmem` is intentionally separate from the product codebases it serves. It uses isolated namespaces so development-memory data cannot interfere with existing application data.
|
|
55
|
+
|
|
56
|
+
## Goals
|
|
57
|
+
- Provide one shared API contract for all code assistants.
|
|
58
|
+
- Store semantic context in Milvus and relationship/provenance context in Neptune.
|
|
59
|
+
- Optionally use Aurora Postgres as control-plane storage in a dedicated schema.
|
|
60
|
+
- Enforce namespace isolation (`devlib_v1` by default) on every operation.
|
|
61
|
+
|
|
62
|
+
## Repo Layout
|
|
63
|
+
- `devmem/`: API/service code.
|
|
64
|
+
- `docs/`: architecture, plan, deployment, and usage docs.
|
|
65
|
+
- `scripts/`: helper CLIs for agents and developers.
|
|
66
|
+
- `tests/`: unit tests.
|
|
67
|
+
|
|
68
|
+
## Quick Start
|
|
69
|
+
```bash
|
|
70
|
+
git clone <your-fork-or-origin> devmem
|
|
71
|
+
cd devmem
|
|
72
|
+
python -m venv .venv
|
|
73
|
+
source .venv/bin/activate
|
|
74
|
+
pip install -e .[dev]
|
|
75
|
+
uvicorn devmem.main:app --reload --port 8011
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Or install the published package:
|
|
79
|
+
```bash
|
|
80
|
+
pip install devmem
|
|
81
|
+
uvicorn devmem.main:app --port 8011
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Local Configuration
|
|
85
|
+
|
|
86
|
+
Environment-specific values (live backend endpoints, DSNs, SSH tunnel paths)
|
|
87
|
+
live in `devmem.toml` (gitignored). Copy the committed template to get started:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
cp devmem.toml.example devmem.toml
|
|
91
|
+
export DEVMEM_LIVE_TOML_PATH="$(pwd)/devmem.toml"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Any `DEVMEM_*` environment variable still overrides the TOML.
|
|
95
|
+
|
|
96
|
+
## Documentation
|
|
97
|
+
- **[User Guide](./docs/user-guide.md)** — install, configure, run, and troubleshoot.
|
|
98
|
+
- **[Developer Guide](./docs/dev-guide.md)** — contribute, test, publish to PyPI, autostart with systemd.
|
|
99
|
+
- [Full docs index](./docs/README.md)
|
|
100
|
+
- [`AGENTS.md`](./AGENTS.md) — authoritative coding standards for AI coding assistants working on this repo.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
devmem/__init__.py,sha256=pB8LL_ymkN4hzfeifL_oc3Ji9xPx7ieMp9yS8gYAHBo,70
|
|
2
|
+
devmem/api.py,sha256=NDxHO8RA67fdm03WpM0JQjsmgV4AXS9SasXgxp5XRN4,8637
|
|
3
|
+
devmem/config.py,sha256=cBgaRUC_szrLTFsWabWFrQ9XscEyRl51Muzy_k5iCfI,1317
|
|
4
|
+
devmem/embeddings.py,sha256=ALYWO7wExRA4ENeV63r4dW2PefVjQNoGi4ggoCS-HdI,3853
|
|
5
|
+
devmem/ingest.py,sha256=0aPsqVOJzVnf8hExsnQXZf3vyZrWB_8sz6sT04W9U20,5070
|
|
6
|
+
devmem/live_backend.py,sha256=py4VgFctseawzpfcOU_GCgARJZfKzE4ZxgDvqC9FDyk,11550
|
|
7
|
+
devmem/main.py,sha256=9PevbtE9XzOHCsWYCnX037D2bHEXkqkjf0pJYImCipI,277
|
|
8
|
+
devmem/models.py,sha256=o1k2ChHOfSwi_MsQJrPWq-BHwEipwHNSBrKvst6KJXs,3840
|
|
9
|
+
devmem/retrieval_eval.py,sha256=Qc_vqTVvmbU9S2HEV8EsBBPV57qEQMvWjMgCoP1Z8xU,4824
|
|
10
|
+
devmem/service.py,sha256=tu200catUEA8529mZ4BuAvx0zz9UF7YhDIPRby0ovS8,9496
|
|
11
|
+
devmem/storage/__init__.py,sha256=7TxyVJm4S3DagSROCJpFwqifjEdTjqZWBZ-Fosx8j1o,106
|
|
12
|
+
devmem/storage/milvus_store.py,sha256=CV6gd691k5M_0oiZuB3Jd1wEGqP2hUlC2-3cJc6p-kY,12408
|
|
13
|
+
devmem/storage/neptune_store.py,sha256=FxtRyB2zGeCrcKGQl93mHgVDTu5LqwOx_hj9YCaYS8c,6429
|
|
14
|
+
devmem/storage/record_store.py,sha256=jv89ND6JWd6G5M6tJ9cni2OZoJ0lpyZRwfR1KRo_KE4,34944
|
|
15
|
+
devmem_agents-0.1.0.dist-info/licenses/LICENSE,sha256=EBmMMVsgy_XgojzEguvXYn8pOOrI9wPXAJPbqwWMYc0,1065
|
|
16
|
+
devmem_agents-0.1.0.dist-info/METADATA,sha256=ultdS2Xv5h0aUcbr5eCEo6wGtEqLBBjg--bG0YTIMhY,3848
|
|
17
|
+
devmem_agents-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
18
|
+
devmem_agents-0.1.0.dist-info/top_level.txt,sha256=xvBQ-Iuojwkz3NVnGN54ybdGJqb40wF6K6bOKxksCnU,7
|
|
19
|
+
devmem_agents-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 C. Steel
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
devmem
|