{
  "id": "context-retriever",
  "title": "Redis Context Retriever on Redis Cloud",
  "url": "https://redis.io/docs/latest/operate/rc/context-engine/context-retriever/",
  "summary": "Expose schema-first retrieval tools from your Redis Cloud data to AI agents.",
  "tags": [
    "docs",
    "operate",
    "rc"
  ],
  "last_updated": "2026-05-18T05:44:54-07:00",
  "children": [
    {
      "id": "create-service",
      "summary": "Create a Context Retriever service in Redis Cloud to expose schema-first retrieval tools to AI agents.",
      "title": "Create a Context Retriever service",
      "url": "https://redis.io/docs/latest/operate/rc/context-engine/context-retriever/create-service/"
    },
    {
      "id": "view-service",
      "summary": "View and manage your Context Retriever service in Redis Cloud.",
      "title": "View and manage Context Retriever service",
      "url": "https://redis.io/docs/latest/operate/rc/context-engine/context-retriever/view-service/"
    },
    {
      "id": "view-admin-keys",
      "summary": "View and manage Context Retriever admin keys in Redis Cloud.",
      "title": "View and manage Context Retriever admin keys",
      "url": "https://redis.io/docs/latest/operate/rc/context-engine/context-retriever/view-admin-keys/"
    }
  ],
  "page_type": "content",
  "content_hash": "fe4dd52ba50470cac45ebfa34b0a0f9d1ccf379f726f75e388099ff7a45dd016",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Redis Context Retriever helps teams expose operational context to AI agents through schema-first retrieval. It models the entities, fields, keys, and relationships that matter to an agent workflow, then presents that context through a governed tool surface the agent can call at runtime. Context Retriever helps an AI agent understand what business objects exist, how they connect, and which paths are safe to use.\n\nWhen you set up Redis Context Retriever, you model the objects that matter to your agent workflow and connect the relationships between them. You can do this through the UI, the [Context Surfaces Python Client](https://pypi.org/project/context-surfaces/), or the `ctxctl` CLI (available when you install the Python client). Context Retriever uses those relationships to automatically create and deploy retrieval tools from your entity model.\n\nWhen an agent needs context during execution, it calls the MCP tools Context Retriever exposes. Instead of guessing which tool to use or generating SQL, the agent follows the defined entity paths and gets back structured, live, operational context.\n\nFor more details, see the [Redis Context Retriever overview](https://redis.io/docs/latest/develop/ai/context-engine/context-retriever)."
    },
    {
      "id": "get-started-with-context-retriever-on-redis-cloud",
      "title": "Get started with Context Retriever on Redis Cloud",
      "role": "content",
      "text": "To set up a Redis Context Retriever on Redis Cloud, you need a database on Redis Cloud that already has relevant data. If you use a relational database, use [Redis Data Integration (RDI)](https://redis.io/docs/latest/operate/rc/databases/rdi) to ingest data into a Redis Cloud database.\n\nWhen you have a database, [Create a context retriever service](https://redis.io/docs/latest/operate/rc/context-engine/context-retriever/create-service) for your database on Redis Cloud.\n\nAfter you set up Context Retriever, you can [view your service](https://redis.io/docs/latest/operate/rc/context-engine/context-retriever/view-service). See the [Context Surfaces Python Client](https://pypi.org/project/context-surfaces/) for more information on how to call your tools."
    }
  ],
  "examples": []
}
