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: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ The agent (and any subagents) will have access to these tools.
85
85
86
86
The second argument to `create_deep_agent` is `instructions`.
87
87
This will serve as part of the prompt of the deep agent.
88
-
Note that there is a [built in system prompt](#built-in-prompt) as well, so this is not the *entire* prompt the agent will see.
88
+
Note that there is a [built in system prompt](src/deepagents/prompts.py) as well, so this is not the *entire* prompt the agent will see.
89
89
90
90
### `subagents` (Optional)
91
91
@@ -138,7 +138,7 @@ The below components are built into `deepagents` and helps make it work for deep
138
138
`deepagents` comes with a [built-in system prompt](src/deepagents/prompts.py). This is relatively detailed prompt that is heavily based on and inspired by [attempts](https://github.com/kn1026/cc/blob/main/claudecode.md) to [replicate](https://github.com/asgeirtj/system_prompts_leaks/blob/main/Anthropic/claude-code.md)
139
139
Claude Code's system prompt. It was made more general purpose than Claude Code's system prompt.
140
140
This contains detailed instructions for how to use the built-in planning tool, file system tools, and sub agents.
141
-
Note that part of this system prompt [can be customized](#promptprefix--required-)
141
+
Note that part of this system prompt [can be customized](#instructions-required)
142
142
143
143
Without this default system prompt - the agent would not be nearly as successful at going as it is.
144
144
The importance of prompting for creating a "deep" agent cannot be understated.
@@ -175,7 +175,7 @@ result["files"]
175
175
176
176
`deepagents` comes with the built-in ability to call sub agents (based on Claude Code).
177
177
It has access to a `general-purpose` subagent at all times - this is a subagent with the same instructions as the main agent and all the tools that is has access to.
178
-
You can also specify [custom sub agents](#subagents--optional-) with their own instructions and tools.
178
+
You can also specify [custom sub agents](#subagents-optional) with their own instructions and tools.
179
179
180
180
Sub agents are useful for ["context quarantine"](https://www.dbreunig.com/2025/06/26/how-to-fix-your-context.html#context-quarantine) (to help not pollute the overall context of the main agent)
0 commit comments