Skip to content

feat(code): add google_anthropic_vertex provider for Claude on Vertex AI - #5760

Merged
Mason Daugherty (mdrxy) merged 3 commits into
mainfrom
mdrxy/code/anthropic-vertex-provider
Aug 24, 2026
Merged

feat(code): add google_anthropic_vertex provider for Claude on Vertex AI#5760
Mason Daugherty (mdrxy) merged 3 commits into
mainfrom
mdrxy/code/anthropic-vertex-provider

Conversation

@mdrxy

@mdrxy Mason Daugherty (mdrxy) commented Aug 24, 2026

Copy link
Copy Markdown
Member

Closes #4489

dcode --model google_anthropic_vertex:claude-sonnet-4-6 now works with GCP ADC when GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION are configured.


Claude on Vertex uses Anthropic's Messages API rather than Google's generateContent transport, so it needs a separate provider from google_vertexai. This reuses LangChain's existing google_anthropic_vertex registry name and integration.

Made by Open SWE

…ex AI

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
@github-actions github-actions Bot added dcode Related to `deepagents-code` feature New feature/enhancement or request for one internal User is a member of the `langchain-ai` GitHub organization size: M 200-499 LOC labels Aug 24, 2026
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
@mdrxy
Mason Daugherty (mdrxy) marked this pull request as ready for review August 24, 2026 04:05
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>

@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: No issues found

Open SWE reviewed this PR and found no potential bugs to report.

Open in WebView Open SWE trace

@mdrxy
Mason Daugherty (mdrxy) merged commit aa69916 into main Aug 24, 2026
73 checks passed
@mdrxy
Mason Daugherty (mdrxy) deleted the mdrxy/code/anthropic-vertex-provider branch August 24, 2026 04:20
Mason Daugherty (mdrxy) added a commit to langchain-ai/docs that referenced this pull request Aug 24, 2026
## Description
Document the built-in `google_anthropic_vertex` provider so Deep Agents
Code users can configure ADC, project/location settings, the `vertex`
extra, and the correct model spec. This also distinguishes Anthropic's
Messages API transport from Google's Vertex provider.

## Test Plan
- [x] Run Vale and codespell on the updated provider guide

Related implementation:
langchain-ai/deepagents#5760

Made by [Open
SWE](https://openswe.vercel.app/agents/979e343f-42ad-580d-ab0a-69827de47d40)

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
Mason Daugherty (mdrxy) pushed a commit that referenced this pull request Aug 24, 2026
> [!CAUTION]
> Merging this PR will automatically publish to **PyPI** and create a
**GitHub release**.

For the full release process, see
[`.github/RELEASING.md`](https://github.com/langchain-ai/deepagents/blob/main/.github/RELEASING.md).

---

_Release notes preview: keep this section in sync with the package
`CHANGELOG.md`. Publish reads the merged CHANGELOG via `release.yml`,
not this PR description — keep them aligned anyway so the PR stays an
accurate historical record for reviewers and anyone returning later._

---


##
[0.1.61](deepagents-code==0.1.60...deepagents-code==0.1.61)
(2026-08-24)

### Features

- Added `google_anthropic_vertex` provider support for Claude on Vertex
AI ([#5760](#5760)).
- Enforced configured model allowlists
([#5649](#5649)).
- Injected goal and rubric context directly, replacing `get_goal` and
`get_rubric`
([#5041](#5041)).
- Made `/offload` server-owned
([#5261](#5261)).
- Added prompt clipboard support
([#5733](#5733)).
- Show Auto approval review progress
([#5729](#5729)).

### Bug Fixes

- Kept long thread resumes responsive
([#5772](#5772)).
- Render first streamed text immediately
([#5761](#5761)).
- Show the incognito shell command widget
([#5768](#5768)).
- Only highlight actionable tool rows
([#5769](#5769)).
- Warn and ignore `--auto-approve` and `--yolo` in headless mode
([#5750](#5750)).
- Sweep expired history archives at startup
([#5751](#5751)).
- Clarified auth environment setup
([#5767](#5767)).

_End release notes preview._

---

> [!NOTE]
> A **community contributors** list and a **Special thanks** section
(crediting the users who filed the issues this release's PRs closed) are
appended to the GitHub release notes automatically at publish time (see
[Release
Pipeline](https://github.com/langchain-ai/deepagents/blob/main/.github/RELEASING.md#release-pipeline),
step 3).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: langchain-oss-automated-triage[bot] <248757908+langchain-oss-automated-triage[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dcode Related to `deepagents-code` feature New feature/enhancement or request for one internal User is a member of the `langchain-ai` GitHub organization size: M 200-499 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Claude models on Google Vertex AI via AnthropicVertex SDK

1 participant