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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
kore_mind-0.2.0-py3-none-any.whl
(13.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4526e5913d251dc4971b2072323dfb119581645c37dd8f7cedbf76d88ec3d744
|
|
| MD5 |
ff07dd30079b9c4ce7bb0b96f3574e27
|
|
| BLAKE2b-256 |
ecfbf0e22a0d554572f7707d5ee75e288731a6b7280e7e812e4d8c735a56f2e2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44e3562a280c78f94708b083c78b977b15ad31faf97c6de08332e48abcbdbe6e
|
|
| MD5 |
1f5aa3e319dc41826529082100216ad2
|
|
| BLAKE2b-256 |
f28ee246b5181485d8a76aadce3d969fd9a25c3704167d137eb62a3f6e522a3c
|