Skip to main content

Deterministic memory and governance for developers and AI agents.

Project description

📦 memory-share-kit

A lightweight cognitive runtime CLI for persistent memory + tool-driven reasoning.


🐍 Requirements

  • Python 3.14.x Required
  • This runtime is tested and supported strictly on Python 3.14.4+.

🖥 Supported Environment

  • OS: Windows 10/11 (fully tested)
  • Runtime: Python 3.14.4+
  • Database: SQLite (bundled with Python 3.14, WAL + STRICT mode)

⚡ Install

pip install memory-share-kit

🚀 Quick Start

kit init

Initializes the local cognitive environment and seals the kernel.


🏗 Architecture Overview

The system operates as a deterministic cognitive substrate:

Agent / IDE
  ↓
Kit CLI (The Brain)
  ↓
Memory Router (Routing & Governance)
  ↓
SQLite Storage (JSONB + WAL + STRICT)

Verification Path (Forensic):
Kit CLI
  ↓
Vantage (The Sensor - Rust Core)
  ↓
Integrity Verification (Drift Detection)

🧠 Memory Topology

Kit enforces a 4-tier deterministic memory model:

  • L1 — Local Brain: Repository-specific reasoning and context.
  • L2 — Global Brain: Shared user-level knowledge across projects.
  • L3 — Frozen Law: Immutable architectural invariants (Read-Only).
  • L4 — Audit Trace: Forensic log of all cognitive routing decisions.

🧪 Minimal Workflow Example

The following sequence represents a standard deterministic session:

# 1. Initialize
kit init

# 2. Record a decision or invariant
kit learn --tag decision "Always use WAL mode for high concurrency"

# 3. Recall the context
kit recall

# 4. Verify structural integrity
kit-vantage verify-memory

🧠 Usage Summary

Store knowledge

kit learn --tag decision "Use WAL mode for deterministic writes"

Recall context

kit recall

Search memory

kit search "router failure"

Verify integrity

kit-vantage verify-memory

🔍 Verification Layer (Optional)

Kit supports external structural verification using Vantage. While optional, it is highly recommended for production-grade cognitive kernels to prevent drift and ensure topological integrity.

Install Vantage: https://github.com/so-sai/Vantage

After installation, you can run forensic verification:

kit-vantage verify-memory

🛡️ Core Principles

  • Runtime is Truth: The executing environment is the only valid state.
  • CLI is Interface: Clean, tool-first access to the cognitive kernel.
  • Memory is Persistent: Deterministic storage with SQLite WAL + JSONB.
  • Verification is External: Integrity is enforced by the Vantage sensor layer.

🛠️ Failure Recovery

If the system enters a friction state or memory drift is detected:

kit doctor          # Diagnose health
kit doctor --heal   # Automatically repair common artifacts

📌 Version

v1.2.4.post2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memory_share_kit-1.2.4.post2.tar.gz (166.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

memory_share_kit-1.2.4.post2-py3-none-any.whl (211.0 kB view details)

Uploaded Python 3

File details

Details for the file memory_share_kit-1.2.4.post2.tar.gz.

File metadata

  • Download URL: memory_share_kit-1.2.4.post2.tar.gz
  • Upload date:
  • Size: 166.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for memory_share_kit-1.2.4.post2.tar.gz
Algorithm Hash digest
SHA256 e8e2cc330ae1bcf9284cddaf3079e3e9393ba6499619637ed4083b3689fc5c50
MD5 918f49de2e61b51afd13f030b7c76b73
BLAKE2b-256 ab6179c71eb03cc2100ac1f7a763d0c74e518e81fdfe46d7a12c5ca07a45180d

See more details on using hashes here.

Provenance

The following attestation bundles were made for memory_share_kit-1.2.4.post2.tar.gz:

Publisher: publish-pypi.yml on vantruong-dang/memory_share.kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memory_share_kit-1.2.4.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for memory_share_kit-1.2.4.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 d68e025be595d4e119a1b43ce1c744694510443b562caa2e1bb0c4390ab06d2b
MD5 28aee650aa363a8b4d74e507e43e9a11
BLAKE2b-256 e6c04f7ec248e18a992a09c2e6d968bae9c088bea67b63107d34c260462cd247

See more details on using hashes here.

Provenance

The following attestation bundles were made for memory_share_kit-1.2.4.post2-py3-none-any.whl:

Publisher: publish-pypi.yml on vantruong-dang/memory_share.kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page