Skip to main content

Persistent memory + emergent identity engine for any LLM

Project description

kore-mind

Persistent memory + emergent identity engine for any LLM.

One file = one mind. SQLite-based. Zero config. Runtime-agnostic.

Install

pip install kore-mind

Usage

from kore_mind import Mind

mind = Mind("agent.db")

# Register experiences
mind.experience("User works on complexity theory proofs")
mind.experience("User prefers direct, concise answers")

# Recall relevant memories
memories = mind.recall("proof techniques")

# Reflect: decay old memories, consolidate, update identity
identity = mind.reflect()
print(identity.summary)

# Forget: explicit pruning
mind.forget(threshold=0.1)

Core concepts

  • Memory has a lifecycle: salience decays over time. Unused memories fade. Accessed memories strengthen.
  • Identity is emergent: not configured, but computed from accumulated memories.
  • reflect() is the key operation: decay + consolidation + identity update.

API (5 methods)

Method Description
experience(text) Something happened. Record it.
recall(query) What's relevant now?
reflect(fn) Consolidate. Decay. Evolve.
identity() Who am I now?
forget(threshold) Explicit pruning.

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

kore_mind-0.2.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

kore_mind-0.2.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file kore_mind-0.2.0.tar.gz.

File metadata

  • Download URL: kore_mind-0.2.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kore_mind-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4526e5913d251dc4971b2072323dfb119581645c37dd8f7cedbf76d88ec3d744
MD5 ff07dd30079b9c4ce7bb0b96f3574e27
BLAKE2b-256 ecfbf0e22a0d554572f7707d5ee75e288731a6b7280e7e812e4d8c735a56f2e2

See more details on using hashes here.

File details

Details for the file kore_mind-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kore_mind-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kore_mind-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44e3562a280c78f94708b083c78b977b15ad31faf97c6de08332e48abcbdbe6e
MD5 1f5aa3e319dc41826529082100216ad2
BLAKE2b-256 f28ee246b5181485d8a76aadce3d969fd9a25c3704167d137eb62a3f6e522a3c

See more details on using hashes here.

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