Build Your First GitHub Copilot Custom Agent: A Practical LoadRunner Example A developer published a practical guide to building a GitHub Copilot custom agent, using a LoadRunner Agent as the running example. The agent is defined by a Markdown file with YAML frontmatter at .github/agents/.agent.md and operates in three phases: EXTRACT, GENERATE, and REVIEW. The guide distinguishes custom agents from skills, instructions, and prompts, and recommends keeping the agent body focused on orchestration while moving detailed procedures into skills. A good Copilot conversation can solve a one-off problem. A custom agent turns that conversation into a repeatable engineering capability: a named persona with a defined job, a controlled tool surface, and domain knowledge that can be versioned with the repository. This post is a practical guide to building one. It uses a LoadRunner Agent as the running example, but the design applies equally well to agents for test automation, incident response, documentation, code review, or platform operations. The goal is not to create a longer system prompt. The goal is to create a small, inspectable workflow that your team can select from Copilot Chat and trust to produce the same kind of result every time. A GitHub Copilot custom agent is a scoped, named persona with its own instructions, tools, and optional skills. It is defined by a Markdown file with YAML frontmatter and is discoverable from the Chat agent dropdown. A custom agent can: LoadRunner Agent . EXTRACT - GENERATE - REVIEW . The important distinction is between ad-hoc prompting and an engineered agent. A prompt says what you want right now. An agent defines how a class of requests should be handled, which files may be touched, what checks must run, and what a complete result looks like. The usual location is: .github/agents/