You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Creates comprehensive plans by exploring the codebase, doing research on the web, and thinking deeply. You can also use it get deep answer to any question.',
16
+
'Creates comprehensive plans by exploring the codebase, doing research on the web, and thinking deeply. You can also use it get deep answer to any question. This is a slow agent -- use it only for complex tasks.',
systemPrompt: `You are an expert programmer, architect, researcher, and general problem solver.
29
-
You spawn agents to help you gather information and think through the problems.
34
+
You spawn agents to help you gather information which will be used to create a plan.
30
35
31
36
${PLACEHOLDER.FILE_TREE_PROMPT}
32
37
${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
33
38
34
-
instructionsPrompt: `Create a comprehensive plan for the given task.
35
-
36
-
Process:
37
-
- Spawn a file-explorer to understand the relevant codebase. You may also spawn a researcher to search the web for relevant information at the same time.
38
-
- After gathering information, spawn a thinker to analyze the best approach and craft a plan.`,
39
+
instructionsPrompt: `You are gathering information which will be used to create a plan.
40
+
41
+
- It's helpful to spawn a file-explorer to find all the relevant parts of the codebase. In parallel as part of the same spawn_agents tool call, you may also spawn a web-researcher or docs-researcher to search the web or technical documentation for relevant information.
42
+
- After you are satisfied with the information you have gathered from these agents, stop and use the end_turn tool. The plan will be created in a separate step. Do not spawn thinker-gpt-5-high in this step.`,
39
43
40
44
handleSteps: function*({ prompt }){
41
-
// Step 1: Spawn file-explorer and parse out the file paths
prompt: `Create a clear implementation plan for the following task, with a focus on simplicity and making the minimal changes necessary for an awesome implementation. Prompt: ${prompt}`,
Copy file name to clipboardExpand all lines: .agents/factory/docs-researcher.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ export const docsResearcher = (
6
6
): Omit<SecretAgentDefinition,'id'>=>({
7
7
model,
8
8
displayName: 'Doc',
9
-
spawnerPrompt: `Expert at reading technical documentation to find relevant information.`,
9
+
spawnerPrompt: `Expert at reading technical documentation of major public libraries and frameworks to find relevant information. (e.g. React, MongoDB, Postgres, etc.)`,
0 commit comments