Skip to content

docs: add llms.txt index for AutoGen documentation (#6271)#7634

Open
MukundaKatta wants to merge 1 commit intomicrosoft:mainfrom
MukundaKatta:docs/add-llms-txt
Open

docs: add llms.txt index for AutoGen documentation (#6271)#7634
MukundaKatta wants to merge 1 commit intomicrosoft:mainfrom
MukundaKatta:docs/add-llms-txt

Conversation

@MukundaKatta
Copy link
Copy Markdown

Summary

Closes #6271. Adds python/docs/src/llms.txt following the llmstxt.org format and wires html_extra_path so Sphinx serves it at the docs site root.

What's in it

  • 86 link items across 10 H2 sections (Getting Started, AgentChat User Guide, AgentChat Examples, Core User Guide, Multi-Agent Design Patterns, Core Cookbook, Extensions User Guide, AutoGen Studio User Guide, API Reference, Optional).
  • Canonical https://microsoft.github.io/autogen/stable/.../...html URLs (so LLM agents can actually fetch the pages).
  • One-line tagline per link, drawn from the existing :link-alt: cards in the section index pages.
  • Validated against the llmstxt.org structural rules and parsed cleanly with the reference llms-txt Python parser.

Differentiator vs prior attempts

Prior PR #7623 used repo-relative .md source paths (not fetchable by LLM agents). This PR uses canonical HTML URLs, covers more pages, and wires the build to actually serve llms.txt at the docs root.

Test plan

  • File parses with the llms-txt reference parser.
  • html_extra_path = ["llms.txt"] placed alongside existing static config in conf.py.

Adds python/docs/src/llms.txt following the llmstxt.org spec. The file
indexes the AutoGen documentation guides (AgentChat, Core, Extensions,
AutoGen Studio, plus design patterns, cookbook, and API reference) with
canonical https://microsoft.github.io/autogen/stable/...html URLs and a
short tagline per page so LLM agents can discover and fetch the docs.

Wires html_extra_path in python/docs/src/conf.py so the file is served
at the docs site root (e.g. microsoft.github.io/autogen/stable/llms.txt
and the matching dev path).

Closes microsoft#6271
@MukundaKatta MukundaKatta marked this pull request as ready for review April 27, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LLMs.txt for AutoGen Documentation Guides

1 participant