Skip to content
Discussion options

You must be logged in to vote

Yes, you can.
*.chatmode.md and *.agent.md are functionally very similar — both define custom Copilot chat behaviors. The main difference is that .agent.md is the newer format introduced for Copilot Agents, which adds support for extra metadata and integrates with the Agents menu in VS Code.

If you rename your .chatmode.md file to .agent.md, it will still work as expected. Just keep in mind that .agent.md is the preferred and more future-proof format going forward, as GitHub seems to be transitioning from “Chat Mode” to “Agents.”

In short: yes, you can treat them as equivalent for now — .agent.md is simply the updated version of .chatmode.md.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by doggy8088
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Copilot Coding Agent Implement a task or issue, run in the background with GitHub Actions, and more
2 participants