Valkey Cache
Valkey is available at {{VALKEY_HOST}}:{{VALKEY_PORT}} within the Docker network. It is fully Redis-compatible.
Basic Operations
# Set and get a value
valkey-cli -h {{VALKEY_HOST}} -p {{VALKEY_PORT}} SET mykey "myvalue"
valkey-cli -h {{VALKEY_HOST}} -p {{VALKEY_PORT}} GET mykey
# Set with expiration (60 seconds)
valkey-cli -h {{VALKEY_HOST}} -p {{VALKEY_PORT}} SET session:123 "data" EX 60
Tips for AI Agents
- Drop-in replacement for Redis — use the same commands and client libraries.
- Ideal for caching, session storage, and pub/sub messaging.