Skip to content

revert(code,sdk): revert SystemPromptConfig - #4969

Merged
ccurme (ccurme) merged 5 commits into
mainfrom
cc/revert_system_prompt_config
Jul 22, 2026
Merged

revert(code,sdk): revert SystemPromptConfig#4969
ccurme (ccurme) merged 5 commits into
mainfrom
cc/revert_system_prompt_config

Conversation

@ccurme

Copy link
Copy Markdown
Contributor

Reverts #4437 and #4516.

This was alpha functionality that we are removing in favor of #4859.

@github-actions github-actions Bot changed the title revert(code, deepagents): revert SystemPromptConfig revert(code,sdk): revert SystemPromptConfig Jul 22, 2026
@github-actions github-actions Bot added dcode Related to `deepagents-code` deepagents Related to the `deepagents` SDK / agent harness internal User is a member of the `langchain-ai` GitHub organization revert Reverting a PR size: M 200-499 LOC labels Jul 22, 2026

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open SWE Review found 1 potential issue.

1 additional finding can be viewed in the web app.

Open in WebView Open SWE trace

Comment thread libs/deepagents/deepagents/graph.py
@mdrxy Mason Daugherty (mdrxy) changed the title revert(code,sdk): revert SystemPromptConfig revert(code,sdk): revert SystemPromptConfig Jul 22, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm just one question i was confused by!

Comment thread libs/deepagents/deepagents/graph.py Outdated
@ccurme
ccurme (ccurme) merged commit d046427 into main Jul 22, 2026
67 checks passed
@ccurme
ccurme (ccurme) deleted the cc/revert_system_prompt_config branch July 22, 2026 22:19
Sydney Runkle (sydney-runkle) added a commit to langchain-ai/docs that referenced this pull request Jul 24, 2026
## Overview

Adds the final `deepagents` v0.7.0 changelog entry, replacing the
pre-release `v0.7.0a6` block. The v0.7.0 release focuses on making the
harness more configurable and leaner by default. Content is sourced from
the
[`0.7.0b1`](https://github.com/langchain-ai/deepagents/releases/tag/deepagents%3D%3D0.7.0b1)
and
[`0.7.0b2`](https://github.com/langchain-ai/deepagents/releases/tag/deepagents%3D%3D0.7.0b2)
release notes and grouped into Features, Optimizations, and Breaking
changes.

Note: the `SystemPromptConfig` item from the old a6 entry was dropped
because that feature was reverted
([deepagents#4969](langchain-ai/deepagents#4969))
before the GA release.

## Type of change

**Type:** Update existing documentation

## Related issues/PRs
- Feature PRs: langchain-ai/deepagents#4251, #4109, #4325, #4859, #4929,
#4541, #5009

## Checklist
- [x] I have read the contributing guidelines, including the language
policy
- [x] I have tested my changes locally (Vale: 0 errors, 0 warnings)
- [x] All code examples have been tested and work correctly
- [x] I have used **root relative** paths for internal links
- [ ] I have updated navigation in `src/docs.json` if needed (not
needed)
Nishitha M (imnishitha) added a commit to langchain-ai/docs that referenced this pull request Jul 28, 2026
…5056)

## Description
`langchain-ai/deepagents#4969` reverted the alpha `SystemPromptConfig`
(`prefix`/`base`/`suffix` dict) feature, so `system_prompt=` is a plain
`str | SystemMessage` again. This drops the `SystemPromptConfig`
guidance from the Python-side "System prompt" section entirely and fixes
the section intro, which incorrectly claimed a built-in base prompt
ships by default. Also resyncs the Python function-signature snippet
(stale `SystemPromptConfig` reference) and drops the now-stale
`SystemPromptConfig` link-map entry. No changelog changes.

`langchain-ai/deepagentsjs` mirrored the revert (#700, #703), but kept
`SystemPromptConfig` in its type union as a `@deprecated` compatibility
shim slated for removal in the next major release. Dropped it from the
JS signature snippet to match. **Note for reviewers:** that snippet is
normally auto-generated by `scripts/sync_deepagents_signatures.py` from
the live API reference site, which still lists the deprecated type —
don't blindly re-run that script against this one file until
deepagentsjs's next major release actually removes the shim, or it'll
reintroduce `SystemPromptConfig`.

## Test Plan
- [x] `make check-cross-refs`
- [x] `make lint_prose FILES=...` on changed `.mdx` files

Opened collaboratively by Nishitha Madhu and open-swe

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Marcelo5444 pushed a commit to Marcelo5444/deepagents that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dcode Related to `deepagents-code` deepagents Related to the `deepagents` SDK / agent harness internal User is a member of the `langchain-ai` GitHub organization revert Reverting a PR size: M 200-499 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants