Skip to content

chore(langchain): scaffold the a2a-sdk-langchain package - #1581

Open
sokoliva wants to merge 2 commits into
a2aproject:mainfrom
sokoliva:a2a-sdk-langchain
Open

sokoliva wants to merge 2 commits into
a2aproject:mainfrom
sokoliva:a2a-sdk-langchain

Conversation

@sokoliva

@sokoliva sokoliva commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Description

First step of the delivery plan for the LangChain integration: an empty a2a-sdk-langchain package (import name a2a_sdk_langchain) under integrations/langchain, with no public API yet.

The package has its own uv.lock so LangChain's dependency tree is not resolved together with the SDK's. During development it installs a2a-sdk from this checkout, so it is tested against the SDK in the same commit. CI runs its ty check and tests in that environment, as extra steps in the existing lint and unit-test workflows; ruff already covers it from the root config.

Tracked here: #1582

First step of the delivery plan for the LangChain integration: an empty
a2a-sdk-langchain package (import name a2a_sdk_langchain) under
integrations/langchain, with no public API yet.

The package has its own uv.lock so LangChain's dependency tree is not
resolved together with the SDK's. During development it installs
a2a-sdk from this checkout, so it is tested against the SDK in the same
commit. CI runs its ty check and tests in that environment, as extra
steps in the existing lint and unit-test workflows; ruff already covers
it from the root config.
@sokoliva
sokoliva requested a review from a team as a code owner December 3, 2026 15:11
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

🧪 Code Coverage (vs main)

⬇️ Download Full Report

No coverage changes.

Generated by coverage-comment.yml

@sokoliva
sokoliva requested a review from mykytanetipa December 3, 2026 15:21
The package's own uv.lock pointed a2a-sdk at this checkout, so it
embedded the SDK's metadata and went stale on every root dependency
change (Dependabot included), failing the package's CI until someone
re-locked it by hand.

It now depends on the released a2a-sdk from PyPI, as users do: the lock
no longer depends on the root pyproject.toml, and the >=1.4.0 floor is
what CI tests. Trade-off: an SDK change that breaks the integration is
caught when the package's a2a-sdk version is bumped, not in the SDK PR,
and a feature that needs new SDK code waits for an SDK release.
Dependabot now updates integrations/langchain monthly.

Also: exclude integrations/ from the a2a-sdk sdist, document the
package's checks, and sort a2a_sdk_langchain as first-party.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant