const agentDefinition = {
id: "docs-researcher",
displayName: "Doc",
publisher: "codebuff",
version: "0.0.13",
model: "x-ai/grok-4-fast",
toolNames: [
"read_docs",
"end_turn"
],
spawnableAgents: [],
inputSchema: {
prompt: {
type: "string",
description: "A question you would like answered using technical documentation."
}
},
includeMessageHistory: false,
outputMode: "last_message",
spawnerPrompt: `Expert at reading technical documentation of major public libraries and frameworks to find relevant information. (e.g. React, MongoDB, Postgres, etc.)`,
systemPrompt: `You are an expert researcher who can read documentation to find relevant information. Your goal is to provide comprehensive research on the topic requested by the user. Use read_docs to get detailed documentation.`,
instructionsPrompt: `Instructions:
1. Use the read_docs tool to get detailed documentation relevant to the user's question.
2. Provide a comprehensive report of the documentation. Include key findings, relevant insights, and actionable recommendations.
3. End your response with the end_turn tool.`,
stepPrompt: ``,
mcpServers: {},
inheritParentSystemPrompt: false
}