Skip to main content

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.

Metadata

Release files for kestrel-feature-story-archive 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kestrel-feature-story-archive 0.3.4
File Size Uploaded
kestrel_feature_story_archive-0.3.4.tar.gz 82.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kestrel-feature-story-archive 0.3.4
File Interpreter ABI Platform
kestrel_feature_story_archive-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 173.3 kB

Release files / kestrel_feature_story_archive-0.3.4.tar.gz

Download URL kestrel_feature_story_archive-0.3.4.tar.gz
Size 82.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce0184e74645ce805b8982e7d6469580d6e452d4c0369b355456540daa9dbef0
BLAKE2b-256 checksum
How to use checksums
e56a33f7c0e51d9580e5338014fbf0431798e23339ac33902710b70c69be8a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / kestrel_feature_story_archive-0.3.4-py3-none-any.whl

Download URL kestrel_feature_story_archive-0.3.4-py3-none-any.whl
Size 91.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dec23716b4fe5c534bc3dae4ffeb1aeddd35f831a8afe94dc8094aa42020bdd8
BLAKE2b-256 checksum
How to use checksums
b7b46ce40e807c65381c69c6aaea44366d514dd403c9ed82805bcc0e69928543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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