Skip to content
reaatechREAATECH

reaatech/session-continuity-kit

0Last commit: May 17, 2026GitHub →

These packages provide a framework for managing multi-turn AI agent conversations, including token budget enforcement, context compression, and session persistence. They solve the complexity of maintaining consistent conversation state across agent handoffs and varying LLM context windows. The system is built around a pluggable architecture where a central `SessionManager` coordinates with interchangeable storage adapters and model-specific tokenizers to handle session lifecycles.

Packages

6 packages

@reaatech/session-continuity

pending npm
Manages multi-turn AI conversation state, token budgets, and context compression through a `SessionManager` class. It requires an implementation of `IStorageAdapter` and a `TokenCounter` to persist and track conversation history across different backends.
status
awaiting publish

@reaatech/session-continuity-storage-dynamodb

pending npm
Provides a DynamoDB storage adapter for the `@reaatech/session-continuity` library, implementing the `IStorageAdapter` interface for session and message persistence. It requires an AWS SDK v3 `DynamoDBDocumentClient` and utilizes a single-table design with pre-configured GSIs for efficient querying.
status
awaiting publish

@reaatech/session-continuity-storage-firestore

pending npm
Provides a Google Cloud Firestore implementation of the `IStorageAdapter` interface for the `@reaatech/session-continuity` library. It exports a `FirestoreAdapter` class that manages session metadata and message subcollections using the `@google-cloud/firestore` client.
status
awaiting publish

@reaatech/session-continuity-storage-memory

pending npm
Provides an in-memory `IStorageAdapter` implementation for the `@reaatech/session-continuity` library. It exposes a `MemoryAdapter` class that uses a `Map` to store session data with optional TTL expiration, suitable for development and testing environments.
status
awaiting publish

@reaatech/session-continuity-storage-redis

pending npm
Provides a Redis-backed storage implementation for the `@reaatech/session-continuity` library by exposing a `RedisAdapter` class. It requires a `node-redis` client instance to persist session data, message history, and user indices using native Redis hashes and sorted sets.
status
awaiting publish

@reaatech/session-continuity-tokenizers

pending npm
Provides classes for calculating exact or heuristic token counts for OpenAI and Anthropic models, implementing the `TokenCounter` interface from `@reaatech/session-continuity`. It includes a factory for automatic model-based selection and requires `@anthropic-ai/tokenizer` as an optional peer dependency for Anthropic support.
status
awaiting publish

Comments

Sign in with GitHub to comment and vote.

Loading comments…