Improvement

August 28, 20251 Minute Read

Copilot coding agent now supports AGENTS.md custom instructions

With custom instructions, you can guide Copilot on how to understand your project as well as how to build, test, and validate its changes.

Copilot coding agent, our autonomous background agent, now supports AGENTS.md custom instructions.

You can create a single AGENTS.md file in the root of your repository. You can also create nested AGENTS.md files which apply to specific parts of your project.

Alongside AGENTS.md, the agent continues to support GitHub’s .github/copilot-instructions.md and .github/instructions/**.instructions.md formats, plus CLAUDE.md and GEMINI.md files.

To learn more about custom instructions and other best practices for Copilot coding agent, head to our documentation.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Copilot coding agent now supports AGENTS.md custom instructions - GitHub Changelog