a2aproject / a2aproject/a2a-python

[Feat]: feat(transport): add stdio transport to run A2A protocol over process pipes

オープン
#526 コメント 2 件 リアクション 0 件 担当者 1 名 @muscariello が担当を希望しています GitHub で見る
主要言語
Python
スター
2.1k
フォーク
496
平均マージ
4日 17時間
マージ済み PR(30日)
12

説明

### Is your feature request related to a problem? Please describe.

Support a2a protocol over stdio in the Python SDK.

### Describe the solution you'd like

A stdio transport for A2A lets the Python client speak the existing A2A protocol directly over a spawned process’s stdin/stdout instead of HTTP or gRPC, enabling fully local, port‑less, hermetic agent execution. The SDK would launch an agent (or model/runtime) with a --stdio flag, exchange line‑delimited JSON-RPC messages, and multiplex streaming task events through a single reader loop that dispatches responses and updates by request ID. This approach reduces overhead and dependencies (no network stack), improves security by narrowing exposure to a private child process, and unlocks embedding scenarios (CI, plugins, air‑gapped systems) while preserving the current ClientTransport interface, interceptors, telemetry, and error semantics.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。