Skip to main content

Build a Specialist That Knows Your Stack

Stop re-explaining your tech stack every session. Custom agents remember your context so you can skip straight to the work.

You can create custom agents with Copilot right through the interface. They live in the .github/agents magic folder, allowing you to select them during a chat session.

They're easy to make, with a simple template:

---
agent: Name
tools: []
---

# Instructions

You are a...

Differences with Claude Code

Claude Code is actively changing the idea of agents (called "subagents" as of February 2026). They're now seen as active task runners that do a small thing. Claude Code actively pushes the idea of Skills, which we'll get to later, instead of agents.

Subagents will run automatically for you, as decided by Claude. It's all based on your prompt. For instance: if you had a subagent named "Larry" that was your VP of Sales, you could have a prompt that says "ask Larry for his opinion on the sales CSV".

Updated on Feb 25, 2026