[PR #3507] [MERGED] docs: update camb integration to use create_agent (LangGraph v1 migration) #3551

Closed
opened 2026-06-05 18:23:27 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3507
Author: @ShubhamKosaiker
Created: 4/9/2026
Status: Merged
Merged: 4/12/2026
Merged by: @mdrxy

Base: mainHead: patch-1


📝 Commits (1)

  • d7eb103 docs: update camb integration to use create_agent (LangGraph v1 migration)

📊 Changes

1 file changed (+2 additions, -3 deletions)

View changed files

📝 src/oss/python/integrations/tools/camb.mdx (+2 -3)

📄 Description

Summary

Updates the CAMB integration example to align with LangGraph v1.0 API changes.

Changes

  • Replaces deprecated langgraph.prebuilt.create_react_agent
  • Uses langchain.agents.create_agent for agent construction

Why

create_react_agent was deprecated in LangGraph v1.0 as part of the shift towards unified agent construction within the LangChain agents framework.

This update ensures the example reflects current best practices and prevents confusion for developers following integration guides.

Ref: https://docs.langchain.com/oss/python/migrate/langgraph-v1

Overview

Type of change

Type: Update existing documentation

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • [ x] I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes


🔄 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/3507 **Author:** [@ShubhamKosaiker](https://github.com/ShubhamKosaiker) **Created:** 4/9/2026 **Status:** ✅ Merged **Merged:** 4/12/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`d7eb103`](https://github.com/langchain-ai/docs/commit/d7eb10351f21cb0a0390df597ed4411a9f24fc58) docs: update camb integration to use create_agent (LangGraph v1 migration) ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/tools/camb.mdx` (+2 -3) </details> ### 📄 Description ## Summary Updates the CAMB integration example to align with LangGraph v1.0 API changes. ## Changes - Replaces deprecated `langgraph.prebuilt.create_react_agent` - Uses `langchain.agents.create_agent` for agent construction ## Why `create_react_agent` was deprecated in LangGraph v1.0 as part of the shift towards unified agent construction within the LangChain agents framework. This update ensures the example reflects current best practices and prevents confusion for developers following integration guides. Ref: https://docs.langchain.com/oss/python/migrate/langgraph-v1 ## Overview <!-- Brief description of what documentation is being added/updated --> ## Type of change **Type:** Update existing documentation ## Related issues/PRs <!-- Link to related issues, feature PRs, or discussions (if applicable) To automatically close an issue when this PR is merged, use closing keywords: - "closes #123" or "fixes #123" or "resolves #123" For regular references without auto-closing, just use: - "#123" or "See issue #123" Examples: - closes #456 (will auto-close issue #456 when PR is merged) - See #789 for context (will reference but not auto-close issue #789) --> - GitHub issue: - Feature PR: <!-- For LangChain employees, if applicable: --> - Linear issue: - Slack thread: ## Checklist <!-- Put an 'x' in all boxes that apply --> - [ x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [ ] I have tested my changes locally using `docs dev` - [ ] All code examples have been tested and work correctly - [ ] I have used **root relative** paths for internal links - [ ] I have updated navigation in `src/docs.json` if needed (Internal team members only / optional): Create a preview deployment as necessary using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes <!-- Any other information that would be helpful for reviewers --> --- <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 18:23:27 -04:00
yindo closed this issue 2026-06-05 18:23:27 -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#3551