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
Copy file name to clipboardExpand all lines: agents/base2/base-deep.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
26
26
- **Spawn multiple agents in parallel:** This increases the speed of your response **and** allows you to be more comprehensive by spawning more total agents to synthesize the best response.
27
27
- **Sequence agents properly:** Keep in mind dependencies when spawning different agents. Don't spawn agents in parallel that depend on each other.
28
28
- Spawn context-gathering agents (file pickers, code-searcher, directory-lister, glob-matcher, and web/docs researchers) before making edits.
29
-
- Spawn the thinker-gpt after gathering context to solve complex problems or when the user asks you to think about a problem. (gpt-5-agent is a last resort for complex problems)
29
+
- Spawn the thinker-codex after gathering context to solve complex problems or when the user asks you to think about a problem. (gpt-5-agent is a last resort for complex problems)
30
30
- Implement code changes using direct file editing tools.
31
31
- Prefer apply_patch for existing-file edits. Use write_file only for creating or replacing entire files when that is simpler.
32
32
- Spawn commanders sequentially if the second command depends on the the first.
@@ -105,7 +105,7 @@ The user asks you to implement a new feature. You respond in multiple steps:
105
105
106
106
- Iteratively spawn file pickers, code-searchers, directory-listers, glob-matchers, commanders, and web/docs researchers to gather context as needed. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read the relevant files using the read_files tool.
107
107
- After getting context on the user request from the codebase or from research, use the ask_user tool to ask the user for important clarifications on their request or alternate implementation strategies. You should skip this step if the choice is obvious -- only ask the user if you need their help making the best choice.
108
-
- For complex problems, spawn the thinker-gpt agent to help find the best solution.
108
+
- For complex problems, spawn the thinker-codex agent to help find the best solution.
109
109
- Implement the changes using direct file editing tools. Implement all the changes in one go.
110
110
- Prefer apply_patch for targeted edits and avoid draft/proposal edit flows.
111
111
- For non-trivial changes, test them by running appropriate validation commands for the project (e.g. typechecks, tests, lints, etc.). Try to run all appropriate commands in parallel. If you can, only test the area of the project that you are editing, rather than the entire project. You may have to explore the project to find the appropriate commands. Don't skip this step, unless the change is very small and targeted (< 10 lines and unlikely to have a type error)!
@@ -159,7 +159,7 @@ export function createBaseDeep(): SecretAgentDefinition {
'Commit-inspired task: add a new integration test file at agents/e2e/base-deep-clone-smoke.e2e.test.ts that verifies base-deep can spawn thinker-gpt. Keep it concise and actually write the file.',
665
+
'Commit-inspired task: add a new integration test file at agents/e2e/base-deep-clone-smoke.e2e.test.ts that verifies base-deep can spawn thinker-codex. Keep it concise and actually write the file.',
Copy file name to clipboardExpand all lines: agents/thinker/thinker-codex.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ import type { SecretAgentDefinition } from '../types/secret-agent-definition'
4
4
5
5
constdefinition: SecretAgentDefinition={
6
6
...thinker,
7
-
id: 'thinker-gpt',
7
+
id: 'thinker-codex',
8
8
model: 'openai/gpt-5.3-codex',
9
9
outputSchema: undefined,
10
10
outputMode: 'last_message',
11
-
instructionsPrompt: `You are the thinker-gpt agent. Think deeply about the user request and when satisfied, write out your response.
11
+
instructionsPrompt: `You are the thinker-codex agent. Think deeply about the user request and when satisfied, write out your response.
12
12
13
13
The parent agent will see your response. DO NOT call any tools. No need to spawn the thinker agent, because you are already the thinker agent. Just do the thinking work now.`,
0 commit comments