Promptwatch Logo

AGENTS.md

AGENTS.md is a machine-readable instructions file that tells AI agents how to understand, navigate, and act on a site for AI search and agentic workflows.
Updated September 6, 2026
GEO

Definition

AGENTS.md is an emerging open convention: a plain-text, Markdown file that gives AI agents explicit instructions for how to understand, navigate, and act on a project, website, or business. It started in software engineering as a way to tell coding agents how a repository is structured, how to build and test it, and what conventions to follow, and the pattern is now extending to the web as a signal for autonomous agents that browse and transact.

Where llms.txt provides a curated map of a site's most important content for retrieval and citation, AGENTS.md is more action-oriented—it describes how an agent should interact: which workflows exist, what rules to respect, how to complete tasks, and where to find authoritative data. The two files are complementary supplemental signals rather than replacements for structured data or standard pages.

For coding agents, an AGENTS.md typically covers setup commands, test instructions, code style, and project structure so the agent can work productively without trial and error. For agent experience optimization, a site-level AGENTS.md can clarify business capabilities, supported actions, and constraints, helping agents recommend and transact correctly.

Like robots.txt and llms.txt, AGENTS.md is advisory: agents are not required to read or obey it. Its value lies in adoption by major agent platforms and in reducing ambiguity, which makes agents more likely to act on a business accurately rather than skip it. See our analysis of llms.txt's impact on AI search and GEO for the parallel caveats.

Examples of AGENTS.md

  • A software team adds an AGENTS.md with build, test, and lint commands plus code-style rules so coding agents can contribute correctly without guessing.
  • A SaaS company publishes a site-level AGENTS.md describing supported actions—sign up, book a demo, check pricing—so AI agents route users to the right workflows.
  • An ecommerce store pairs AGENTS.md with llms.txt: one maps key content for citation, the other explains how agents can browse the catalog and initiate checkout.
  • A GEO team tests AGENTS.md adoption by checking whether agent platforms read the file and whether their instructions reduce mistakes in agent-driven tasks.

Terms related to AGENTS.md

LLMs.txt

LLMs.txt is a proposed specification for controlling how AI crawlers and language models access website content, a robots.txt equivalent for LLM interactions.

GEO

LLMs-full.txt

LLMs-full.txt is a companion to llms.txt providing a complete Markdown rendering of a site's content in one file for AI model consumption and indexing.

GEO

Agent Experience Optimization (AEO)

Agent Experience Optimization (AEO) structures a site so AI agents can discover, understand, trust, and act on a business in AI search and agentic workflows.

GEO

Agentic Commerce

Agentic commerce is a buying model where AI agents discover, compare, and buy products on behalf of users, shifting visibility to machine selection.

GEO

AI Agents

Autonomous AI systems that plan, use tools, and execute multi-step tasks to achieve goals in agentic search and GEO workflows.

AI

Model Context Protocol (MCP)

Model Context Protocol (MCP) is Anthropic's open standard for AI models to connect to external tools and data—core to agentic search and LLM tooling.

AI

Robots.txt

Robots.txt is a root file that tells search engine and AI crawlers which pages to crawl or avoid—critical for managing GPTBot, PerplexityBot, and ClaudeBot.

SEO

Structured Content

Structured content is content organized with semantic hierarchies, consistent formatting, and Schema.org markup for search engines and AI search.

SEO

AI Web Crawlers

AI crawlers are bots from AI companies fetching web content for training and retrieval—95%+ of crawler traffic, central to AI search and GEO.

AI

Frequently Asked Questions about AGENTS.md

Learn about AI visibility monitoring and how Promptwatch helps your brand succeed in AI search.

llms.txt is a curated map of a site's most important content, optimized for retrieval and citation. AGENTS.md is action-oriented—it tells agents how to interact: workflows, rules, and how to complete tasks. They are complementary signals, often used together.

Be the brand AI recommends

Monitor your brand's visibility across ChatGPT, Claude, Perplexity, and Gemini. Get actionable insights and create content that gets cited by AI search engines.

Promptwatch Dashboard