44 lines
1.4 KiB
TypeScript
44 lines
1.4 KiB
TypeScript
export interface AgentDefinition {
|
|
name: string;
|
|
description: string;
|
|
tools?: string[];
|
|
model?: string;
|
|
systemPrompt: string;
|
|
source: "builtin" | "user" | "project";
|
|
filePath?: string;
|
|
}
|
|
|
|
export const BUILTIN_AGENTS: AgentDefinition[] = [
|
|
{
|
|
name: "scout",
|
|
description: "Fast codebase recon and compressed context gathering",
|
|
tools: ["read", "grep", "find", "ls", "bash"],
|
|
model: "claude-haiku-4-5",
|
|
systemPrompt: "You are a scout. Explore quickly, summarize clearly, and avoid implementation.",
|
|
source: "builtin",
|
|
},
|
|
{
|
|
name: "planner",
|
|
description: "Turns exploration into implementation plans",
|
|
tools: ["read", "grep", "find", "ls"],
|
|
model: "claude-sonnet-4-5",
|
|
systemPrompt: "You are a planner. Produce implementation plans, file lists, and risks.",
|
|
source: "builtin",
|
|
},
|
|
{
|
|
name: "reviewer",
|
|
description: "Reviews code and identifies correctness and quality issues",
|
|
tools: ["read", "grep", "find", "ls", "bash"],
|
|
model: "claude-sonnet-4-5",
|
|
systemPrompt: "You are a reviewer. Inspect code critically and report concrete issues.",
|
|
source: "builtin",
|
|
},
|
|
{
|
|
name: "worker",
|
|
description: "General-purpose implementation agent",
|
|
model: "claude-sonnet-4-5",
|
|
systemPrompt: "You are a worker. Execute the delegated task completely and report final results clearly.",
|
|
source: "builtin",
|
|
},
|
|
];
|