Custom Agents in Visual Studio: Built in and Build-Your-Own agents - Visual Studio Blog (original) (raw)

Agents in Visual Studio now go beyond a single general-purpose assistant. We’re shipping a set of curated preset agents that tap into deep IDE capabilities; debugging, profiling, testing alongside a framework for building your own custom agents tailored to how your team works.

Built in agents

Each preset agent is designed around a specific developer workflow and integrates with Visual Studio’s native tooling in ways that a generic assistant can’t.

Access them through the agent picker in the chat panel or using ‘@’ in chat.

Bring your own: custom agents (preview)

The presets cover workflows we think matter most, but your team knows your workflow better than we do. Custom agents let you build your own using the same foundation—workspace awareness, code understanding, tools accessed by your prompts, your preferred model, and your tools.

Where it gets powerful is MCP. You can connect custom agents to external knowledge sources internal documentation, design systems, APIs, and databases so the agent isn’t limited to what’s in your repo.

A few patterns we’re seeing from teams:

The awesome-copilot repo has community-contributed agent configurations you can use as starting points.

Get started

Custom agents are defined as .agent.md files in your repository’s .github/agents/ folder:

your-repo/ └── .github/    └── agents/         └── code-reviewer.agent.md

A few things to note:

Tell us what you’re building

Share your configurations in the awesome-copilot repo or file feedback here.