Redis
Overview
Redis is an in-memory data store used as a database, cache, message broker, and streaming engine. An agent needs to know it because it underpins real-time applications, vector search, and modern AI pipelines like RAG. Mastering Redis means understanding its commands, data types, modules, and operational tooling.
Mental Model
Redis centers on a single-threaded event loop executing atomic commands against in-memory data structures, extended by modules and client libraries for vectors, streams, and JSON. All operations are key-based and command-driven, with persistence, replication, and clustering layered on top. Start with the command references (redis/docs/latest/commands/redis-7-4-commands/index.md), core data types (redis/docs/latest/develop/data-types/json/path/index.md), and the modules API (redis/docs/latest/develop/reference/modules/index.md) to internalize the architecture.
Learning Paths
Getting Started
redis/docs/latest/develop/get-started/rag/index.mdredis/docs/latest/integrate/redisvl/index.mdredis/docs/latest/develop/clients/nodejs/transpipe/index.md
Production Ready
redis/docs/latest/operate/redisinsight/configuration/index.mdredis/docs/latest/develop/clients/nodejs/amr/index.mdredis/docs/latest/integrate/redis-data-integration/index.md
Reference Deep-Dive
redis/docs/latest/commands/redis-7-4-commands/index.mdredis/docs/latest/develop/reference/command-tips/index.mdredis/docs/latest/develop/reference/modules/index.mdredis/docs/latest/develop/reference/modules/modules-native-types/index.mdredis/docs/latest/develop/reference/modules/modules-blocking-ops/index.md
Concept Map
- Commands & Reference
- redis commands used
redis/docs/latest/commands/redis-7-4-commands/index.mdredis/docs/latest/commands/redis-8-2-commands/index.mdredis/docs/latest/develop/reference/command-tips/index.md
- why atomicity matters
redis/docs/latest/develop/clients/nodejs/transpipe/index.md
- redis commands used
- Data & Model
- data model
redis/docs/latest/develop/data-types/json/path/index.md
- create index
redis/docs/latest/develop/get-started/rag/index.md
- load data
redis/docs/latest/integrate/redis-data-integration/index.md
- data model
- Getting Started
- overview
redis/docs/latest/integrate/redisvl/index.md
- getting started
redis/docs/latest/develop/get-started/rag/index.md
- key features
redis/docs/latest/integrate/redis-data-integration/index.md
- why use redis
redis/docs/latest/develop/get-started/rag/index.md
- overview
- Clients & Connectivity
- installation / install
redis/docs/latest/develop/clients/nodejs/amr/index.md
- how it works
redis/docs/latest/develop/clients/nodejs/transpipe/index.mdredis/docs/latest/develop/clients/nodejs/amr/index.md
- prerequisites
redis/docs/latest/develop/clients/nodejs/amr/index.md
- installation / install
- Modules & Scripting
- the lua script / script breakdown
redis/docs/latest/develop/reference/modules/index.md
- modules api reference
redis/docs/latest/develop/reference/modules/modules-api-ref/index.mdredis/docs/latest/develop/reference/modules/modules-native-types/index.mdredis/docs/latest/develop/reference/modules/modules-blocking-ops/index.md
- the lua script / script breakdown
- Operations & Tooling
- highlights / details
redis/docs/latest/develop/tools/insight/release-notes/v.2.68.0/index.md
- configuration
redis/docs/latest/operate/redisinsight/configuration/index.md
- highlights / details
If You Need To...
| If you need to... | Read |
|---|---|
| Look up core commands | redis/docs/latest/commands/redis-7-4-commands/index.md |
| Build a RAG/vector application | redis/docs/latest/develop/get-started/rag/index.md |
| Run pipelines or transactions | redis/docs/latest/develop/clients/nodejs/transpipe/index.md |
| Query JSON with JSONPath | redis/docs/latest/develop/data-types/json/path/index.md |
| Connect to Azure Managed Redis | redis/docs/latest/develop/clients/nodejs/amr/index.md |
| Write a custom module | redis/docs/latest/develop/reference/modules/index.md |
| Handle blocking module commands | redis/docs/latest/develop/reference/modules/modules-blocking-ops/index.md |
| Register native module types | redis/docs/latest/develop/reference/modules/modules-native-types/index.md |
| Configure Redis Insight | redis/docs/latest/operate/redisinsight/configuration/index.md |
| Replicate data from external sources | redis/docs/latest/integrate/redis-data-integration/index.md |
| Use vector search clients | redis/docs/latest/integrate/redisvl/index.md |
| Review command routing policies | redis/docs/latest/develop/reference/command-tips/index.md |
Top Must-Know Pages
redis/docs/latest/commands/redis-7-4-commands/index.md— Canonical reference for Redis commands including strings, hashes, lists, and sets.redis/docs/latest/develop/get-started/rag/index.md— Describes Redis as a vector database for Retrieval Augmented Generation and AI workloads.redis/docs/latest/develop/clients/nodejs/transpipe/index.md— Demonstrates pipeline execution, transactions, and key watching for optimistic concurrency.redis/docs/latest/develop/data-types/json/path/index.md— Defines JSONPath syntax and query patterns for the Redis JSON data type.redis/docs/latest/develop/reference/modules/index.md— Covers module loading, initialization, cleanup, and writing the simplest custom module.redis/docs/latest/integrate/redisvl/index.md— Overview of RedisVL features and getting started with vector search in Redis.redis/docs/latest/integrate/redis-data-integration/index.md— Explains supported source databases, features, and when to use Redis Data Integration.redis/docs/latest/develop/clients/nodejs/amr/index.md— Walks through installing the Node.js client and authenticating with Azure Managed Redis.redis/docs/latest/operate/redisinsight/configuration/index.md— Reference for Redis Insight environment variables and preconfigured database connections.redis/docs/latest/develop/reference/command-tips/index.md— Catalogs command metadata flags such as nondeterministic_output and request_policy.