[PR #4194] [MERGED] docs(deepagents): document custom state schemas #4187

Closed
opened 2026-06-05 19:13:04 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4194
Author: @open-swe[bot]
Created: 5/28/2026
Status: Merged
Merged: 5/29/2026
Merged by: @npentrel

Base: mainHead: open-swe/deepagents-state-schema-docs


📝 Commits (7)

  • e0240d0 docs(deepagents): document custom state schemas
  • 7603b9c cr
  • 9f7d105 docs(deepagents): use public DeepAgentState import
  • 48d1743 Update src/oss/deepagents/context-engineering.mdx
  • f6f8f6c Update src/oss/deepagents/customization.mdx
  • 16d248a Merge branch 'main' into open-swe/deepagents-state-schema-docs
  • 7780a9b fix links

📊 Changes

4 files changed (+52 additions, -4 deletions)

View changed files

📝 pipeline/preprocessors/link_map.py (+1 -0)
📝 src/oss/deepagents/context-engineering.mdx (+45 -0)
📝 src/oss/deepagents/customization.mdx (+3 -1)
📝 src/oss/javascript/integrations/providers/google.mdx (+3 -3)

📄 Description

Description

Documents the new Python state_schema option from langchain-ai/deepagents#3642 and follows langchain-ai/deepagents#3653 by showing the public DeepAgentState import. Also covers when to use state versus runtime context and how subagents inherit custom schemas.

Release Note

none

Test Plan

  • Verified custom state schema example parses and docs cross-references resolve.
  • Ran prose lint on changed MDX files.

Opened collaboratively by Mason Daugherty and open-swe.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/4194 **Author:** [@open-swe[bot]](https://github.com/apps/open-swe) **Created:** 5/28/2026 **Status:** ✅ Merged **Merged:** 5/29/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `open-swe/deepagents-state-schema-docs` --- ### 📝 Commits (7) - [`e0240d0`](https://github.com/langchain-ai/docs/commit/e0240d09903a6f3c3272bbba314e2e0a9f6e8491) docs(deepagents): document custom state schemas - [`7603b9c`](https://github.com/langchain-ai/docs/commit/7603b9c7f4341c997c72e33035b383f9acb6084a) cr - [`9f7d105`](https://github.com/langchain-ai/docs/commit/9f7d105fb5f7491eee9f591db5db022974698e25) docs(deepagents): use public `DeepAgentState` import - [`48d1743`](https://github.com/langchain-ai/docs/commit/48d1743581118dc81fca5a4be323ca16a1c504e5) Update src/oss/deepagents/context-engineering.mdx - [`f6f8f6c`](https://github.com/langchain-ai/docs/commit/f6f8f6c97d5e38625b00efd514b3c941294dbbb0) Update src/oss/deepagents/customization.mdx - [`16d248a`](https://github.com/langchain-ai/docs/commit/16d248a6be4be7727784e3bc0b2ccb8edd33fc78) Merge branch 'main' into open-swe/deepagents-state-schema-docs - [`7780a9b`](https://github.com/langchain-ai/docs/commit/7780a9b60a799aa5d4af3a1495047da6b72a8301) fix links ### 📊 Changes **4 files changed** (+52 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/preprocessors/link_map.py` (+1 -0) 📝 `src/oss/deepagents/context-engineering.mdx` (+45 -0) 📝 `src/oss/deepagents/customization.mdx` (+3 -1) 📝 `src/oss/javascript/integrations/providers/google.mdx` (+3 -3) </details> ### 📄 Description ## Description Documents the new Python `state_schema` option from langchain-ai/deepagents#3642 and follows langchain-ai/deepagents#3653 by showing the public `DeepAgentState` import. Also covers when to use state versus runtime context and how subagents inherit custom schemas. ## Release Note none ## Test Plan - [x] Verified custom state schema example parses and docs cross-references resolve. - [x] Ran prose lint on changed MDX files. _Opened collaboratively by Mason Daugherty and open-swe._ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 19:13:04 -04:00
yindo closed this issue 2026-06-05 19:13:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#4187