Promptwatch Logo

AGENTS.md

AGENTS.md is a machine-readable instructions file that tells AI agents how to understand, navigate, and act on a website, codebase, or business.
Updated June 1, 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.

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, functioning as a robots.txt equivalent specifically designed for LLM interactions.

GEO

LLMs-full.txt

LLMs-full.txt is a companion specification to llms.txt that provides a complete Markdown rendering of a website's content in a single file, optimized for AI model consumption and indexing.

GEO

Agent Experience Optimization (AEO)

Agent Experience Optimization (AEO) is the practice of structuring a website and its data so AI agents can discover, understand, trust, and act on a business—not just read it.

GEO

Agentic Commerce

Agentic commerce is a buying model where AI agents discover, compare, and purchase products on behalf of users—shifting product visibility from human browsing to machine selection.

GEO

AI Agents

Autonomous AI systems that plan, use tools, execute multi-step tasks, and make decisions to achieve goals with minimal human intervention.

AI

Model Context Protocol (MCP)

Open standard by Anthropic enabling AI models to securely connect with external tools, databases, and services through a universal protocol.

AI

Robots.txt

Root directory file instructing search engine and AI crawlers which pages to crawl or avoid—now critical for managing GPTBot, PerplexityBot, and ClaudeBot.

SEO

Structured Content

Content organized with semantic hierarchies, consistent formatting, and Schema.org markup for efficient processing by search engines and AI citation systems.

SEO

AI Web Crawlers

Bots deployed by AI companies to fetch web content for training and retrieval—comprising 95%+ of tracked crawler traffic, led by GPTBot and PerplexityBot.

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