Can I treat *.chatmode.md as *.agent.md?
#178690
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Yes, you can. 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. |
Beta Was this translation helpful? Give feedback.

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.