-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(sdk,code,quickjs): lean system prompt by default, restorable #4859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Nick Hollon (nick-hollon-lc)
merged 18 commits into
main
from
nh/remove-base-system-prompt
Jul 22, 2026
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e154953
feat(deepagents, code): lean system prompt by default, restorable
nick-hollon-lc ce23402
refactor(deepagents, code): make _builtin_middleware_prompts private
nick-hollon-lc 8d71dde
fix(deepagents, quickjs): keep skills/memory prompts on the lean default
nick-hollon-lc 404d8f0
fix(deepagents): keep filesystem host-path routing when prose is supp…
nick-hollon-lc 3ac886f
refactor(deepagents, code): public trim_duplicate_tool_prompts flag
nick-hollon-lc a08b327
refactor(deepagents, code): trim duplicate tool prose unconditionally
nick-hollon-lc 36a22cd
refactor(deepagents): move essential trimmed guidance into tool descr…
nick-hollon-lc 40880b3
fix(deepagents): correct offloaded-result grep guidance for artifacts…
nick-hollon-lc 688d82c
refactor(deepagents): trim tool prose via lean middleware defaults
nick-hollon-lc cb90572
refactor(deepagents): delete the preserved built-in tool-prompt const…
nick-hollon-lc fb9c3d1
refactor(deepagents): disable default summarization prompt
nick-hollon-lc 5b50172
refactor(deepagents): delete preserved summarization prompt
nick-hollon-lc 1ab4c4a
test(code): refresh system prompt snapshot
nick-hollon-lc c9dbda2
chore(quickjs): sync lockfile with deepagents metadata
nick-hollon-lc 4d825bb
fix(deepagents): address prompt middleware review feedback
nick-hollon-lc 5d222b1
Merge remote-tracking branch 'origin/main' into nh/remove-base-system…
nick-hollon-lc c3c0ad0
Merge remote-tracking branch 'origin/main' into nh/remove-base-system…
nick-hollon-lc 90ab0c5
test(sdk): rename base prompt test names
nick-hollon-lc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
|
|
||
| from deepagents._version import __version__ | ||
| from deepagents.graph import ( | ||
| BASE_AGENT_PROMPT, | ||
| DeepAgentState, | ||
| SystemPromptConfig, | ||
| create_deep_agent, | ||
|
|
@@ -27,6 +28,7 @@ | |
| ) | ||
|
|
||
| __all__ = [ | ||
| "BASE_AGENT_PROMPT", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. idt we should export this |
||
| "AsyncSubAgent", | ||
| "AsyncSubAgentMiddleware", | ||
| "CompiledSubAgent", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.