Skip to main content

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

stele_core-18.16.1.tar.gz (711.5 kB view details)

Uploaded Source

Built Distribution

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

stele_core-18.16.1-py3-none-any.whl (887.1 kB view details)

Uploaded Python 3

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

Hashes for stele_core-18.16.1.tar.gz
Algorithm Hash digest
SHA256 cda65af334d7c7afa05ccaeb0b96fb3c6eda3c004ab0caa4568d29398985331d
MD5 73f61864a097528e0a81777d0ea5755e
BLAKE2b-256 7b4ab9a2e1761eb4f566e297db6410b07fb608644fbd9c58f6a4420b38277b79

See more details on using hashes here.

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

Hashes for stele_core-18.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca0934ee6fea52d17b425f8d1229c7ded18dcaa77c4587c3ea53cb55f23858df
MD5 e52f02f6e6e55bda4650ac0bb4099c5f
BLAKE2b-256 86a9a5ee0bc9269701ee1456a78d1560636ea28d7083c1251cd1cdc86e7fe15d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

18.16.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page