Redis memory backend
Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/redis-memory-backend
Babysitter enforces obedience on agentic workforces and enables them to manage extremely complex tasks and workflows through deterministic, hallucination-free self-orchestration
npx -y skills add a5c-ai/babysitter --skill redis-memory-backendAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Redis backend for conversation state persistence and caching
SKILL.md
1.5 KB, as published. Nobody here has run it
Redis Memory Backend Skill
Capabilities
- Configure Redis for conversation state storage
- Implement message history persistence
- Set up Redis caching for LLM responses
- Configure TTL-based memory expiration
- Implement Redis Pub/Sub for real-time updates
- Design efficient key schemas
Target Processes
- conversational-memory-system
- chatbot-design-implementation
Implementation Details
Core Components
- Message Store: RedisChatMessageHistory
- Cache: LLM response caching
- State Store: Conversation state persistence
- Pub/Sub: Real-time updates
Configuration Options
- Redis connection settings
- Key prefix configuration
- TTL settings
- Serialization format
- Cluster configuration
Key Schema Patterns
- session:{session_id}:messages
- cache:llm:{prompt_hash}
- state:{user_id}:{key}
Best Practices
- Use appropriate data structures
- Configure proper TTLs
- Implement connection pooling
- Monitor memory usage
Dependencies
- redis
- langchain-community (RedisChatMessageHistory)