Create a Custom Agent
Method 1: Using create-agent (Recommended)
Qoder provides a built-increate-agent skill that helps you quickly create custom agents through interactive guidance.
Usage:
create-agent will guide you through the following steps:
- Define the agent’s name and description
- Select required tool permissions
- Automatically generate system prompt template
- Save the agent file to the correct location
Method 2: Manual Creation
You can also manually create a.md file in one of the following locations:
The file should contain a frontmatter block defining basic information, followed by the system prompt content:
MCP servers
Custom agents support configuring MCP (Model Context Protocol) servers, enabling agents to invoke external tools and services. Add themcpServers field in the agent configuration to associate MCP servers, extending the agent’s capabilities.
Model configuration
Custom agents support specifying which model to use. In the Quest view, go to Setting → Agents, select the target agent and click Change Model to assign the most suitable model for each agent’s role.Tools List
Using in IDE
There are two ways to invoke custom agents:Method 1: Automatic Trigger
In the Chat panel, describe the task in natural language, and the model will automatically recognize the intent and select the appropriate custom agent based on description:code-review agent.
Method 2: Manual Trigger
Use/agent-name to manually trigger a specific agent: