redis-memory-backend
SolidRedis backend for conversation state persistence and caching
API & Backend 814 stars
53 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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
1. **Message Store**: RedisChatMessageHistory
2. **Cache**: LLM response caching
3. **State Store**: Conversation state persistence
4. **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)
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Integrates with
Related Skills
API & Backend Featured
api-endpoint-builder
Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability.
38,979 Updated today
sickn33 API & Backend Featured
database
Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.
38,979 Updated today
sickn33 API & Backend Featured
firebase
Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong.
38,979 Updated today
sickn33