feat: add support for SLIMRPC custom protocol binding
维护者通常 2 天内回复
还没有人认领这个 Issue。
- #18 来自 @Tehsmash —— 已关闭,未合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
调研方向
该 issue 描述了添加新的传输选项。首先检查代码库中现有的传输实现(rest、jsonrpc、grpc),以了解接口。SLIMRPC 绑定需要集成 github.com/agntcy/slim-a2a-go 库并处理 CGO。查找 flag 解析和传输选择逻辑。“Done”意味着 --transport slimrpc flag 能够与新的 SLIM 专用 flags 一起工作并成功建立连接。
由索引模型根据 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
slimrpcto the--transportflag (alongsiderest,jsonrpc,grpc) - Add SLIM-specific flags:
--slim-endpoint— SLIM node endpoint (defaulthttp://127.0.0.1:46357)--slim-local-name— local SLIM identity (org/namespace/app, defaultagntcy/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 whenCGO_ENABLED=0 - CI: run
slim-bindings-setupto 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
- Spec: https://github.com/a2aproject/experimental-cpb-slimrpc
- Go library: https://github.com/agntcy/slim-a2a-go
- SLIM project: https://github.com/agntcy/slim
- 主要语言
- Go
- 星标
- 181
- 派生
- 28
- 平均合并
- 2 天 11 小时
- 30 天内合并 PR
- 22
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
a2aproject/a2a-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
a2aproject/a2a-cli#159 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
a2aproject/a2a-cli#158 · 1 条评论 ·
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
a2aproject/a2a-cli#15 · 2 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
bug: [flagparse] loopback references with paths default to HTTPS可能已有人在做 @ktsoator 于 2 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 25/100
a2aproject/a2a-cli#162 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
a2aproject/a2a-cli#160 ·
维护者通常 2 天内回复
查看 a2aproject/a2a-cli 的全部 Issue
相似的 Issue
-
ssa: wait errors drop the kstatus message, so health check failures don't say why可能已有人在做 @schdief 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Pin and verify Security Insights schema in lintinsights target可能已有人在做 @imshubham22apr-gif 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
gemaraproj/gemara#618 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
a2aproject/a2a-go#597 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 4 天内回复
-
scopes: GetAllowedTopics, GetProtectedTopics, and GetScopedTopics include empty topic names and do not trim whitespace characters可能已有人在做 @patelshivani2283-lab 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复