You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>📖 <strong><ahref="mcp.html">Full MCP documentation →</a></strong> for local/remote servers and all options.</p><hr/></section><section><aid="Skills_Configuration"></a>
368
+
<p>📖 <strong><ahref="mcp.html">Full MCP documentation →</a></strong> for local/remote servers and all options.</p><hr/></section><section><aid="Custom_Agents"></a>
369
+
<h2>Custom Agents</h2>
370
+
<p>Extend the base Copilot assistant with specialized agents that have their own tools, prompts, and behavior. Users can invoke agents using the <code>@agent-name</code> mention syntax in messages.</p>
371
+
372
+
<preclass="prettyprint"><codeclass="language-java">var reviewer = new CustomAgentConfig()
373
+
.setName("code-reviewer")
374
+
.setDisplayName("Code Reviewer")
375
+
.setDescription("Reviews code for best practices and security")
376
+
.setPrompt("You are a code review expert. Focus on security, performance, and maintainability.")
<p>See <ahref="apidocs/com/github/copilot/sdk/json/CustomAgentConfig.html">CustomAgentConfig</a> Javadoc for full details.</p><hr/></section></section><section><aid="Skills_Configuration"></a>
368
444
<h2>Skills Configuration</h2>
369
445
<p>Load custom skills from directories to extend the AI's capabilities with domain-specific knowledge.</p><section><aid="Loading_Skills"></a>
0 commit comments