Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions content/ai-agent-resources.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: AI Agent Resources
description: Learn how to develop with Redis as an AI agent
linkTitle: AI Agent Resources
---

## `llms.txt` index of documentation

Redis provides a comprehensive index of all documentation in Markdown format at [llms.txt](https://redis.io/llms.txt). This index is specifically designed for AI agents to discover available documentation.

## Markdown documentation format

All documentation pages are available in Markdown format via the same URL as
the main doc page but with `index.html.md` added. For example, the Markdown version of
this page is available at
[ai-agent-resources/index.html.md](https://redis.io/docs/latest/ai-agent-resources/index.html.md).


## API references

API references are available for the following client libraries:

- [redis-py](https://redis.readthedocs.io/en/stable/commands.html)
- [jedis](https://javadoc.io/doc/redis.clients/jedis/latest/index.html)
- [lettuce](https://lettuce.io/core/release/reference/index.html)
- [go-redis](https://pkg.go.dev/github.com/redis/go-redis/v9)
- [redis-rs](https://docs.rs/redis/latest/redis/)
17 changes: 16 additions & 1 deletion layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{{ define "head" }}

<script src='{{ relURL "js/cli.js" }}' defer></script>

<!-- AI-friendliness meta tags -->
<meta name="ai-documentation" content="https://redis.io/llms.txt">
<meta name="ai-formats" content="markdown">
<link rel="ai-documentation" href="https://redis.io/llms.txt" type="text/plain">

{{ end }}

{{ define "main" }}
Expand Down Expand Up @@ -115,6 +121,16 @@ <h2 class="text-5xl font-medium text-white" id="operate">Get Started</h2>
(dict "Text" "Go" "URL" "./develop/clients/go/")
(dict "Text" "PHP" "URL" "./develop/clients/php/")
) ) }}
{{ partial "docs-section.html" (dict
"Title" "Resources for AI agents"
"Description" "Learn more about Redis documentation features that support AI agents"
"ButtonLink" "https://redis.io/llms.txt"
"ButtonLabel" "Main `llms.txt` index for doc structure"
"LinksLeft" (slice
(dict "Text" "AI Agent Resources" "URL" "./ai-agent-resources")
(dict "Text" "Example doc page in Markdown format" "URL" "./develop/index.html.md")
)
) }}
</div>
<div class="lg:px-11 w-full flex flex-col gap-3">
<h2 class="text-5xl font-medium text-white" id="operate">Deploy</h2>
Expand Down Expand Up @@ -164,7 +180,6 @@ <h2 class="text-5xl font-medium text-white" id="operate">Deploy</h2>
(dict "Text" "Redis Insight" "URL" "./develop/tools/insight/")
(dict "Text" "Redis for VSCode" "URL" "./develop/tools/redis-for-vscode/")
) ) }}

</div>
</div>
</div>
Expand Down