Sandhi — the metering layer for AI agents. An open-source AI usage gateway: meter, attribute, and budget every model call across shared keys.
anvai-labs/sandhi 的健康指数为 100 分中的 63 分,处于「中等」区间。 其得分最高的类别是Engineering Quality(77/100),最低的是Sustainability & Governance(44/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 59 经校准后在公布的指数量表上为 63(记录校准 2026-08-02)。
| 注册表 | 软件包 | 版本 | 月下载量 | 版本数 | 最近发布 | 标签 |
|---|---|---|---|---|---|---|
| crates.io | sandhi-core | 0.1.4 | 2,134 | 4 | 6 天前 | — |
| PyPI | sandhi-gateway | 0.1.4 | 6,032 | 5 | 6 天前 | llmgatewayusagemeteringattributionai |
| crates.io | sandhi-proxy | 0.1.4 | 18 | 4 | 6 天前 | — |
| crates.io | sandhi-store | 0.1.4 | 25 | 4 | 6 天前 | — |
| crates.io | sandhi-providers | 0.1.4 | 24 | 4 | 6 天前 | — |
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
| 36/36 | 推送新近度 — 最近一次推送于 0 天前 |
| 1.4/36 | 提交节奏 — 52 周中有 2 周有提交 |
| 18/18 | 提交量 — 最近一年 142 次提交 |
| 0/10 | OpenSSF Scorecard:Maintained — project was created within the last 90 days. Please review its contents carefully |
| commits_last_year | 142 |
| human_commit_share | 0.98 |
| days_since_last_push | 0 |
| active_weeks_last_year | 2 |
| 27/27 | 有发布版本 — 已发布 5 个发布版本 |
| 36/36 | 发布时效 — 最近一次发布版本于 6 天前 |
| 27/27 | 发布节奏 — 约每 1.6 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases. |
| releases_count | 5 |
| latest_release_tag | v0.1.4 |
| releases_from_tags | 否 |
| days_since_latest_release | 6 |
| mean_days_between_releases | 1.6 |
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
| 0/60 | 星标 — 0 个星标 |
| 0/25 | 复刻 — 0 个复刻 |
| 0/15 | 关注者 — 0 位关注者 |
| forks | 0 |
| stars | 0 |
| watchers | 0 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 22.5/22.5 | README |
| 16.9/22.5 | 许可证 — 存在许可证文件,但不是可识别的许可证 |
| 18/18 | CONTRIBUTING 指南 |
| 13.5/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 6.3/6.3 | PR 模板 |
| has_readme | 是 |
| has_license | 是 |
| readme_badges | — |
| has_contributing | 是 |
| has_issue_template | 否 |
| has_code_of_conduct | 是 |
| readme_badge_services | — |
| has_pull_request_template | 是 |
| 52.2/80 | 月度下载量 — crates, pypi 合计每月 8,233 次下载 |
| 0/20 | 注册表被依赖数 — 该生态系统不报告此项 |
| packages | sandhi-core, sandhi-gateway, sandhi-proxy, sandhi-store, sandhi-providers |
| dependents | — |
| ecosystems | crates, pypi |
| total_downloads | 6,607 |
| monthly_downloads | 8,233 |
| unverified_packages_excluded | — |
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
| 9/54 | 巴士系数 — 1 位贡献者贡献了半数提交 |
| 0/22.5 | 提交分布 — 头号贡献者编写了 100% 的提交 |
| 1.4/13.5 | 贡献者广度 — 1 位贡献者 |
| 0/10 | OpenSSF Scorecard:Contributors — project has 0 contributing companies or organizations -- score normalized to 0 |
| bus_factor | 1 |
| contributors_sampled | 1 |
| top_contributor_share | 1 |
| 0/42 | 议题解决 — 0% 的议题已关闭 |
| 27/30 | PR 接受 — 已裁定的 PR 中 126/140 已合并 |
| 0/13 | Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决 |
| 0/15 | OpenSSF Scorecard:Code-Review — Found 0/28 approved changesets -- score normalized to 0 |
| merged_prs | 126 |
| open_issues | 1 |
| closed_issues | 0 |
| prs_merged_7d | — |
| prs_decided_7d | — |
| prs_merged_30d | — |
| prs_decided_30d | — |
| issue_closed_ratio | 0 |
| closed_unmerged_prs | 14 |
| first_time_authors_30d | — |
| first_time_prs_merged_30d | — |
| first_time_prs_decided_30d | — |
| 30/30 | 所有权背书 — 组织持有 |
| 0/20 | 已验证域名 — 未读取该组织的域名验证状态 |
| 2.2/25 | 所有者影响力 — anvai-labs 有 1 位关注者 |
| 9.4/25 | 既往记录 — 18 个公开仓库,账户约 0 年 |
| followers | 1 |
| owner_type | Organization |
| is_verified | — |
| owner_login | anvai-labs |
| public_repos | 18 |
| account_age_days | 16 |
| 25/25 | 已发布且可解析 — crates, pypi 上有 5 个软件包 |
| 35/35 | 发布时效 — 最近一次发布于 6 天前 |
| 20/20 | 版本历史 — 5 个已发布版本 |
| 20/20 | 未被弃用 — 活跃,未被弃用或撤回 |
| packages | sandhi-core, sandhi-gateway, sandhi-proxy, sandhi-store, sandhi-providers |
| ecosystems | crates, pypi |
| any_deprecated | 否 |
| min_days_since_publish | 6 |
基础的工程与文档实践是否到位?
| 24/24 | CI 工作流 — 3 个工作流 |
| 24/24 | 存在测试 |
| 0/16 | Linter 配置 |
| 0/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://github.com/anvai-labs/sandhi |
| 10/10 | 仓库描述 |
| 10/10 | 主题标签 — 7 个主题标签 |
| 0/10 | Wiki |
| topics | ai-gateway, litellm-alternative, llm, metering, open-core, rust, usage-tracking |
| has_wiki | 否 |
| homepage | https://github.com/anvai-labs/sandhi |
| docs_site | https://github.com/anvai-labs/sandhi |
| 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 |
| 0/7.5 | Code-Review — Found 0/28 approved changesets -- score normalized to 0 |
| 0/2.5 | Contributors — project has 0 contributing companies or organizations -- score normalized to 0 |
| 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.2/2.5 | 许可证 — license file detected |
| 0/7.5 | Maintained — project was created within the last 90 days. Please review its contents carefully |
| 5/5 | Packaging — packaging workflow detected |
| 0/5 | Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0 |
| 0/5 | SAST — SAST tool is not run on all commits -- score normalized to 0 |
| 5/5 | Security-Policy — security policy file detected |
| 0/7.5 | Signed-Releases — Project has not signed or included provenance with any releases. |
| 0/7.5 | Token-Permissions — detected GitHub workflow tokens with excessive permissions |
| 5.2/7.5 | Vulnerabilities — 3 existing vulnerabilities detected |
| source | openssf_scorecard |
| checks_evaluated | 17 |
| scorecard_version | v5.5.0 |
| checks_inconclusive | 1 |
| scorecard_aggregate | 4.6 |
| 26.6/35 | 直接依赖不含已知公告 — 1 个受影响:time 0.3.15 (moderate) |
| 25/25 | 间接依赖不含已知公告 — 没有间接依赖携带已知公告 |
| 37.2/40 | 没有长期未处理的公告 — 1 个携带公告的软件包超过 90 天未处理;最早一条发布于 177 天前 |
| source | osv |
| advisories | 2 |
| affected_packages | 1 |
| assessed_packages | 17 |
| unassessed_packages | 0 |
| affected_by_severity | moderate 1 |
| direct_affected_packages | 1 |
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
| 45/45 | 代理指令 — CLAUDE.md |
| 0/15 | 机器可读文档(llms.txt) |
| 40/40 | 可读的提交历史 — 98 次人类提交中有 97 次说明了意图(结构化标题或解释性正文) |
| has_llms_txt | 否 |
| llms_txt_url | — |
| legible_history_share | 0.99 |
| agent_instruction_files | CLAUDE.md |
| agent_instruction_max_bytes | 9,288 |
| 12.6/18 | 一条命令的引导启动 — Cargo.toml, bindings/node/Cargo.toml, bindings/python/Cargo.toml(工具链约定,无任务运行器) |
| 22/22 | 自动化测试 |
| 0/11 | Lint / 格式化配置 |
| 11/11 | 静态类型检查 — Rust(静态类型) |
| 10/10 | 可复现环境 — lockfile |
| 0/10 | 已体现的代理实践 — 最近 100 次提交中没有代理编写的提交 |
| 8/8 | 自动化维护 — 最近 100 次提交中有 2 次为自动依赖更新 |
| 0/10 | OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0 |
| has_nix | 否 |
| has_tests | 是 |
| lockfiles | Cargo.lock, package-lock.json |
| has_dockerfile | 否 |
| typed_language | 是 |
| bootstrap_files | — |
| has_devcontainer | 否 |
| has_linter_config | 否 |
| typecheck_configs | — |
| agent_commit_share | 0 |
| toolchain_manifests | Cargo.toml, bindings/node/Cargo.toml, bindings/python/Cargo.toml, crates/sandhi-core/Cargo.toml, crates/sandhi-providers/Cargo.toml, crates/sandhi-proxy/Cargo.toml, crates/sandhi-store/Cargo.toml |
| dependency_bot_commit_share | 0.02 |
| 45/45 | 可类型检查的代码 — Rust(静态类型) |
| 51.7/55 | 可控的文件大小 — 采样的 67 个源文件中有 4 个超过 60KB |
| primary_language | Rust |
| largest_source_bytes | 92,976 |
| source_files_sampled | 67 |
| oversized_source_files | 4 |
| 0/40 | API 模式(OpenAPI/GraphQL/proto) |
| 0/20 | MCP 服务器 |
| 40/40 | 可运行示例 — examples |
| example_dirs | examples |
| has_mcp_signal | 否 |
| api_schema_files | — |
| interfaces_expected_of | network-service |
来自开源项目 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 |
| 0 | Code-Review | Found 0/28 approved changesets -- score normalized to 0 |
| 0 | Contributors | project has 0 contributing companies or organizations -- score normalized to 0 |
| 10 | Dangerous-Workflow | no dangerous workflow patterns detected |
| 10 | Dependency-Update-Tool | update tool detected |
| 0 | Fuzzing | project is not fuzzed |
| 9 | License | license file detected |
| 0 | Maintained | project was created within the last 90 days. Please review its contents carefully |
| 10 | Packaging | packaging workflow detected |
| 0 | Pinned-Dependencies | dependency not pinned by hash detected -- score normalized to 0 |
| 0 | SAST | SAST tool is not run on all commits -- score normalized to 0 |
| 10 | Security-Policy | security policy file detected |
| 0 | Signed-Releases | Project has not signed or included provenance with any releases. |
| 0 | Token-Permissions | detected GitHub workflow tokens with excessive permissions |
| 7 | Vulnerabilities | 3 existing vulnerabilities detected |
| 注册表 | 软件包 | 版本约束 | 清单文件 |
|---|---|---|---|
| crates.io | napi | 2 | bindings/node/Cargo.toml |
| crates.io | napi-derive | 2 | bindings/node/Cargo.toml |
| crates.io | sandhi-core | — | bindings/node/Cargo.toml |
| crates.io | serde_json | 1 | bindings/node/Cargo.toml |
| crates.io | reqwest | 0.12 | bindings/node/Cargo.toml |
| crates.io | time | 0.3 | bindings/node/Cargo.toml |
| crates.io | sandhi-providers | — | bindings/node/Cargo.toml |
| crates.io | tokio | 1 | bindings/node/Cargo.toml |
| crates.io | futures-util | 0.3 | bindings/node/Cargo.toml |
| crates.io | pyo3 | 0.22 | bindings/python/Cargo.toml |
| crates.io | sandhi-core | — | bindings/python/Cargo.toml |
| crates.io | serde_json | 1 | bindings/python/Cargo.toml |
| crates.io | time | 0.3 | bindings/python/Cargo.toml |
| crates.io | sandhi-providers | — | bindings/python/Cargo.toml |
| crates.io | tokio | 1 | bindings/python/Cargo.toml |
| crates.io | pyo3-async-runtimes | 0.22 | bindings/python/Cargo.toml |
| crates.io | futures-util | 0.3 | bindings/python/Cargo.toml |
| crates.io | reqwest | 0.12 | bindings/python/Cargo.toml |
| crates.io | tracing | 0.1 | crates/sandhi-core/Cargo.toml |
| crates.io | schemars | 0.8 | crates/sandhi-core/Cargo.toml |
| crates.io | serde | 1 | crates/sandhi-core/Cargo.toml |
| crates.io | serde_json | 1 | crates/sandhi-core/Cargo.toml |
| crates.io | time | 0.3 | crates/sandhi-core/Cargo.toml |
| crates.io | tracing | 0.1 | crates/sandhi-providers/Cargo.toml |
| crates.io | sandhi-core | 0.1.2 | crates/sandhi-providers/Cargo.toml |
| crates.io | time | 0.3 | crates/sandhi-providers/Cargo.toml |
| crates.io | async-trait | 0.1 | crates/sandhi-providers/Cargo.toml |
| crates.io | serde | 1 | crates/sandhi-providers/Cargo.toml |
| crates.io | serde_json | 1 | crates/sandhi-providers/Cargo.toml |
| crates.io | reqwest | 0.12 | crates/sandhi-providers/Cargo.toml |
| crates.io | futures-core | 0.3 | crates/sandhi-providers/Cargo.toml |
| crates.io | futures-util | 0.3 | crates/sandhi-providers/Cargo.toml |
| crates.io | async-stream | 0.3 | crates/sandhi-providers/Cargo.toml |
| crates.io | bytes | 1 | crates/sandhi-providers/Cargo.toml |
| crates.io | tokio | 1 | crates/sandhi-providers/Cargo.toml |
| crates.io | tracing | 0.1 | crates/sandhi-proxy/Cargo.toml |
| crates.io | tracing-subscriber | 0.3 | crates/sandhi-proxy/Cargo.toml |
| crates.io | sandhi-core | 0.1.2 | crates/sandhi-proxy/Cargo.toml |
| crates.io | sandhi-providers | 0.1.2 | crates/sandhi-proxy/Cargo.toml |
| crates.io | sandhi-store | 0.1.2 | crates/sandhi-proxy/Cargo.toml |
| crates.io | tokio | 1 | crates/sandhi-proxy/Cargo.toml |
| crates.io | axum | 0.7 | crates/sandhi-proxy/Cargo.toml |
| crates.io | futures-util | 0.3 | crates/sandhi-proxy/Cargo.toml |
| crates.io | async-stream | 0.3 | crates/sandhi-proxy/Cargo.toml |
| crates.io | bytes | 1 | crates/sandhi-proxy/Cargo.toml |
| crates.io | serde | 1 | crates/sandhi-proxy/Cargo.toml |
| crates.io | serde_json | 1 | crates/sandhi-proxy/Cargo.toml |
| crates.io | time | 0.3 | crates/sandhi-proxy/Cargo.toml |
| crates.io | clap | 4 | crates/sandhi-proxy/Cargo.toml |
| crates.io | reqwest | 0.12 | crates/sandhi-proxy/Cargo.toml |
| crates.io | tracing | 0.1 | crates/sandhi-store/Cargo.toml |
| crates.io | sandhi-core | 0.1.2 | crates/sandhi-store/Cargo.toml |
| crates.io | rusqlite | 0.32 | crates/sandhi-store/Cargo.toml |
| crates.io | serde | 1 | crates/sandhi-store/Cargo.toml |
| crates.io | serde_json | 1 | crates/sandhi-store/Cargo.toml |
| crates.io | sha2 | 0.10 | crates/sandhi-store/Cargo.toml |
| crates.io | time | 0.3 | crates/sandhi-store/Cargo.toml |
| crates.io | getrandom | 0.2 | crates/sandhi-store/Cargo.toml |
| crates.io | keyring | 3 | crates/sandhi-store/Cargo.toml |
本报告未能采集到解析后的依赖集合:GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository
安装 crates:sandhi-core@0.1.4 会引入 17 个包(直接与传递):其中 1 个存在已知公告,1 个为直接依赖。
| 软件包 | 版本 | 关系 | 严重程度 | 公告数 | 修复版本 |
|---|---|---|---|---|---|
| time | 0.3.15 | 直接 | 中 | 2 | 0.3.47 |
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。