rio icon indicating copy to clipboard operation
rio copied to clipboard

Add llms.txt file for better LLM integration

Open xyb opened this issue 8 months ago • 7 comments

Description

It would be very helpful to use this tool with LLMs if Rio provided an llms.txt file. This would enable better AI assistance and understanding of the codebase structure.

For more details about the llms.txt standard, please see:

  • https://llmstxt.org/
  • https://llmstxt.site/

The llms.txt file is a standardized format that helps AI models better understand project structure, conventions, and context, making AI-assisted development more effective.

Suggested Solution

No response

Alternatives

No response

Additional Context

No response

Related Issues/Pull Requests

No response

xyb avatar Aug 09 '25 12:08 xyb

This looks interesting! Are there any AI agents that already make use of these files?

mad-moo avatar Aug 09 '25 12:08 mad-moo

You can add llms.txt files into Aider using AiderDesk's web scraping feature.

iwr-redmond avatar Aug 09 '25 18:08 iwr-redmond

@xyb ?

mad-moo avatar Aug 22 '25 09:08 mad-moo

@mad-moo This file isn’t meant to be used by AI agents directly. Instead, it’s designed to help large language models better understand and use the tool when you provide the llms.txt URL in your prompt. In my experience, just sharing the link allows the AI to read and apply the instructions correctly.

xyb avatar Sep 13 '25 08:09 xyb

Got it. And are you asking for a llms.txt for Rio itself (so on the Rio website), or for apps created with Rio?

mad-moo avatar Sep 13 '25 13:09 mad-moo

@mad-moo I'm suggesting a llms.txt specifically for Rio itself, ideally hosted on the official Rio website. This would help LLMs better understand how to use Rio correctly, as not all models are fully familiar with it yet. Having a structured reference would improve the accuracy and relevance of AI-generated guidance related to Rio.

xyb avatar Sep 14 '25 12:09 xyb

There is a GitHub Action that may be useful for this task.

iwr-redmond avatar Nov 26 '25 09:11 iwr-redmond