feat: add support for SLIMRPC custom protocol binding

オープン
#17 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

  • #18 @Tehsmash による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発

調査の方向性

この issue は新しいトランスポートオプションの追加について説明しています。まず、インターフェースを理解するために、コードベース内の既存のトランスポート実装(rest、jsonrpc、grpc)を調べてください。SLIMRPC バインディングでは、github.com/agntcy/slim-a2a-go ライブラリを統合し、CGO を扱う必要があります。フラグのパースとトランスポート選択のロジックを探してください。「Done」とは、--transport slimrpc フラグが新しい SLIM 固有のフラグとともに機能し、正常に接続できることを意味します。

索引モデルが issue の本文から書いたものです。

説明

Summary

Add support for the SLIMRPC custom protocol binding as an optional transport in the A2A CLI, selectable via --transport slimrpc.

Background

SLIMRPC is Protobuf RPC over SLIM (Secure Low-Latency Interactive Messaging) — a transport layer designed for agentic workloads that provides:

  • Peer-to-peer architecture with NAT/firewall traversal (no centralized broker)
  • Hierarchical name-based addressing (org/namespace/service) instead of URLs
  • End-to-end encryption via MLS
  • Native multicast and group communication
  • Bidirectional low-latency messaging

The protocol binding identifier is https://a2a-protocol.org/bindings/experimental-slimrpc/v1. Reference Go implementation: github.com/agntcy/slim-a2a-go.

Proposed Changes

  • Add slimrpc to the --transport flag (alongside rest, jsonrpc, grpc)
  • Add SLIM-specific flags:
    • --slim-endpoint — SLIM node endpoint (default http://127.0.0.1:46357)
    • --slim-local-name — local SLIM identity (org/namespace/app, default agntcy/a2a-cli/client)
    • --slim-secret — shared secret for app authentication (optional)
  • CGO-gated implementation: the SLIM bindings require CGO (github.com/agntcy/slim-bindings-go/v2); a stub with a clear error message is compiled when CGO_ENABLED=0
  • CI: run slim-bindings-setup to install the native library before build/test

Usage

a2a send --transport slimrpc --endpoint agntcy/demo/echo_agent \
  --slim-endpoint http://127.0.0.1:46357 \
  --slim-secret my_secret \
  "hello"

References

主要言語
Go
スター
181
フォーク
28
平均マージ
2日 11時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

a2aproject/a2a-cli のほかの issue

a2aproject/a2a-cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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