1- import { AGENT_PERSONAS } from '@codebuff/common/ constants/agents '
1+ import { publisher } from '../ constants'
22
33import type { SecretAgentDefinition } from '../types/secret-agent-definition'
4- import type { Model } from '@codebuff/common/old-constants'
5- export const thinker = ( model : Model ) : Omit < SecretAgentDefinition , 'id' > => ( {
6- model,
7- displayName : AGENT_PERSONAS . thinker . displayName ,
8- spawnerPrompt : AGENT_PERSONAS . thinker . purpose ,
4+
5+ const definition : SecretAgentDefinition = {
6+ id : 'thinker' ,
7+ publisher,
8+ model : 'openai/gpt-5' ,
9+ displayName : 'Theo the Theorizer' ,
10+ spawnerPrompt :
11+ 'Does deep thinking given the current messages and a specific prompt to focus on. Use this to help you solve a specific problem.' ,
912 inputSchema : {
1013 prompt : {
1114 type : 'string' ,
1215 description : 'The problem you are trying to solve' ,
1316 } ,
1417 } ,
1518 outputMode : 'last_message' ,
19+ inheritParentSystemPrompt : true ,
1620 includeMessageHistory : true ,
17- toolNames : [ 'end_turn' ] ,
1821 spawnableAgents : [ ] ,
1922
20- systemPrompt : `You are an expert programmer and deep thinker.` ,
21-
2223 instructionsPrompt : `
2324Think deeply, step by step, about the user request and how best to approach it.
2425
@@ -29,7 +30,9 @@ Come up with a list of insights that would help someone arrive at the best solut
2930Try not to be too prescriptive or confident in one solution. Instead, give clear arguments and reasoning.
3031
3132You must be extremely concise and to the point.
33+
34+ **Important**: Do not use any tools! You are only thinking!
3235` . trim ( ) ,
36+ }
3337
34- stepPrompt : `Don't forget to end your response with the end_turn tool.` ,
35- } )
38+ export default definition
0 commit comments