{
  "schema_version": 2,
  "id": "develop/setup/build-with-an-agent",
  "title": "Build with an agent",
  "url": "https://redis.io/docs/latest/develop/setup/build-with-an-agent/",
  "summary": "Connect AI agents to Redis documentation and give them Redis-specific skills.",
  "tags": [
    "docs",
    "getting started"
  ],
  "last_updated": "2026-09-03T11:24:32-07:00",
  "page_type": "content",
  "content_hash": "ec77ede847d18bb23edd07fa25ee80f2d3633f3ef1463af156b1dff524b99c7c",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Redis publishes two agent-facing tools that work alongside the client libraries and MCP servers covered elsewhere in these docs:\n\n- [Redis Docs MCP](#redis-docs-mcp) — a hosted server that lets any MCP-compatible agent search, fetch, and ask questions against the Redis documentation itself.\n- [Agent Skills](#agent-skills) — packaged instructions that teach a coding agent Redis-specific patterns (data modeling, connections, search, security, and more)."
    },
    {
      "id": "redis-docs-mcp",
      "title": "Redis Docs MCP",
      "role": "content",
      "text": "[`redis.io/mcp`](https://redis.io/mcp) is a public, read-only [Model Context Protocol](https://modelcontextprotocol.io/introduction) server that serves the Redis documentation to any MCP client. It requires no API key or sign-up.\n\n\nThis is a different server from the [Redis MCP server](https://redis.io/docs/latest/integrate/redis-mcp) (`mcp-redis`). `mcp-redis` is a self-hosted server that connects an agent to *your own* Redis database, so it can run commands against your data. The Redis Docs MCP server has no access to any Redis instance except Redis's own documentation index."
    },
    {
      "id": "connect-a-client",
      "title": "Connect a client",
      "role": "content",
      "text": "Add the server to your MCP client's configuration:\n\n[code example]"
    },
    {
      "id": "agent-skills",
      "title": "Agent skills",
      "role": "content",
      "text": "[`redis/agent-skills`](https://github.com/redis/agent-skills) is Redis's published collection of [Agent Skills](https://agentskills.io/) — packaged instructions and resources that extend a coding agent's knowledge of Redis-specific patterns. Once installed, an agent automatically applies the relevant skill when it detects a matching task; you don't invoke them manually.\n\n| Skill | Covers |\n|-------|--------|\n| `redis-core` | Data structures, key naming strategies, memory management, TTLs, and when to use JSON versus Hash |\n| `redis-connections` | Connection pooling, multiplexing, pipelining, and client-side caching |\n| `redis-search` | Full-text search schemas, aggregation queries, and vector similarity (HNSW/FLAT) for RAG pipelines |\n| `redis-semantic-cache` | Caching LLM responses with LangCache and configurable similarity thresholds |\n| `redis-clustering` | Cluster operations using hash tags and replica reads |\n| `redis-security` | Authentication, TLS encryption, ACL policies, and network security |\n| `redis-observability` | Monitoring with `INFO`, `SLOWLOG` analysis, and Redis Insight |\n| `iris-development` | Agent Memory provisioning and long-term memory search |"
    },
    {
      "id": "install",
      "title": "Install",
      "role": "setup",
      "text": "Install the full collection with the [Agent Skills CLI](https://agentskills.io/):\n\n[code example]\n\nOr install it as a plugin in your agent tool of choice:\n\n- **Claude Code**: `/plugin marketplace add redis/agent-skills`\n- **Cursor**: `/add-plugin redis`\n- **ChatGPT/Codex**: use the package under [`plugins/redis-development/`](https://github.com/redis/agent-skills/tree/main/plugins/redis-development) in the repository"
    },
    {
      "id": "see-also",
      "title": "See also",
      "role": "related",
      "text": "- [Redis MCP server](https://redis.io/docs/latest/integrate/redis-mcp) — connect an agent to your own Redis database\n- [Redis client libraries](https://redis.io/docs/latest/develop/clients)\n- [Redis for AI agents](https://redis.io/docs/latest/develop/get-started/redis-in-ai)"
    }
  ],
  "examples": [
    {
      "id": "connect-a-client-ex0",
      "language": "json",
      "code": "{\n  \"mcpServers\": {\n    \"redis-docs\": {\n      \"url\": \"https://redis.io/mcp\"\n    }\n  }\n}",
      "section_id": "connect-a-client"
    },
    {
      "id": "install-ex0",
      "language": "sh",
      "code": "npx skills add redis/agent-skills",
      "section_id": "install"
    }
  ]
}
