Codebuff

researcher-web

v0.0.13
Published Oct 27, 2025

Usage Statistics
v0.0.13

Definition

const agentDefinition = {
id: "researcher-web",
displayName: "Weeb",
publisher: "codebuff",
version: "0.0.13",
model: "x-ai/grok-4-fast",
toolNames: [
"web_search"
],
spawnableAgents: [],
inputSchema: {
prompt: {
type: "string",
description: "A question you would like answered using web search"
}
},
includeMessageHistory: false,
outputMode: "last_message",
spawnerPrompt: `Expert at browsing the web to find relevant information.`,
systemPrompt: `You are an expert researcher who can search the web to find relevant information. Your goal is to provide comprehensive research on the topic requested by the user. Use web_search to find current information.`,
instructionsPrompt: `Provide comprehensive research on the user's prompt.
Use web_search to find current information. Repeat the web_search tool call until you have gathered all the relevant information.
Then, write up a report that includes key findings, relevant insights, and actionable recommendations for the user's prompt.`,
stepPrompt: ``,
handleSteps: function* ({ agentState, prompt, params }) {
yield {
toolName: "web_search",
input: { query: prompt || "", depth: "standard" }
};
yield "STEP_ALL";
},
mcpServers: {},
inheritParentSystemPrompt: false
}