stele-core
Governed experiential-memory ledger for AI agents.
Agents ADD distilled lessons into quarantine. Promotion requires
external-oracle evidence. Retrieval serves promoted entries only
(hybrid keyword + optional semantic + temporal), budgeted as slices.
Exports are redacted packs — the live store is never the sharing surface.
Zero runtime dependencies. Callers supply an optional embedder callable for semantic search; the default path never networks and never calls an LLM.
Install
pip install -e packages/stele-core
Quick start
from pathlib import Path
from stele_core import Stele
store = Stele.open(Path("./.stele-store"), store_id="demo")
result = store.add({
"layer": "failure_lesson",
"title": "Pin cache keys to calendar buckets",
"body": "Day-scoped keys prevent stale cross-day reads.",
"scope": "project:demo",
"temporal": {"valid_from": "2026-08-20T00:00:00Z", "last_verified": "2026-08-20T00:00:00Z"},
"provenance": {
"agent": "agent-a",
"task": "cache-fix",
"environment": "local",
"subject_id": "subj-demo",
"source": "session:abc",
"written_at": "2026-08-20T12:00:00Z",
},
})
# result == {"id": "se_...", "state": "quarantined"}
See the repo docs/TECH_SPEC.md for the full contract.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file stele_core-18.16.1.tar.gz.
File metadata
- Download URL: stele_core-18.16.1.tar.gz
- Upload date:
- Size: 711.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cda65af334d7c7afa05ccaeb0b96fb3c6eda3c004ab0caa4568d29398985331d
|
|
| MD5 |
73f61864a097528e0a81777d0ea5755e
|
|
| BLAKE2b-256 |
7b4ab9a2e1761eb4f566e297db6410b07fb608644fbd9c58f6a4420b38277b79
|
File details
Details for the file stele_core-18.16.1-py3-none-any.whl.
File metadata
- Download URL: stele_core-18.16.1-py3-none-any.whl
- Upload date:
- Size: 887.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca0934ee6fea52d17b425f8d1229c7ded18dcaa77c4587c3ea53cb55f23858df
|
|
| MD5 |
e52f02f6e6e55bda4650ac0bb4099c5f
|
|
| BLAKE2b-256 |
86a9a5ee0bc9269701ee1456a78d1560636ea28d7083c1251cd1cdc86e7fe15d
|