agent-memory-sdk 0.1.2__tar.gz → 0.1.3__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 (45) hide show
  1. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/.github/workflows/ci.yml +7 -0
  2. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/PKG-INFO +85 -4
  3. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/README.md +84 -3
  4. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/_version.py +2 -2
  5. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/.gitignore +0 -0
  6. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/.pre-commit-config.yaml +0 -0
  7. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/CHANGELOG.md +0 -0
  8. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/Dockerfile +0 -0
  9. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/LICENSE +0 -0
  10. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/Makefile +0 -0
  11. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/RUNNING_LOCALLY.md +0 -0
  12. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/__init__.py +0 -0
  13. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/benchmark.py +0 -0
  14. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/cli.py +0 -0
  15. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/decision.py +0 -0
  16. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/eval.py +0 -0
  17. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/explain.py +0 -0
  18. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/manager.py +0 -0
  19. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/models.py +0 -0
  20. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/policy.py +0 -0
  21. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/retriever.py +0 -0
  22. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/sqlite_store.py +0 -0
  23. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/store.py +0 -0
  24. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/agent_memory/ttl.py +0 -0
  25. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/benchmarks/README.md +0 -0
  26. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/benchmarks/datasets/coding_agent.json +0 -0
  27. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/benchmarks/datasets/customer_support.json +0 -0
  28. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/benchmarks/datasets/research_agent.json +0 -0
  29. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docker-compose.yml +0 -0
  30. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/README.md +0 -0
  31. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/architecture.md +0 -0
  32. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/benchmarks.md +0 -0
  33. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/examples.md +0 -0
  34. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/faq.md +0 -0
  35. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/getting-started.md +0 -0
  36. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/memory-model.md +0 -0
  37. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/docs/policies.md +0 -0
  38. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/examples/basic_usage.py +0 -0
  39. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/mcp_server/__init__.py +0 -0
  40. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/mcp_server/server.py +0 -0
  41. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/pyproject.toml +0 -0
  42. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/tests/__init__.py +0 -0
  43. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/tests/test_backends.py +0 -0
  44. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/tests/test_memory.py +0 -0
  45. {agent_memory_sdk-0.1.2 → agent_memory_sdk-0.1.3}/tests/test_v03.py +0 -0
@@ -144,6 +144,13 @@ jobs:
144
144
  run: |
145
145
  twine upload dist/*
146
146
 
147
+ - name: Publish to GitHub Packages
148
+ env:
149
+ TWINE_USERNAME: ${{ github.actor }}
150
+ TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
151
+ run: |
152
+ twine upload --repository-url https://upload.pkg.github.com/${{ github.repository_owner }}/agent-memory dist/*
153
+
147
154
  - name: Create GitHub Release
148
155
  uses: softprops/action-gh-release@v2
149
156
  with:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-memory-sdk
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Persistent semantic memory for AI agents with replay, restore, verify, and ignore decisions
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -22,7 +22,7 @@ Description-Content-Type: text/markdown
22
22
  [![CI](https://github.com/TheProdSDE/agent-memory/actions/workflows/ci.yml/badge.svg)](https://github.com/TheProdSDE/agent-memory/actions)
23
23
  [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
24
24
  [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
25
- [![PyPI version](https://img.shields.io/pypi/v/agent-memory.svg)](https://pypi.org/project/agent-memory/)
25
+ [![PyPI version](https://img.shields.io/pypi/v/agent-memory-sdk.svg)](https://pypi.org/project/agent-memory-sdk/)
26
26
 
27
27
  **Persistent semantic memory for AI agents with intelligent decision-making.**
28
28
 
@@ -213,7 +213,7 @@ print(decision.explain()) # Detailed score breakdown
213
213
 
214
214
  ```bash
215
215
  # From PyPI
216
- pip install agent-memory
216
+ pip install agent-memory-sdk
217
217
 
218
218
  # From source (development)
219
219
  git clone https://github.com/TheProdSDE/agent-memory.git
@@ -422,7 +422,88 @@ agent-memory eval --datasets ./benchmarks/datasets
422
422
 
423
423
  ---
424
424
 
425
- ## 📈 Current Status (v0.1.0-alpha)
425
+ ## Release Process
426
+
427
+ ### How Releases Work
428
+
429
+ The project uses **automated CI/CD** via GitHub Actions. Releases are triggered by **pushing a version tag**:
430
+
431
+ ```bash
432
+ # Create and push a version tag (triggers full release pipeline)
433
+ git tag v0.1.3
434
+ git push origin v0.1.3
435
+ ```
436
+
437
+ ### What Happens on Tag Push
438
+
439
+ When you push a tag matching `v*` (e.g., `v0.1.3`, `v1.0.0`, `v2.0.0-beta.1`):
440
+
441
+ | Step | Description |
442
+ |------|-------------|
443
+ | 1️⃣ **Test** | Runs tests on Python 3.10, 3.11, 3.12, 3.13 |
444
+ | 2️⃣ **Benchmark** | Runs performance benchmarks |
445
+ | 3️⃣ **Docker** | Builds and tests multi-stage Docker image |
446
+ | 4️⃣ **Publish** | Builds package → Publishes to PyPI → Creates GitHub Release |
447
+
448
+ ### Release Artifacts Created
449
+
450
+ | Artifact | Location |
451
+ |----------|----------|
452
+ | **PyPI Package** | `pip install agent-memory-sdk==0.1.3` |
453
+ | **GitHub Release** | https://github.com/theprodsde/agent-memory/releases/tag/v0.1.3 |
454
+ | **Docker Image** | `ghcr.io/theprodsde/agent-memory:v0.1.3` (if configured) |
455
+ | **Source Archives** | Auto-attached to GitHub Release |
456
+
457
+ ### Version Format
458
+
459
+ Use **Semantic Versioning** with optional pre-release suffixes:
460
+ - `v1.0.0` - Stable release
461
+ - `v1.0.1` - Patch release
462
+ - `v1.1.0` - Minor release
463
+ - `v2.0.0` - Major release
464
+ - `v1.0.0-alpha.1` - Alpha pre-release
465
+ - `v1.0.0-beta.2` - Beta pre-release
466
+ - `v1.0.0-rc.1` - Release candidate
467
+
468
+ ### Prerequisites
469
+
470
+ 1. **PyPI Token** - Stored as `PYPI_API_TOKEN` in GitHub repository secrets
471
+ 2. **GitHub Token** - Automatically provided as `GITHUB_TOKEN`
472
+ 3. **Branch Protection** - Recommended: require PR reviews before merging to main
473
+
474
+ ### Manual Release (if needed)
475
+
476
+ ```bash
477
+ # 1. Ensure you're on main with latest changes
478
+ git checkout main
479
+ git pull origin main
480
+
481
+ # 2. Create version tag
482
+ git tag v0.1.3
483
+
484
+ # 3. Push tag (triggers CI/CD)
485
+ git push origin v0.1.3
486
+
487
+ # 4. Monitor workflow
488
+ # https://github.com/theprodsde/agent-memory/actions
489
+ ```
490
+
491
+ ### Rollback / Delete Release
492
+
493
+ ```bash
494
+ # Delete local tag
495
+ git tag -d v0.1.3
496
+
497
+ # Delete remote tag (also deletes GitHub Release)
498
+ git push origin --delete v0.1.3
499
+
500
+ # Note: PyPI packages CANNOT be deleted, only yanked
501
+ # twine yank agent-memory-sdk 0.1.3
502
+ ```
503
+
504
+ ---
505
+
506
+ ## 📈 Current Status (v0.1.2)
426
507
 
427
508
  ### ✅ Implemented
428
509
  - Hybrid retrieval (BM25 + Vector + RRF fusion)
@@ -3,7 +3,7 @@
3
3
  [![CI](https://github.com/TheProdSDE/agent-memory/actions/workflows/ci.yml/badge.svg)](https://github.com/TheProdSDE/agent-memory/actions)
4
4
  [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
6
- [![PyPI version](https://img.shields.io/pypi/v/agent-memory.svg)](https://pypi.org/project/agent-memory/)
6
+ [![PyPI version](https://img.shields.io/pypi/v/agent-memory-sdk.svg)](https://pypi.org/project/agent-memory-sdk/)
7
7
 
8
8
  **Persistent semantic memory for AI agents with intelligent decision-making.**
9
9
 
@@ -194,7 +194,7 @@ print(decision.explain()) # Detailed score breakdown
194
194
 
195
195
  ```bash
196
196
  # From PyPI
197
- pip install agent-memory
197
+ pip install agent-memory-sdk
198
198
 
199
199
  # From source (development)
200
200
  git clone https://github.com/TheProdSDE/agent-memory.git
@@ -403,7 +403,88 @@ agent-memory eval --datasets ./benchmarks/datasets
403
403
 
404
404
  ---
405
405
 
406
- ## 📈 Current Status (v0.1.0-alpha)
406
+ ## Release Process
407
+
408
+ ### How Releases Work
409
+
410
+ The project uses **automated CI/CD** via GitHub Actions. Releases are triggered by **pushing a version tag**:
411
+
412
+ ```bash
413
+ # Create and push a version tag (triggers full release pipeline)
414
+ git tag v0.1.3
415
+ git push origin v0.1.3
416
+ ```
417
+
418
+ ### What Happens on Tag Push
419
+
420
+ When you push a tag matching `v*` (e.g., `v0.1.3`, `v1.0.0`, `v2.0.0-beta.1`):
421
+
422
+ | Step | Description |
423
+ |------|-------------|
424
+ | 1️⃣ **Test** | Runs tests on Python 3.10, 3.11, 3.12, 3.13 |
425
+ | 2️⃣ **Benchmark** | Runs performance benchmarks |
426
+ | 3️⃣ **Docker** | Builds and tests multi-stage Docker image |
427
+ | 4️⃣ **Publish** | Builds package → Publishes to PyPI → Creates GitHub Release |
428
+
429
+ ### Release Artifacts Created
430
+
431
+ | Artifact | Location |
432
+ |----------|----------|
433
+ | **PyPI Package** | `pip install agent-memory-sdk==0.1.3` |
434
+ | **GitHub Release** | https://github.com/theprodsde/agent-memory/releases/tag/v0.1.3 |
435
+ | **Docker Image** | `ghcr.io/theprodsde/agent-memory:v0.1.3` (if configured) |
436
+ | **Source Archives** | Auto-attached to GitHub Release |
437
+
438
+ ### Version Format
439
+
440
+ Use **Semantic Versioning** with optional pre-release suffixes:
441
+ - `v1.0.0` - Stable release
442
+ - `v1.0.1` - Patch release
443
+ - `v1.1.0` - Minor release
444
+ - `v2.0.0` - Major release
445
+ - `v1.0.0-alpha.1` - Alpha pre-release
446
+ - `v1.0.0-beta.2` - Beta pre-release
447
+ - `v1.0.0-rc.1` - Release candidate
448
+
449
+ ### Prerequisites
450
+
451
+ 1. **PyPI Token** - Stored as `PYPI_API_TOKEN` in GitHub repository secrets
452
+ 2. **GitHub Token** - Automatically provided as `GITHUB_TOKEN`
453
+ 3. **Branch Protection** - Recommended: require PR reviews before merging to main
454
+
455
+ ### Manual Release (if needed)
456
+
457
+ ```bash
458
+ # 1. Ensure you're on main with latest changes
459
+ git checkout main
460
+ git pull origin main
461
+
462
+ # 2. Create version tag
463
+ git tag v0.1.3
464
+
465
+ # 3. Push tag (triggers CI/CD)
466
+ git push origin v0.1.3
467
+
468
+ # 4. Monitor workflow
469
+ # https://github.com/theprodsde/agent-memory/actions
470
+ ```
471
+
472
+ ### Rollback / Delete Release
473
+
474
+ ```bash
475
+ # Delete local tag
476
+ git tag -d v0.1.3
477
+
478
+ # Delete remote tag (also deletes GitHub Release)
479
+ git push origin --delete v0.1.3
480
+
481
+ # Note: PyPI packages CANNOT be deleted, only yanked
482
+ # twine yank agent-memory-sdk 0.1.3
483
+ ```
484
+
485
+ ---
486
+
487
+ ## 📈 Current Status (v0.1.2)
407
488
 
408
489
  ### ✅ Implemented
409
490
  - Hybrid retrieval (BM25 + Vector + RRF fusion)
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.1.2'
22
- __version_tuple__ = version_tuple = (0, 1, 2)
21
+ __version__ = version = '0.1.3'
22
+ __version_tuple__ = version_tuple = (0, 1, 3)
23
23
 
24
24
  __commit_id__ = commit_id = None