Custom agents for GitHub Copilot #177930
Replies: 2 comments 6 replies
-
|
What is the right repo name and folder structure for custom agents to be picked up at an Org or Enterprise level? The docs and UI suggest a The template repo linked (https://github.com/docs/custom-agents-template) does not exist, and agents created in |
Beta Was this translation helpful? Give feedback.
-
|
What's missing is the ability to attach documents (either in the repository or from a URL). When I'm writing a custom agent, I want to hand in things like style guides, PDF documentation, etc. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Custom agents for GitHub Copilot
make it easy for users and organizations to specialize their Copilot coding agent (CCA) through simple, file-based configurations.
By adding a configuration file under
.github/agentsin a repository or in the{org}/.githubrepository, you can define agent personas that capture your team’s workflows, conventions, and unique needs. These agents can be further tailored with prompts, tool selections, and Model Context Protocol (MCP) servers to optimize for specific use cases.Anyone using GitHub Copilot can define and use custom agents, whether you’re an individual developer, part of a team, or managing an organization. Custom agents work across Copilot coding agent in github.com, the Copilot CLI, and will be coming to a future release of Visual Studio Code.
Key benefits
Examples
Imagine a frontend engineer subagent that enforces team conventions for React or Vue, or an agent that uses a custom MCP to automate additional tasks with the GitHub CLI. With custom agents, you can define these behaviors in a central file, making them easily accessible and maintainable.
Not sure where to begin? Some of our awesome partners have created custom agents to help you improve your workflow.

You can find those and more sample agents at @github/awesome-copilot.
🌟Leave a comment!
Learn more by reading our docs on custom agents and join the discussion by leaving feedback in the comments below!
Beta Was this translation helpful? Give feedback.
All reactions