agent-session-linker
Cross-session context persistence and resumption
Part of the AumOS open-source agent infrastructure portfolio.
Features
SessionManagerprovides create/save/load/list/delete lifecycle management over a pluggableStorageBackendABC with checksum validation on every serialization round-trip- Five storage backends out of the box: in-memory, filesystem (JSON files), SQLite, Redis, and S3 — swap backends without changing application code
ContextInjectorselects and injects prior session context into a new conversation based on relevance scoring and configurable freshness thresholds- Entity extraction and cross-session linking tracks named entities (people, places, topics) across sessions so the agent can resume threads without being explicitly told what it discussed
ContextSummarizercompresses long session histories to fit within token budgets while preserving the entities and decisions that matter- Session middleware with automatic checkpoint creation and context-window management that prevents unbounded context growth
SessionLinkerchains related sessions by shared entities, enabling multi-session reasoning across conversations that span days or weeks
Quick Start
Install from PyPI:
pip install agent-session-linker
Verify the installation:
agent-session-linker version
Basic usage:
import agent_session_linker
# See examples/01_quickstart.py for a working example
Documentation
Enterprise Upgrade
For production deployments requiring SLA-backed support and advanced integrations, contact the maintainers or see the commercial extensions documentation.
Contributing
Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.
License
Apache 2.0 — see LICENSE for full terms.
Part of AumOS — open-source agent infrastructure.
Metadata
Release files for agent-session-linker 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| agent_session_linker-0.2.0.tar.gz | 136.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agent_session_linker-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 237.5 kB
Release files / agent_session_linker-0.2.0.tar.gz
| Download URL | agent_session_linker-0.2.0.tar.gz |
|---|---|
| Size | 136.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9dc0c22d0a2dad05bdb45e96009f572bc2b2b8cfb58043e51274f5e3ac21114
|
|
BLAKE2b-256 checksum How to use checksums |
11d3d782d105adace8c5d17375cdeea40d4b9035a4734ebc6034dd8c50f7b412
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / agent_session_linker-0.2.0-py3-none-any.whl
| Download URL | agent_session_linker-0.2.0-py3-none-any.whl |
|---|---|
| Size | 101.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31fa6e84738a604de978ede448e78c59c86edcea62aa20e420546354b3c5484f
|
|
BLAKE2b-256 checksum How to use checksums |
5ec71319c556c70564d131ac9a320f6ee9a2a04ca70bd1ad2357ea4aab879243
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for agent-session-linker 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.