Skip to main content

Redis-backed ChatHistoryStore and SessionLock for AgentForge

Project description

agentforge-chat-history-redis

Redis-backed ChatHistoryStore for AgentForge (feat-020 v0.2).

Also ships RedisSessionLock — the cross-process per-session lock used by multi-worker chat-http deployments so a single session can't be processed concurrently across pods.

from agentforge_chat_history_redis import (
    RedisChatHistory,
    redis_session_lock_factory,
)

history = await RedisChatHistory.from_url("redis://localhost:6379")
lock_factory = redis_session_lock_factory("redis://localhost:6379")

Run live integration tests with:

docker run --rm -d -p 6379:6379 redis:7
REDIS_URL=redis://localhost:6379 \
  uv run pytest -m live packages/agentforge-chat-history-redis/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentforge_chat_history_redis-0.3.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

agentforge_chat_history_redis-0.3.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_chat_history_redis-0.3.1.tar.gz.

File metadata

File hashes

Hashes for agentforge_chat_history_redis-0.3.1.tar.gz
Algorithm Hash digest
SHA256 77decaa18adc41aa75169ed062b4bd486906ef3f68262231eabc151fabc97bb0
MD5 f4ce8a15bc4b0e889d0f20a56c60a21e
BLAKE2b-256 9a33da1f8fa23319017d0500e6beb21b6294c62a4b2708e70b32b01904919f38

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_chat_history_redis-0.3.1.tar.gz:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentforge_chat_history_redis-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_chat_history_redis-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ece8bf11885ab3f4bba80a6eb39dc8cb0d8d6539db802fa64aaa7635e7265795
MD5 b485b6525ae90bb68a01efeadb167b51
BLAKE2b-256 2a4a4c4b146a2d6e60681ac42079de79f41b51db244d8ded79d6cf2433406632

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_chat_history_redis-0.3.1-py3-none-any.whl:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page