Repository navigation
Description
Background
The SDK currently has lightweight mixed-runtime interoperability coverage in CI:
python-server-cpp-client-interopcpp-server-python-client-interop
These tests were originally introduced as focused smoke tests. They provide useful deterministic coverage for C++ ↔ Python interoperability, but they cover only a small subset of the interoperability surface and should not evolve into a standalone interoperability framework maintained exclusively in this repository.
The SDK now also has separate A2A TCK validation for protocol conformance. Interoperability testing should complement the TCK by verifying that the C++ SDK can communicate with real implementations from other A2A SDKs.
The official a2aproject/a2a-itk is designed specifically for cross-SDK and cross-version interoperability testing and should be the primary path for expanding this coverage.
Goals
Integrate a2a-cpp with the official A2A Integration Test Kit (ITK) while retaining a small set of local interoperability smoke tests for fast and deterministic CI feedback.
The resulting test strategy should provide three complementary layers:
- TCK — protocol conformance.
- Local C++ ↔ Python smoke tests — fast regression detection.
- ITK — ecosystem-level interoperability across SDKs, versions, transports, and supported interaction modes.
Proposed work
1. Retain the existing lightweight interoperability smoke tests
Keep the existing Python server ↔ C++ client and C++ server ↔ Python client tests as fast CI checks.
They should remain intentionally small and should not duplicate the broader SDK matrix or orchestration provided by ITK.
2. Add an ITK agent for a2a-cpp
Add an itk/ integration agent following the conventions used by the official A2A SDKs.
The agent should:
- use the public
a2a-cppclient/server APIs rather than private test hooks; - accept the standard ITK HTTP and gRPC port configuration;
- implement the ITK traversal instruction contract;
- expose all transports supported by
a2a-cpp:- JSON-RPC
- gRPC
- HTTP+JSON;
- support ITK behaviors applicable to capabilities implemented by the SDK, including:
send_message;- streaming;
- task resubscription;
- push notification scenarios where supported.
Unsupported capabilities must be represented explicitly rather than silently reducing test coverage.
3. Contribute C++ launcher support to a2aproject/a2a-itk
Upstream the generic C++ integration required for ITK to build and launch a C++ SDK agent.
Expected areas include:
- C++ agent/language detection;
- CMake/Ninja build support;
- C++ agent process startup;
instruction.protocode generation/integration where required;- launcher tests for the C++ build/start lifecycle;
- required C++ build dependencies in the ITK execution environment.
Avoid adding a2a-cpp-specific behavior to the generic ITK launcher where a language-level solution is possible.
4. Add C++ to the ITK SDK matrix
Once launcher support and the C++ ITK agent are available, add a2a-cpp to the ITK SDK matrix.
Initially validate the current development version against stable v1.0 peers.
Stable C++ entries can be added once an appropriate released C++ baseline is available.
5. Integrate ITK into a2a-cpp CI
Use two levels of interoperability coverage:
Pull requests
Run a reasonably small ITK suite that gives fast cross-SDK feedback, using a limited set of representative stable SDK peers.
At minimum, validate interoperability with established v1.0 implementations such as Python and Go across the transports supported by both sides.
Nightly / extended testing
Run the broader ITK interoperability matrix against the available stable SDK implementations and supported scenarios.
This can include Python, Go, TypeScript, Java, Rust, .NET, and future SDKs as they become available in the ITK matrix.
Acceptance criteria
- Existing C++ ↔ Python smoke tests remain operational.
-
a2a-cppcontains an ITK-compatible agent underitk/. - The ITK agent uses public SDK APIs.
- JSON-RPC interoperability is exercised through ITK.
- gRPC interoperability is exercised through ITK.
- HTTP+JSON interoperability is exercised through ITK.
- Streaming interoperability is exercised.
- Task resubscription is exercised where supported.
- Push-notification interoperability is exercised where supported.
- C++ build/spawn support is contributed to
a2aproject/a2a-itk. - C++ is represented in the ITK SDK matrix.
- A small ITK interoperability suite runs in
a2a-cppPR CI. - Broader interoperability coverage is available through nightly/extended CI.
- Failures identify the SDK pair, transport, and scenario involved.
- Documentation explains the distinction between TCK conformance, local smoke interoperability, and ITK interoperability.
Non-goals
- Reimplementing the ITK SDK/version matrix inside
a2a-cpp. - Maintaining custom C++ test orchestration for every official A2A SDK.
- Duplicating TCK protocol-conformance requirements in interoperability tests.
- Replacing the existing focused local smoke tests with a heavyweight ITK run.
Upstream coordination
Before implementing substantial ITK-specific infrastructure locally:
- confirm the intended C++ onboarding approach with
a2aproject/a2a-itkmaintainers; - coordinate the generic C++ launcher/build support upstream;
- keep SDK-specific implementation in
a2a-cppand generic orchestration ina2a-itk.
This keeps interoperability infrastructure shared across the A2A ecosystem rather than creating a C++-specific parallel implementation.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
[-][Feature]: SDK interoperability testing[/-][+][Feature]: Enhance SDK interoperability testing[/+]feat: validate shared SDK bindings and protocol versions (#307)