---
title: "Discussion on \"Your API Needs an llms.txt File — Here's How to Write One and Why Agents Will Read It\" | Hashnode"
description: "Discussion on \"Your API Needs an llms.txt File — Here's How to Write One and Why Agents Will Read It\". Your API Needs an llms.txt File — Here's How to Write One and Why Agents Will Read It\nAI agents are being trained to look for llms.txt files. It's the agent-native equivalent of robots.txt — a file at your domain root that tells agents how to discove..."
url: "https://hashnode.com/posts/your-api-needs-an-llmstxt-file-heres-how-to-write-one-and-why-agents-will-read-it-5epe/69fcfda8ed1d71fc4e89a0ae"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your API Needs an llms.txt File — Here's How to Write One and Why Agents Will Read It](https://blog.workswithagents.dev/your-api-needs-an-llmstxt-file-heres-how-to-write-one-and-why-agents-will-read-it-5epe?utm_source=hashnode&utm_medium=feed)

Your API Needs an llms.txt File — Here's How to Write One and Why Agents Will Read It AI agents are being trained to look for llms.txt files. It's the agent-native equivalent of robots.txt — a file at your domain root that tells agents how to discove...

May 5 · 3 min read · blog.workswithagents.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#api](https://hashnode.com/tag/api)
-   [#documentation](https://hashnode.com/tag/documentation)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Vilius Vystartas](https://hashnode.com/@vilius)

@vilius · Cardiff, Uk

  
[View profile](https://hashnode.com/@vilius)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
