Skip to content

docs: note write_file overwrite behavior [deepagents PR #4109]#4746

Merged
Nishitha M (imnishitha) merged 2 commits into
mainfrom
open-swe/deepagents-write-file-overwrite-docs
Jul 7, 2026
Merged

docs: note write_file overwrite behavior [deepagents PR #4109]#4746
Nishitha M (imnishitha) merged 2 commits into
mainfrom
open-swe/deepagents-write-file-overwrite-docs

Conversation

@imnishitha

@imnishitha Nishitha M (imnishitha) commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Description

Depends on: langchain-ai/deepagents#4109

write_file now overwrites an existing file instead of erroring. Updates the built-in tool tables in the harness overview and tools pages, and adds a callout that this behavior requires deepagents>=0.7.0a2 (Python only for no, the JS package still errors on overwrite).

Test Plan

  • npx markdownlint-cli src/oss/deepagents/tools.mdx src/oss/deepagents/overview.mdx — no new lint errors introduced by this change

Opened collaboratively by Nishitha Madhu and open-swe

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
@github-actions github-actions Bot added internal deepagents For docs changes to Deep Agents oss labels Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-opensw-1783357780-998874b

Site preview: https://langchain-5e9cc07a-preview-opensw-1783357780-998874b.mintlify.app

Important

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):

@imnishitha Nishitha M (imnishitha) marked this pull request as ready for review July 6, 2026 17:10
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Thanks for opening a docs PR, Nishitha M (@imnishitha)! When it's ready for review, please add the relevant reviewers:

  • @npentrel or @lnhsingh (Deep Agents)

@imnishitha Nishitha M (imnishitha) merged commit 067997a into main Jul 7, 2026
28 checks passed
@imnishitha Nishitha M (imnishitha) deleted the open-swe/deepagents-write-file-overwrite-docs branch July 7, 2026 18:14
Lauren Hirata Singh (lnhsingh) added a commit that referenced this pull request Jul 7, 2026
## Description

Adds a single consolidated changelog entry for the `deepagents` 0.7.0
alpha releases, covering the `delete` filesystem tool, `write_file`
overwrite behavior, default middleware override by name, and the
`FilesystemMiddleware` tools allowlist (already documented in #4746,
#4680, #4701). Individual alpha versions (a1, a2, ...) are not called
out separately.

## Test Plan
- [ ] `npx markdownlint-cli src/oss/python/releases/changelog.mdx` — no
new lint errors introduced by this change

_Opened collaboratively by Nishitha Madhu and open-swe_

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Co-authored-by: Lauren Hirata Singh <lauren@langchain.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents For docs changes to Deep Agents internal oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants