With DocStar, your coding agent can document your API, keep those docs in step with your code and publish them as a docs site, llms.txt , an MCP server and a CLI. The file that tells the agent to do this on every change is AGENTS.md . This guide explains what AGENTS.md (and Claude's CLAUDE.md) is, how agents read it, and the few lines that put your API docs on autopilot in DocStar.
What is AGENTS.md?
AGENTS.md is a plain Markdown file in your repository that tells AI coding agents how to work on your project: how to build and test it, which conventions to follow, and what to do after a change. Think of it as a README written for agents instead of people. It has no required fields; agents read it before they start work.
The format is described at agents.md as "a simple, open format for guiding coding agents" and, as of November 2026, it is stewarded by the Agentic AI Foundation under the Linux Foundation.…