Schema-rich agent life-story archive for Kestrel Sovereign
Project description
kestrel-feature-story-archive
Schema-rich agent life-story archive for Kestrel Sovereign.
An agent maintains a queryable, semantic archive of its life-story:
interactions, observations, and reflections, organized as a timeline
with vector search and contradiction detection. This is a reusable
framework capability — a sibling package alongside
kestrel-feature-healthcare / -visual / -reflection / -observability
— not a host-product feature. Any Kestrel host can consume it.
Status
Bootstrap skeleton (FEAT-1). Business logic lands in FEAT-2..5:
- FEAT-2 — entity models (Story, StoryChunk, StoryEvent) + Alembic migrations
- FEAT-3 — TimelineBuilder (session → Story/StoryEvent/StoryChunk extractor)
- FEAT-4 — VectorSearch integration for semantic story retrieval
- FEAT-5 — sharing, replay, export, contradiction detection services
This package migrates the 8,240-LOC Story Archive stack from Frinz into
a reusable feature package so other consumers (RemoteCares/RPM Azure
pilot) can leverage it. Records are scoped to agent_did (the canonical
owner identity per the Agent Identity Contract).
Installation
uv pip install kestrel-feature-story-archive
The package registers StoryFeature through the
kestrel_sovereign.features entry-point group and registers its entity
models via the kestrel_entities.models entry-point for Alembic
autogen.
Development
uv sync --extra test
uv run --extra test pytest
Architecture
Records are agent_did-scoped and persisted via kestrel-feature-entities
ORM layer. The feature consumes the DatabaseBackend from the host and
leverages the Timeline and VectorSearch protocols (kestrel-sovereign-sdk
v0.16.0+).
No product-specific terminology anywhere in this package — vocabulary is
agent / agent_did / owner throughout. This is a framework capability.
Project details
Release history Release notifications | RSS feed
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 kestrel_feature_story_archive-0.2.2.tar.gz.
File metadata
- Download URL: kestrel_feature_story_archive-0.2.2.tar.gz
- Upload date:
- Size: 73.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d49e0b3562f16a0277dc1e4a4d5ed6ce640457c773aaaa5d8102011d7418f866
|
|
| MD5 |
b291ad19ba83331a8a7177a7e6fc508e
|
|
| BLAKE2b-256 |
047cc5e75b5f8378a3ac0b5911eb4c91eda5e145a8cfadd40d89714e78e30ae4
|
Provenance
The following attestation bundles were made for kestrel_feature_story_archive-0.2.2.tar.gz:
Publisher:
publish.yml on KestrelSovereignAI/kestrel-feature-story-archive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kestrel_feature_story_archive-0.2.2.tar.gz -
Subject digest:
d49e0b3562f16a0277dc1e4a4d5ed6ce640457c773aaaa5d8102011d7418f866 - Sigstore transparency entry: 1740033738
- Sigstore integration time:
-
Permalink:
KestrelSovereignAI/kestrel-feature-story-archive@b455d08c4686e40b6badf0ef3cbdd4d595dcd95d -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/KestrelSovereignAI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b455d08c4686e40b6badf0ef3cbdd4d595dcd95d -
Trigger Event:
push
-
Statement type:
File details
Details for the file kestrel_feature_story_archive-0.2.2-py3-none-any.whl.
File metadata
- Download URL: kestrel_feature_story_archive-0.2.2-py3-none-any.whl
- Upload date:
- Size: 80.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbb54d3959372688ce2366bbc4f3a885639cdfbda07e80eb4b65ad33c22cbc76
|
|
| MD5 |
f478b8cab8267613e28200aac83bb3bb
|
|
| BLAKE2b-256 |
503db31ed1576d86fe82015a77f4852f123902c2992c2cdfad17345d7e8a785a
|
Provenance
The following attestation bundles were made for kestrel_feature_story_archive-0.2.2-py3-none-any.whl:
Publisher:
publish.yml on KestrelSovereignAI/kestrel-feature-story-archive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kestrel_feature_story_archive-0.2.2-py3-none-any.whl -
Subject digest:
bbb54d3959372688ce2366bbc4f3a885639cdfbda07e80eb4b65ad33c22cbc76 - Sigstore transparency entry: 1740033756
- Sigstore integration time:
-
Permalink:
KestrelSovereignAI/kestrel-feature-story-archive@b455d08c4686e40b6badf0ef3cbdd4d595dcd95d -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/KestrelSovereignAI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b455d08c4686e40b6badf0ef3cbdd4d595dcd95d -
Trigger Event:
push
-
Statement type: