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.2.3.tar.gz (12.5 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.2.3-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentforge_chat_history_redis-0.2.3.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_chat_history_redis-0.2.3.tar.gz
Algorithm Hash digest
SHA256 605f86694034e01b47b5cca36702580d4110fc521d84f6a9e9eaa7e15516f97c
MD5 27b7d5f0429e458b874d7d5de4a8c1f4
BLAKE2b-256 03fcc7ddb1199b1708f69ee892f1530501fb6ff538e905c19029df9cd0418272

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentforge_chat_history_redis-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_chat_history_redis-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c34a1454b93c55880331c368700488b4bbb50a7080a73ceead48f34453d3070
MD5 947449b2f92a77030263dc4baa7a6a50
BLAKE2b-256 35433328053bd5befabdbc3396a6e7516c475e5f2f19e1c6e33fa4c7dcebb2d3

See more details on using hashes here.

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