Official Python SDK for the Agent2Agent (A2A) Protocol
a2aproject/a2a-python 的健康指数为 100 分中的 98 分,处于「卓越」区间。 其得分最高的类别是Vitality(96/100),最低的是Security(76/100)。 最近一次更新在今天。 近期的大部分工作由 4 位贡献者完成。
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 88 经校准后在公布的指数量表上为 98(记录校准 2026-08-02)。
| 注册表 | 软件包 | 版本 | 月下载量 | 版本数 | 最近发布 | 标签 |
|---|---|---|---|---|---|---|
| PyPI | a2a-sdk | 1.1.4 | 10,991,418 | 59 | 0 天前 | a2aa2a-protocola2a-sdkagent-2-agentagent2agent |
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
| 36/36 | 推送新近度 — 最近一次推送于 0 天前 |
| 30.5/36 | 提交节奏 — 52 周中有 44 周有提交 |
| 18/18 | 提交量 — 最近一年 415 次提交 |
| 10/10 | OpenSSF Scorecard:Maintained — 30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |
| commits_last_year | 415 |
| human_commit_share | 0.87 |
| days_since_last_push | 0 |
| active_weeks_last_year | 44 |
| 27/27 | 有发布版本 — 已发布 59 个发布版本 |
| 36/36 | 发布时效 — 最近一次发布版本于 10 天前 |
| 27/27 | 发布节奏 — 约每 15.7 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — 无数据 |
| releases_count | 59 |
| latest_release_tag | v1.1.4 |
| releases_from_tags | 否 |
| days_since_latest_release | 10 |
| mean_days_between_releases | 15.7 |
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
| 54/60 | 星标 — 2,148 个星标 |
| 22.5/25 | 复刻 — 497 个复刻 |
| 8/15 | 关注者 — 28 位关注者 |
| forks | 497 |
| stars | 2,148 |
| watchers | 28 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 22.5/22.5 | README |
| 22.5/22.5 | 许可证 — 可识别的许可证(Apache-2.0) |
| 18/18 | CONTRIBUTING 指南 |
| 13.5/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 6.3/6.3 | PR 模板 |
| has_readme | 是 |
| has_license | 是 |
| readme_badges | 5 |
| has_contributing | 是 |
| has_issue_template | 否 |
| has_code_of_conduct | 是 |
| readme_badge_services | github.com, shields.io |
| has_pull_request_template | 是 |
| 80/80 | 月度下载量 — pypi 合计每月 10,991,418 次下载 |
| 0/20 | 注册表被依赖数 — 该生态系统不报告此项 |
| packages | a2a-sdk |
| dependents | — |
| ecosystems | pypi |
| total_downloads | — |
| monthly_downloads | 10,991,418 |
| unverified_packages_excluded | — |
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
| 43.2/54 | 巴士系数 — 4 位贡献者贡献了半数提交 |
| 18.1/22.5 | 提交分布 — 头号贡献者编写了 20% 的提交 |
| 13.5/13.5 | 贡献者广度 — 92 位贡献者 |
| 10/10 | OpenSSF Scorecard:Contributors — project has 12 contributing companies or organizations |
| bus_factor | 4 |
| contributors_sampled | 92 |
| top_contributor_share | 0.196 |
| 37.4/42 | 议题解决 — 89% 的议题已关闭 |
| 23.7/30 | PR 接受 — 已裁定的 PR 中 699/884 已合并 |
| 9.8/13 | Newcomer PR acceptance — 30 天内首次贡献者的 PR 已合并 9/12 |
| 15/15 | OpenSSF Scorecard:Code-Review — all changesets reviewed |
| merged_prs | 699 |
| open_issues | 31 |
| closed_issues | 250 |
| prs_merged_7d | 8 |
| prs_decided_7d | 13 |
| prs_merged_30d | 26 |
| prs_decided_30d | 36 |
| issue_closed_ratio | 0.89 |
| closed_unmerged_prs | 185 |
| first_time_authors_30d | 8 |
| first_time_prs_merged_30d | 9 |
| first_time_prs_decided_30d | 12 |
| 30/30 | 所有权背书 — 组织持有 |
| 0/20 | 已验证域名 |
| 23.3/25 | 所有者影响力 — a2aproject 有 1,720 位关注者 |
| 11.8/25 | 既往记录 — 18 个公开仓库,账户约 1 年 |
| followers | 1,720 |
| owner_type | Organization |
| is_verified | 否 |
| owner_login | a2aproject |
| public_repos | 18 |
| account_age_days | 454 |
| 25/25 | 已发布且可解析 — pypi 上有 1 个软件包 |
| 35/35 | 发布时效 — 最近一次发布于 0 天前 |
| 20/20 | 版本历史 — 59 个已发布版本 |
| 20/20 | 未被弃用 — 活跃,未被弃用或撤回 |
| packages | a2a-sdk |
| ecosystems | pypi |
| any_deprecated | 否 |
| min_days_since_publish | 0 |
基础的工程与文档实践是否到位?
| 24/24 | CI 工作流 — 16 个工作流 |
| 24/24 | 存在测试 |
| 16/16 | Linter 配置 — pyproject.toml ([tool.ruff]) |
| 9.6/9.6 | Pre-commit 钩子 |
| 0/6.4 | .editorconfig |
| 20/20 | OpenSSF Scorecard:CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| has_ci | 是 |
| has_tests | 是 |
| has_editorconfig | 否 |
| has_linter_config | 是 |
| has_precommit_config | 是 |
| 30/30 | README |
| 25/25 | 文档目录 |
| 15/15 | 文档 / 主页站点 — https://a2a-protocol.org/latest/sdk/python/api/ |
| 10/10 | 仓库描述 |
| 10/10 | 主题标签 — 8 个主题标签 |
| 0/10 | Wiki |
| topics | agents, generative-ai, a2a, a2a-client, a2a-mcp, a2a-protocol, a2a-server, agent2agent |
| has_wiki | 否 |
| homepage | https://a2a-protocol.org/latest/sdk/python/api/ |
| docs_site | https://a2a-protocol.org/latest/sdk/python/api/ |
| has_readme | 是 |
| has_docs_dir | 是 |
| has_description | 是 |
可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?
| 7.5/7.5 | Binary-Artifacts — no binaries found in the repo |
| 0/7.5 | Branch-Protection — 无数据 |
| 2.5/2.5 | CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| 0/2.5 | CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected |
| 7.5/7.5 | Code-Review — all changesets reviewed |
| 2.5/2.5 | Contributors — project has 12 contributing companies or organizations |
| 10/10 | Dangerous-Workflow — no dangerous workflow patterns detected |
| 7.5/7.5 | Dependency-Update-Tool — update tool detected |
| 0/5 | Fuzzing — project is not fuzzed |
| 2.5/2.5 | 许可证 — license file detected |
| 7.5/7.5 | Maintained — 30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |
| 5/5 | Packaging — packaging workflow detected |
| 2/5 | Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 4 |
| 2.5/5 | SAST — SAST tool is not run on all commits -- score normalized to 5 |
| 4.5/5 | Security-Policy — security policy file detected |
| 0/7.5 | Signed-Releases — 无数据 |
| 0/7.5 | Token-Permissions — detected GitHub workflow tokens with excessive permissions |
| 1.5/7.5 | Vulnerabilities — 8 existing vulnerabilities detected |
| source | openssf_scorecard |
| checks_evaluated | 16 |
| scorecard_version | v5.5.0 |
| checks_inconclusive | 2 |
| scorecard_aggregate | 7 |
| 35/35 | 直接依赖不含已知公告 — 没有直接依赖携带已知公告 |
| 0/25 | 间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分 |
| 0/40 | 没有长期未处理的公告 — 没有公告带有发布日期 |
| source | osv |
| advisories | 15 |
| affected_packages | 5 |
| assessed_packages | 123 |
| unassessed_packages | 9 |
| affected_by_severity | critical 1, high 3, moderate 1 |
| direct_affected_packages | 0 |
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
| 45/45 | 代理指令 — AGENTS.md |
| 15/15 | 机器可读文档(llms.txt) — 项目网站提供 llms.txt(https://a2a-protocol.org/llms.txt) |
| 40/40 | 可读的提交历史 — 87 次人类提交中有 87 次说明了意图(结构化标题或解释性正文) |
| has_llms_txt | 是 |
| llms_txt_url | https://a2a-protocol.org/llms.txt |
| legible_history_share | 1 |
| agent_instruction_files | AGENTS.md |
| agent_instruction_max_bytes | 1,740 |
| 0/18 | 一条命令的引导启动 |
| 22/22 | 自动化测试 |
| 11/11 | Lint / 格式化配置 — pyproject.toml ([tool.ruff]) |
| 11/11 | 静态类型检查 — src/a2a/py.typed |
| 10/10 | 可复现环境 — lockfile |
| 10/10 | 已体现的代理实践 — 最近 100 次提交中有 6 次由代理编写或署名代理 |
| 8/8 | 自动化维护 — 最近 100 次提交中有 13 次为自动依赖更新 |
| 4/10 | OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 4 |
| has_nix | 否 |
| has_tests | 是 |
| lockfiles | uv.lock |
| has_dockerfile | 否 |
| typed_language | 否 |
| bootstrap_files | — |
| has_devcontainer | 否 |
| has_linter_config | 是 |
| typecheck_configs | src/a2a/py.typed |
| agent_commit_share | 0.06 |
| toolchain_manifests | — |
| dependency_bot_commit_share | 0.13 |
| 27/45 | 可类型检查的代码 — Python,已配置类型检查(src/a2a/py.typed) |
| 54.1/55 | 可控的文件大小 — 采样的 246 个源文件中有 4 个超过 60KB |
| primary_language | Python |
| largest_source_bytes | 110,980 |
| source_files_sampled | 246 |
| oversized_source_files | 4 |
| 40/40 | API 模式(OpenAPI/GraphQL/proto) — src/a2a/compat/v0_3/a2a_v0_3.proto |
| 0/20 | MCP 服务器 |
| 40/40 | 可运行示例 — samples |
| example_dirs | samples |
| has_mcp_signal | 否 |
| api_schema_files | src/a2a/compat/v0_3/a2a_v0_3.proto |
| interfaces_expected_of | network-service |
每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。
每个点涵盖 2 天。
来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。
| 10 | Binary-Artifacts | no binaries found in the repo |
| 不适用 | Branch-Protection | internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md |
| 10 | CI-Tests | 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| 0 | CII-Best-Practices | no effort to earn an OpenSSF best practices badge detected |
| 10 | Code-Review | all changesets reviewed |
| 10 | Contributors | project has 12 contributing companies or organizations |
| 10 | Dangerous-Workflow | no dangerous workflow patterns detected |
| 10 | Dependency-Update-Tool | update tool detected |
| 0 | Fuzzing | project is not fuzzed |
| 10 | License | license file detected |
| 10 | Maintained | 30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |
| 10 | Packaging | packaging workflow detected |
| 4 | Pinned-Dependencies | dependency not pinned by hash detected -- score normalized to 4 |
| 5 | SAST | SAST tool is not run on all commits -- score normalized to 5 |
| 9 | Security-Policy | security policy file detected |
| 不适用 | Signed-Releases | no releases found |
| 0 | Token-Permissions | detected GitHub workflow tokens with excessive permissions |
| 2 | Vulnerabilities | 8 existing vulnerabilities detected |
| 注册表 | 软件包 | 版本约束 | 清单文件 |
|---|---|---|---|
| PyPI | a2a-sdk | — | itk/pyproject.toml |
| PyPI | fastapi | — | itk/pyproject.toml |
| PyPI | uvicorn | — | itk/pyproject.toml |
| PyPI | grpcio | — | itk/pyproject.toml |
| PyPI | grpcio-tools | — | itk/pyproject.toml |
| PyPI | protobuf | — | itk/pyproject.toml |
| PyPI | sse-starlette | — | itk/pyproject.toml |
| PyPI | httpx-sse | — | itk/pyproject.toml |
| PyPI | packaging | — | itk/pyproject.toml |
| PyPI | httpx | >=0.28.1 | pyproject.toml |
| PyPI | pydantic | >=2.11.3 | pyproject.toml |
| PyPI | protobuf | >=5.29.5,<7 | pyproject.toml |
| PyPI | google-api-core | >=1.26.0 | pyproject.toml |
| PyPI | json-rpc | >=1.15.0 | pyproject.toml |
| PyPI | googleapis-common-protos | >=1.70.0 | pyproject.toml |
| PyPI | culsans | >=0.11.0 | pyproject.toml |
| PyPI | packaging | >=24.0 | pyproject.toml |
来自 GitHub 依赖图的完整解析依赖集合:29 个直接依赖与 103 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。
| 注册表 | 软件包 | 版本 | 关系 |
|---|---|---|---|
| PyPI | a2a-sdk | — | 直接 |
| PyPI | culsans | 0.11.0 | 直接 |
| PyPI | fastapi | — | 直接 |
| PyPI | fastapi | 0.136.3 | 直接 |
| PyPI | fastapi | 0.140.13 | 直接 |
| PyPI | google-api-core | 2.31.0 | 直接 |
| PyPI | google-api-core | 2.33.0 | 直接 |
| PyPI | googleapis-common-protos | 1.75.0 | 直接 |
| PyPI | grpcio | — | 直接 |
| PyPI | grpcio | 1.81.0 | 直接 |
| PyPI | grpcio | 1.83.0 | 直接 |
| PyPI | grpcio-tools | — | 直接 |
| PyPI | grpcio-tools | 1.81.0 | 直接 |
| PyPI | grpcio-tools | 1.81.1 | 直接 |
| PyPI | httpx | 0.28.1 | 直接 |
| PyPI | httpx-sse | — | 直接 |
| PyPI | httpx-sse | 0.4.3 | 直接 |
| PyPI | json-rpc | 1.15.0 | 直接 |
| PyPI | packaging | — | 直接 |
| PyPI | packaging | 26.2 | 直接 |
| PyPI | protobuf | — | 直接 |
| PyPI | protobuf | 6.33.6 | 直接 |
| PyPI | pydantic | 2.13.4 | 直接 |
| PyPI | sse-starlette | — | 直接 |
| PyPI | sse-starlette | 3.4.4 | 直接 |
| PyPI | sse-starlette | 3.4.6 | 直接 |
| PyPI | uvicorn | — | 直接 |
| PyPI | uvicorn | 0.49.0 | 直接 |
| PyPI | uvicorn | 0.51.0 | 直接 |
| PyPI | aiologic | 0.16.0 | 间接 |
| PyPI | aiologic | 0.17.1 | 间接 |
| PyPI | aiomysql | 0.3.2 | 间接 |
| PyPI | aiosqlite | 0.22.1 | 间接 |
| PyPI | alembic | 1.18.4 | 间接 |
| PyPI | annotated-doc | 0.0.4 | 间接 |
| PyPI | annotated-doc | 0.0.5 | 间接 |
| PyPI | annotated-types | 0.7.0 | 间接 |
| PyPI | annotated-types | 0.8.0 | 间接 |
| PyPI | anyio | 4.12.1 | 间接 |
| PyPI | anyio | 4.14.2 | 间接 |
| PyPI | async-timeout | 5.0.1 | 间接 |
| PyPI | asyncpg | 0.31.0 | 间接 |
| PyPI | attrs | 26.1.0 | 间接 |
| PyPI | backports-asyncio-runner | 1.2.0 | 间接 |
| PyPI | certifi | 2026.2.25 | 间接 |
| PyPI | certifi | 2026.7.22 | 间接 |
| PyPI | cffi | 2.0.0 | 间接 |
| PyPI | cffi | 2.1.0 | 间接 |
| PyPI | cfgv | 3.5.0 | 间接 |
| PyPI | charset-normalizer | 3.4.6 | 间接 |
| PyPI | charset-normalizer | 3.4.9 | 间接 |
| PyPI | click | 8.3.1 | 间接 |
| PyPI | click | 8.4.2 | 间接 |
| PyPI | colorama | 0.4.6 | 间接 |
| PyPI | coverage | 7.13.5 | 间接 |
| PyPI | cryptography | 48.0.1 | 间接 |
| PyPI | cryptography | 49.0.0 | 间接 |
| PyPI | distlib | 0.4.0 | 间接 |
| PyPI | dunamai | 1.26.0 | 间接 |
| PyPI | exceptiongroup | 1.3.1 | 间接 |
| PyPI | execnet | 2.1.2 | 间接 |
| PyPI | filelock | 3.25.2 | 间接 |
| PyPI | google-auth | 2.49.1 | 间接 |
| PyPI | google-auth | 2.56.2 | 间接 |
| PyPI | greenlet | 3.3.2 | 间接 |
| PyPI | greenlet | 3.5.4 | 间接 |
| PyPI | grpcio-reflection | 1.81.0 | 间接 |
| PyPI | grpcio-reflection | 1.81.1 | 间接 |
| PyPI | h11 | 0.16.0 | 间接 |
| PyPI | hatchling | 1.29.0 | 间接 |
| PyPI | httpcore | 1.0.9 | 间接 |
| PyPI | identify | 2.6.18 | 间接 |
| PyPI | idna | 3.15 | 间接 |
| PyPI | idna | 3.18 | 间接 |
| PyPI | iniconfig | 2.3.0 | 间接 |
| PyPI | itk-python-v10-agent | 0.1.0 | 间接 |
| PyPI | jinja2 | 3.1.6 | 间接 |
| PyPI | mako | 1.3.12 | 间接 |
| PyPI | markupsafe | 3.0.3 | 间接 |
| PyPI | nodeenv | 1.10.0 | 间接 |
| PyPI | opentelemetry-api | 1.42.1 | 间接 |
| PyPI | opentelemetry-sdk | 1.42.1 | 间接 |
| PyPI | opentelemetry-semantic-conventions | 0.63b1 | 间接 |
| PyPI | outcome | 1.3.0.post0 | 间接 |
| PyPI | pathspec | 1.0.4 | 间接 |
| PyPI | platformdirs | 4.9.4 | 间接 |
| PyPI | pluggy | 1.6.0 | 间接 |
| PyPI | pre-commit | 4.6.0 | 间接 |
| PyPI | proto-plus | 1.27.1 | 间接 |
| PyPI | proto-plus | 1.28.2 | 间接 |
| PyPI | pyasn1 | 0.6.4 | 间接 |
| PyPI | pyasn1-modules | 0.4.2 | 间接 |
| PyPI | pycparser | 3.0 | 间接 |
| PyPI | pydantic-core | 2.46.4 | 间接 |
| PyPI | pygments | 2.20.0 | 间接 |
| PyPI | pyjwt | 2.13.0 | 间接 |
| PyPI | pymysql | 1.1.2 | 间接 |
| PyPI | pytest | 9.0.3 | 间接 |
| PyPI | pytest-asyncio | 1.4.0 | 间接 |
| PyPI | pytest-cov | 7.1.0 | 间接 |
| PyPI | pytest-mock | 3.15.1 | 间接 |
| PyPI | pytest-timeout | 2.4.0 | 间接 |
| PyPI | pytest-xdist | 3.8.0 | 间接 |
| PyPI | python-discovery | 1.2.0 | 间接 |
| PyPI | pyyaml | 6.0.3 | 间接 |
| PyPI | requests | 2.33.0 | 间接 |
| PyPI | requests | 2.34.2 | 间接 |
| PyPI | respx | 0.23.1 | 间接 |
| PyPI | rfc8785 | 0.1.4 | 间接 |
| PyPI | ruff | 0.15.16 | 间接 |
| PyPI | setuptools | 83.0.0 | 间接 |
| PyPI | sniffio | 1.3.1 | 间接 |
| PyPI | sortedcontainers | 2.4.0 | 间接 |
| PyPI | sqlalchemy | 2.0.48 | 间接 |
| PyPI | sqlalchemy | 2.0.51 | 间接 |
| PyPI | starlette | 1.2.1 | 间接 |
| PyPI | starlette | 1.3.1 | 间接 |
| PyPI | tomli | 2.4.0 | 间接 |
| PyPI | tomlkit | 0.14.0 | 间接 |
| PyPI | trio | 0.33.0 | 间接 |
| PyPI | trove-classifiers | 2026.1.14.14 | 间接 |
| PyPI | ty | 0.0.44 | 间接 |
| PyPI | types-protobuf | 6.32.1.20260221 | 间接 |
| PyPI | types-requests | 2.33.0.20260518 | 间接 |
| PyPI | typing-extensions | 4.15.0 | 间接 |
| PyPI | typing-extensions | 4.16.0 | 间接 |
| PyPI | typing-inspection | 0.4.2 | 间接 |
| PyPI | urllib3 | 2.7.0 | 间接 |
| PyPI | uv-dynamic-versioning | 0.14.0 | 间接 |
| PyPI | virtualenv | 21.2.0 | 间接 |
| PyPI | wrapt | 2.1.2 | 间接 |
| PyPI | wrapt | 2.3.0 | 间接 |
该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 123 个包,其中也包含从不交付的开发与测试版本固定:5 个存在已知公告,0 个为直接依赖。 有 9 个无法评估——没有已解析的版本、生态系统不受支持,或不在所列包清单之内。
| 软件包 | 版本 | 关系 | 严重程度 | 公告数 | 修复版本 |
|---|---|---|---|---|---|
| anyio | 4.12.1 | 间接 | 严重 | 2 | 4.14.2 |
| click | 8.3.1 | 间接 | 高 | 1 | 8.3.3 |
| cryptography | 48.0.1 | 间接 | 高 | 6 | 50.0.0 |
| starlette | 1.2.1 | 间接 | 高 | 4 | 1.3.1 |
| cryptography | 49.0.0 | 间接 | 中 | 2 | 50.0.0 |
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。