Cloudflare Docs's 1872-line llms.txt shows what thorough AI preparation looks like

Easily build and deploy full-stack applications everywhere,

1,872
Lines
+32% vs avg
33
Sections
+38% vs avg
742+
Companies
using llms.txt
2
Files
llms.txt + full

Key Insights

Comprehensive structure

With 33 distinct sections, this file provides thorough coverage for AI systems.

Comprehensive detail

1872 lines of thorough documentation for AI systems.

Two-file approach

Uses both llms.txt and llms-full.txt for different AI use cases.

llms.txt Preview

First 100 lines of 1,872 total

# Cloudflare Developer Documentation

Easily build and deploy full-stack applications everywhere,
thanks to integrated compute, storage, and networking.

## Agents

- [Build Agents on Cloudflare](https://developers.cloudflare.com/agents/index.md)
- [Patterns](https://developers.cloudflare.com/agents/patterns/index.md)
- [x402](https://developers.cloudflare.com/agents/x402/index.md)
- [Agents API](https://developers.cloudflare.com/agents/api-reference/agents-api/index.md)
- [Calling Agents](https://developers.cloudflare.com/agents/api-reference/calling-agents/index.md)
- [Browse the web](https://developers.cloudflare.com/agents/api-reference/browse-the-web/index.md)
- [Configuration](https://developers.cloudflare.com/agents/api-reference/configuration/index.md)
- [HTTP and Server-Sent Events](https://developers.cloudflare.com/agents/api-reference/http-sse/index.md)
- [API Reference](https://developers.cloudflare.com/agents/api-reference/index.md)
- [Retrieval Augmented Generation](https://developers.cloudflare.com/agents/api-reference/rag/index.md)
- [Run Workflows](https://developers.cloudflare.com/agents/api-reference/run-workflows/index.md)
- [Schedule tasks](https://developers.cloudflare.com/agents/api-reference/schedule-tasks/index.md)
- [Store and sync state](https://developers.cloudflare.com/agents/api-reference/store-and-sync-state/index.md)
- [Using AI Models](https://developers.cloudflare.com/agents/api-reference/using-ai-models/index.md)
- [Agent class internals](https://developers.cloudflare.com/agents/concepts/agent-class/index.md)
- [Using WebSockets](https://developers.cloudflare.com/agents/api-reference/websockets/index.md)
- [Calling LLMs](https://developers.cloudflare.com/agents/concepts/calling-llms/index.md)
- [Human in the Loop](https://developers.cloudflare.com/agents/concepts/human-in-the-loop/index.md)
- [Concepts](https://developers.cloudflare.com/agents/concepts/index.md)
- [Tools](https://developers.cloudflare.com/agents/concepts/tools/index.md)
- [Agents](https://developers.cloudflare.com/agents/concepts/what-are-agents/index.md)
- [Workflows](https://developers.cloudflare.com/agents/concepts/workflows/index.md)
- [Build a Chat Agent](https://developers.cloudflare.com/agents/getting-started/build-a-chat-agent/index.md): A starter template for building AI-powered chat agents using Cloudflare's Agent platform, powered by the Agents SDK. This project provides a foundation for creating interactive chat experiences with AI, complete with a modern UI and tool integration capabilities.
- [Getting started](https://developers.cloudflare.com/agents/getting-started/index.md)
- [Prompt an AI model](https://developers.cloudflare.com/agents/getting-started/prompting/index.md): Use the Workers "mega prompt" to build a Agents using your preferred AI tools and/or IDEs. The prompt understands the Agents SDK APIs, best practices and guidelines, and makes it easier to build valid Agents and Workers.
- [Testing your Agents](https://developers.cloudflare.com/agents/getting-started/testing-your-agent/index.md)
- [Implement Effective Agent Patterns](https://developers.cloudflare.com/agents/guides/anthropic-agent-patterns/index.md): Implement common agent patterns using the Agents SDK framework.
- [Build a Remote MCP Client](https://developers.cloudflare.com/agents/guides/build-mcp-client/index.md): Build an AI Agent that acts as a remote MCP client.
- [Build an Interactive ChatGPT App](https://developers.cloudflare.com/agents/guides/chatgpt-app/index.md)
- [Connect to an MCP server](https://developers.cloudflare.com/agents/guides/connect-mcp-client/index.md)
- [Build a Human-in-the-loop Agent](https://developers.cloudflare.com/agents/guides/human-in-the-loop/index.md): Implement human-in-the-loop functionality using Cloudflare Agents, allowing AI agents to request human approval before executing certain actions
- [Guides](https://developers.cloudflare.com/agents/guides/index.md)
- [Handle OAuth with MCP servers](https://developers.cloudflare.com/agents/guides/oauth-mcp-client/index.md)
- [Build a Remote MCP server](https://developers.cloudflare.com/agents/guides/remote-mcp-server/index.md)
- [Build a Slack Agent](https://developers.cloudflare.com/agents/guides/slack-agent/index.md)
- [Test a Remote MCP Server](https://developers.cloudflare.com/agents/guides/test-remote-mcp-server/index.md)
- [Authorization](https://developers.cloudflare.com/agents/model-context-protocol/authorization/index.md)
- [Model Context Protocol (MCP)](https://developers.cloudflare.com/agents/model-context-protocol/index.md)
- [McpAgent — API Reference](https://developers.cloudflare.com/agents/model-context-protocol/mcp-agent-api/index.md)
- [McpClient — API reference](https://developers.cloudflare.com/agents/model-context-protocol/mcp-client-api/index.md)
- [createMcpHandler — API Reference](https://developers.cloudflare.com/agents/model-context-protocol/mcp-handler-api/index.md)
- [MCP server portals](https://developers.cloudflare.com/agents/model-context-protocol/mcp-portal/index.md): Centralize multiple MCP servers onto a single endpoint and customize the tools, prompts, and resources available to users.
- [Cloudflare's own MCP servers](https://developers.cloudflare.com/agents/model-context-protocol/mcp-servers-for-cloudflare/index.md)
- [Tools](https://developers.cloudflare.com/agents/model-context-protocol/tools/index.md)
- [Transport](https://developers.cloudflare.com/agents/model-context-protocol/transport/index.md)
- [Platform](https://developers.cloudflare.com/agents/platform/index.md)
- [Limits](https://developers.cloudflare.com/agents/platform/limits/index.md)
- [prompt.txt](https://developers.cloudflare.com/agents/platform/prompttxt/index.md): Provide context to your AI models & tools when building on Cloudflare.
- [Prompt Engineering](https://developers.cloudflare.com/agents/platform/prompting/index.md): Learn how to prompt engineer your AI models & tools when building Agents & Workers on Cloudflare.

## AI Gateway

- [AI Assistant](https://developers.cloudflare.com/ai-gateway/ai/index.md)
- [REST API reference](https://developers.cloudflare.com/ai-gateway/api-reference/index.md)
- [Changelog](https://developers.cloudflare.com/ai-gateway/changelog/index.md)
- [Architectures](https://developers.cloudflare.com/ai-gateway/demos/index.md)
- [Header Glossary](https://developers.cloudflare.com/ai-gateway/glossary/index.md)
- [Getting started](https://developers.cloudflare.com/ai-gateway/get-started/index.md)
- [Cloudflare AI Gateway](https://developers.cloudflare.com/ai-gateway/index.md)
- [MCP server](https://developers.cloudflare.com/ai-gateway/mcp-server/index.md)
- [Authenticated Gateway](https://developers.cloudflare.com/ai-gateway/configuration/authentication/index.md): Add security by requiring a valid authorization token for each request.
- [Custom costs](https://developers.cloudflare.com/ai-gateway/configuration/custom-costs/index.md): Override default or public model costs on a per-request basis.
- [BYOK (Store Keys)](https://developers.cloudflare.com/ai-gateway/configuration/bring-your-own-keys/index.md)
- [Custom Providers](https://developers.cloudflare.com/ai-gateway/configuration/custom-providers/index.md): Create and manage custom AI providers for your account.
- [Fallbacks](https://developers.cloudflare.com/ai-gateway/configuration/fallbacks/index.md)
- [Configuration](https://developers.cloudflare.com/ai-gateway/configuration/index.md)
- [Manage gateways](https://developers.cloudflare.com/ai-gateway/configuration/manage-gateway/index.md)
- [Add Human Feedback using API](https://developers.cloudflare.com/ai-gateway/evaluations/add-human-feedback-api/index.md)
- [Request handling](https://developers.cloudflare.com/ai-gateway/configuration/request-handling/index.md)
- [Add Human Feedback using Dashboard](https://developers.cloudflare.com/ai-gateway/evaluations/add-human-feedback/index.md)
- [Add human feedback using Worker Bindings](https://developers.cloudflare.com/ai-gateway/evaluations/add-human-feedback-bindings/index.md)
- [Evaluations](https://developers.cloudflare.com/ai-gateway/evaluations/index.md)
- [Set up Evaluations](https://developers.cloudflare.com/ai-gateway/evaluations/set-up-evaluations/index.md)
- [Caching](https://developers.cloudflare.com/ai-gateway/features/caching/index.md): Override caching settings on a per-request basis.
- [Rate limiting](https://developers.cloudflare.com/ai-gateway/features/rate-limiting/index.md)
- [Features](https://developers.cloudflare.com/ai-gateway/features/index.md)
- [Unified Billing](https://developers.cloudflare.com/ai-gateway/features/unified-billing/index.md): Use the Cloudflare billing to pay for and authenticate your inference requests.
- [Agents](https://developers.cloudflare.com/ai-gateway/integrations/agents/index.md): Build AI-powered Agents on Cloudflare
- [Workers AI](https://developers.cloudflare.com/ai-gateway/integrations/aig-workers-ai-binding/index.md): This guide will walk you through setting up and deploying a Workers AI project. You will use Workers, an AI Gateway binding, and a large language model (LLM) to deploy your first AI-powered application on the Cloudflare global network.
- [Integrations](https://developers.cloudflare.com/ai-gateway/integrations/index.md)
- [Vercel AI SDK](https://developers.cloudflare.com/ai-gateway/integrations/vercel-ai-sdk/index.md)
- [AI Gateway Binding Methods](https://developers.cloudflare.com/ai-gateway/integrations/worker-binding-methods/index.md): This guide provides an overview of how to use the latest Cloudflare Workers AI Gateway binding methods. You will learn how to set up an AI Gateway binding, access new methods, and integrate them into your Workers.
- [Analytics](https://developers.cloudflare.com/ai-gateway/observability/analytics/index.md)
- [Costs](https://developers.cloudflare.com/ai-gateway/observability/costs/index.md)
- [Custom metadata](https://developers.cloudflare.com/ai-gateway/observability/custom-metadata/index.md)
- [Observability](https://developers.cloudflare.com/ai-gateway/observability/index.md)
- [OpenTelemetry](https://developers.cloudflare.com/ai-gateway/observability/otel-integration/index.md)
- [Create your first AI Gateway using Workers AI](https://developers.cloudflare.com/ai-gateway/tutorials/create-first-aig-workers/index.md): This tutorial guides you through creating your first AI Gateway using Workers AI on the Cloudflare dashboard.
- [Deploy a Worker that connects to OpenAI via AI Gateway](https://developers.cloudflare.com/ai-gateway/tutorials/deploy-aig-worker/index.md): Learn how to deploy a Worker that makes calls to OpenAI through AI Gateway
- [Tutorials](https://developers.cloudflare.com/ai-gateway/tutorials/index.md)
- [Audit logs](https://developers.cloudflare.com/ai-gateway/reference/audit-logs/index.md)
- [Limits](https://developers.cloudflare.com/ai-gateway/reference/limits/index.md)
- [Platform](https://developers.cloudflare.com/ai-gateway/reference/index.md)

Cloudflare Docs is ready for AI search. Are you?

Join 742+ companies preparing their websites for the future of search. Create your llms.txt file in minutes.

Generate Your llms.txt

Don't get left behind

Your competitors are preparing for AI search.

Cloudflare Docs has 33 organized sections ready for AI crawlers. Generate your llms.txt file and join the companies optimizing for the future of search.