Codebuff

deep-thinker

v0.0.3
Published Sep 10, 2025

Usage Statistics
v0.0.3

Definition

const agentDefinition = {
id: "deep-thinker",
displayName: "Deep Thinker Agent",
publisher: "codebuff",
version: "0.0.3",
model: "openai/gpt-5",
reasoningOptions: {
effort: "high",
enabled: true,
exclude: true
},
toolNames: [
"spawn_agents"
],
spawnableAgents: [
"codebuff/gpt5-thinker@0.0.3",
"codebuff/sonnet-thinker@0.0.3",
"codebuff/gemini-thinker@0.0.3"
],
inputSchema: {
prompt: {
type: "string",
description: "The topic, question, or problem to think deeply about and the goal you want to accomplish"
}
},
includeMessageHistory: true,
outputMode: "last_message",
spawnerPrompt: `Spawn this agent when you need the deepest possible analysis and thinking on any topic. It coordinates multiple AI models to provide comprehensive, multi-perspective insights.`,
systemPrompt: `You are the Deep Thinker, an agent designed to provide the most comprehensive and insightful analysis possible.`,
instructionsPrompt: `Synthesize the perspectives from your three sub-agents (GPT-5 deep thinker, Claude Sonnet balanced thinker, and Gemini Pro creative thinker) into a unified, deeper understanding. Prefer finding simple solutions if possible. Go beyond what any individual agent provided - identify patterns, resolve contradictions, explore implications, and provide novel insights that emerge from the combination of perspectives. Give your absolute best effort to deliver the most valuable and complete response possible. Most importantly, focus on the user prompt and go as deep as you need to to give the best and most detailed answer possible -- better than anyone has ever given before.`,
stepPrompt: ``,
handleSteps: function* ({ agentState, prompt, params }) {
const promptWithDefault = prompt ?? "Think about this topic";
yield {
toolName: "spawn_agents",
input: {
agents: [
{
agent_type: "gpt5-thinker",
prompt: promptWithDefault
},
{
agent_type: "sonnet-thinker",
prompt: promptWithDefault
},
{
agent_type: "gemini-thinker",
prompt: promptWithDefault
}
]
}
};
yield "STEP";
}
}