Skip to main content

Deterministic memory and governance for developers and AI agents.

Project description

.kit - Deterministic Memory OS for Multi-Agent Systems

"LLMs forget. .kit remembers deterministically."

.kit is a SQLite-backed memory and governance layer for AI agents. It maintains an append-only ledger of facts, decisions, and invariants, then uses deterministic ranking and protocol enforcement to turn stochastic model output into a controlled system.

Core Philosophy

  • Determinism First: Identical inputs should yield identical ranked context.
  • Immutable Ledger: Facts are not silently deleted; they are superseded by newer truths.
  • Cognitive Friction: Dynamic or temporal data is detected and challenged before it is stored as long-term architecture.
  • Unix Composability: The CLI is designed for pipes, scripts, and stateless orchestration.

The Golden Path

kit init
kit learn --tag invariant --content "Auth tokens MUST NOT be logged to console."
kit-agent ask "Implement a login logger."

Result: DECISION: BLOCK

Cognitive Friction

.kit is not a log aggregator or metrics store. kit learn warns and challenges content that looks dynamic, such as:

  • percentages or latency measurements
  • CPU or RAM metrics
  • timestamps or temporal words such as currently and now

Dynamic signals should go to kit-agent as ephemeral facts instead of being stored as long-term memory.

In v1.2.0 this is a friction layer, not a hard block:

  • interactive use asks for confirmation
  • non-interactive use emits a warning and continues

Ephemeral Memory

echo '{"env":"prod","version":"1.2.0"}' | kit-agent ask "What is the environment?"

CLI Surface

  • kit learn: ingest observations, invariants, and decisions
  • kit recall: retrieve ranked context for a symbol or scope
  • kit reflect: detect memory gaps and architectural drift in a diff
  • kit doctor: inspect system and agent health
  • kit-agent run or kit-agent ask: execute a task with provider fallback and structured output

Installation

pip install memory-share-kit

Python 3.14.x is the only supported runtime for this release line. If you need another Python version, fork it.

Documentation

License

MIT

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.0.tar.gz (126.3 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.0-py3-none-any.whl (58.8 kB view details)

Uploaded Python 3

File details

Details for the file memory_share_kit-1.2.0.tar.gz.

File metadata

  • Download URL: memory_share_kit-1.2.0.tar.gz
  • Upload date:
  • Size: 126.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for memory_share_kit-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1e2f89b66de4629e082619511639961e88cb2216e30313233098d4c273573dcb
MD5 6a49fa02672bc0a61ed0532192ab3764
BLAKE2b-256 7bbc60ae32fb81820a0df448b741ae66845175cf663626bdfca6ad7c19bf9a06

See more details on using hashes here.

Provenance

The following attestation bundles were made for memory_share_kit-1.2.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for memory_share_kit-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2419ffd7421d1f38dfce1c73f8ea927d919cf604a068230db0ef3ef3d08583ef
MD5 9052ad302d62111b86df9afb46b4c7c4
BLAKE2b-256 5cf07147fa8d25b8e1eb6f18b660f4a600cb552e16cdb9c0dbcc3e60ecc56cdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for memory_share_kit-1.2.0-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