公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-08-28 09:37 UTC

monocle2ai / monocle

Monocle is a framework for tracing GenAI app code. This repo contains implementation of Monocle for GenAI apps written in Python.

PythonApache-2.0★ 337 星标⑂ 58 复刻始于 2024年6月在 GitHub 上查看 ↗
类型命令行工具MCP 服务器插件如何判定

monocle2ai/monocle 的健康指数为 100 分中的 94 分,处于「卓越」区间。 其得分最高的类别是Vitality(100/100),最低的是AI Readiness(57/100)。 最近一次更新在今天。 近期的大部分工作由 2 位贡献者完成。

94
总分 / 100
卓越

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

94
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 80 经校准后在公布的指数量表上为 94(记录校准 2026-08-02)。

所有权

48 关注者7 个公开仓库始于 2024年6月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

注册表软件包版本月下载量版本数最近发布
PyPImonocle_mcp0.8.14615240 天前
PyPImonocle_apptrace0.8.1448,766520 天前
PyPImonocle_test_tools0.8.142,040280 天前

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

100卓越 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 0 天前
36/36提交节奏52 周中有 52 周有提交
18/18提交量最近一年 392 次提交
10/10OpenSSF Scorecard:Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year392
human_commit_share0.94
days_since_last_push0
active_weeks_last_year52

发布纪律

100卓越
评分方式
27/27有发布版本已发布 52 个发布版本
36/36发布时效最近一次发布版本于 0 天前
27/27发布节奏约每 8.9 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count52
latest_release_tagv0.8.14
releases_from_tags
days_since_latest_release0
mean_days_between_releases8.9
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

75良好 · 占总体的 17%
评分方式
41/60星标337 个星标
14.6/25复刻58 个复刻
2.7/15关注者4 位关注者
所用输入
forks58
stars337
watchers4
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

92优秀
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(Apache-2.0)
18/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
6.3/6.3PR 模板
所用输入
has_readme
has_license
readme_badges6
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesshields.io, www.bestpractices.dev
has_pull_request_template
评分方式
62.7/80月度下载量pypi 合计每月 50,806 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packagesmonocle_apptrace, monocle_test_tools
dependents
ecosystemspypi
total_downloads
monthly_downloads50,806
unverified_packages_excludedmonocle_mcp
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

71良好 · 占总体的 23%
评分方式
25.2/54巴士系数2 位贡献者贡献了半数提交
14.7/22.5提交分布头号贡献者编写了 34% 的提交
13.5/13.5贡献者广度33 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 4 contributing companies or organizations
所用输入
bus_factor2
contributors_sampled33
top_contributor_share0.345
评分方式
22/42议题解决52% 的议题已关闭
24.4/30PR 接受已裁定的 PR 中 533/654 已合并
13/13Newcomer PR acceptance30 天内首次贡献者的 PR 已合并 2/2
15/15OpenSSF Scorecard:Code-Reviewall changesets reviewed
所用输入
merged_prs533
open_issues40
closed_issues44
prs_merged_7d3
prs_decided_7d3
prs_merged_30d17
prs_decided_30d18
issue_closed_ratio0.524
closed_unmerged_prs121
first_time_authors_30d2
first_time_prs_merged_30d2
first_time_prs_decided_30d2
评分方式
30/30所有权背书组织持有
0/20已验证域名
12.2/25所有者影响力monocle2ai 有 48 位关注者
11/25既往记录7 个公开仓库,账户约 2 年
所用输入
followers48
owner_typeOrganization
is_verified
owner_loginmonocle2ai
public_repos7
account_age_days807
评分方式
25/25已发布且可解析pypi 上有 3 个软件包
35/35发布时效最近一次发布于 0 天前
20/20版本历史52 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packagesmonocle_mcp, monocle_apptrace, monocle_test_tools
ecosystemspypi
any_deprecated
min_days_since_publish0

工程质量

基础的工程与文档实践是否到位?

85优秀 · 占总体的 19%

工程实践

82优秀
评分方式
24/24CI 工作流10 个工作流
24/24存在测试
16/16Linter 配置.pylintrc, apptrace/pyproject.toml ([tool.pylint]), test_tools/pyproject.toml ([tool.ruff], [tool.black]), tox.ini
0/9.6Pre-commit 钩子
0/6.4.editorconfig
18/20OpenSSF Scorecard:CI-Tests28 out of 30 merged PRs checked by a CI test -- score normalized to 9
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

90优秀
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点http://monocle2ai.org
10/10仓库描述
10/10主题标签13 个主题标签
0/10Wiki
所用输入
topicsgenerative-ai, linux-foundation, llms, observability, oss, python, telemetry, tracing, llm-agent, llm-inference, opentelemetry, agentic-ai, multi-agent
has_wiki
homepagehttp://monocle2ai.org
docs_sitehttp://monocle2ai.org
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

69良好 · 占总体的 16%

安全态势

71良好
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protection无数据
2.2/2.5CI-Tests28 out of 30 merged PRs checked by a CI test -- score normalized to 9
1.8/2.5CII-Best-Practicesbadge detected: Silver
7.5/7.5Code-Reviewall changesets reviewed
2.5/2.5Contributorsproject has 4 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
4.5/5SASTSAST tool detected but not run on all commits
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate7.1
已排除计分(无数据或不适用):Branch-Protection, Signed-Releases。 其余权重已重新归一化。
评分方式
11.6/35直接依赖不含已知公告2 个受影响:click 8.2.1 (high 7.2), mcp 1.27.0 (high 7.6)
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
33.9/40没有长期未处理的公告1 个携带公告的软件包超过 90 天未处理;最早一条发布于 119 天前
所用输入
sourceosv
advisories41
affected_packages7
assessed_packages52
unassessed_packages42
affected_by_severitycritical 2, high 3, moderate 1, unknown 1
direct_affected_packages2
已排除计分(无数据或不适用):间接依赖不含已知公告。 其余权重已重新归一化。 已将 52 个已解析依赖与 OSV 比对。 有 42 项无法评估——没有已解析的版本、生态系统不受支持,或超出所报告的软件包清单。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

57中等 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
15/15机器可读文档(llms.txt)项目网站提供 llms.txt(https://docs.paygentic.io/llms.txt)
40/40可读的提交历史94 次人类提交中有 90 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
llms_txt_urlhttps://docs.paygentic.io/llms.txt
legible_history_share0.957
agent_instruction_files
agent_instruction_max_bytes
评分方式
0/18一条命令的引导启动
22/22自动化测试
11/11Lint / 格式化配置.pylintrc, apptrace/pyproject.toml ([tool.pylint]), test_tools/pyproject.toml ([tool.ruff], [tool.black]), tox.ini
0/11静态类型检查
0/10可复现环境
10/10已体现的代理实践最近 100 次提交中有 17 次由代理编写或署名代理
0/8自动化维护未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfiles
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0.17
toolchain_manifests
dependency_bot_commit_share0
评分方式
0/45可类型检查的代码Python,未配置类型检查
54.8/55可控的文件大小采样的 615 个源文件中有 2 个超过 60KB
所用输入
primary_languagePython
largest_source_bytes73,963
source_files_sampled615
oversized_source_files2
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)不适用于此类软件
20/20MCP 服务器
40/40可运行示例examples
所用输入
example_dirsexamples
has_mcp_signal
api_schema_files
interfaces_expected_of
已排除计分(无数据或不适用):API 模式(OpenAPI/GraphQL/proto)。 其余权重已重新归一化。

关键数据

337GitHub 星标
33贡献者
392最近 12 个月提交数
0距最近推送天数
52发布版本数
2巴士系数(bus factor)
40开放议题
PyPI软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • deps.dev does not index pypi:monocle_mcp@0.8.14; advisories assessed against the repository dependency graph instead

更多细节

Star 与 Fork 历史 0 ★ / 58 ⇿
0Star
58Fork
50发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

01020304050605432024-072025-082026-08
主版本 0次版本 8修订 30

每个点涵盖 2 天。

OpenSSF Scorecard 7.1 / 10
7.1综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-08-28 09:36 UTC

10Binary-Artifactsno binaries found in the repo
不适用Branch-Protectioninternal 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
9CI-Tests28 out of 30 merged PRs checked by a CI test -- score normalized to 9
7CII-Best-Practicesbadge detected: Silver
10Code-Reviewall changesets reviewed
10Contributorsproject has 4 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
9SASTSAST tool detected but not run on all commits
10Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 20
注册表软件包版本约束清单文件
PyPIrequestsapptrace/pyproject.toml
PyPIwrapt>=1.14.0apptrace/pyproject.toml
PyPIrfc3986>=2.0.0apptrace/pyproject.toml
PyPIopentelemetry-api>=1.20.0,<2.0.0apptrace/pyproject.toml
PyPIopentelemetry-sdk>=1.20.0,<2.0.0apptrace/pyproject.toml
PyPIopentelemetry-instrumentation>=0.41b0apptrace/pyproject.toml
PyPIopentelemetry-exporter-otlp-proto-http>=1.20.0,<2.0.0apptrace/pyproject.toml
PyPIpyyaml>=6.0.2apptrace/pyproject.toml
PyPIclick>=8.0.0mcp/pyproject.toml
PyPImonocle_apptrace>=0.5.0mcp/pyproject.toml
PyPImcp>=1.12.1mcp/pyproject.toml
PyPIpytest>=8.0.0test_tools/pyproject.toml
PyPIpytest-asyncio>=0.26.0test_tools/pyproject.toml
PyPIpydantic>=2.11.7test_tools/pyproject.toml
PyPIjsonschema>=4.0.0test_tools/pyproject.toml
PyPImonocle_apptrace>=0.5.0test_tools/pyproject.toml
PyPIbert-score>=0.3.0test_tools/pyproject.toml
PyPItransformers>=4.0.0test_tools/pyproject.toml
PyPIsentence-transformers>=3.3.0test_tools/pyproject.toml
PyPIGitPython==3.1.58test_tools/pyproject.toml
全部依赖 94

来自 GitHub 依赖图的完整解析依赖集合:21 个直接依赖与 73 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
PyPIbert-score直接
PyPIclick直接
PyPIclick8.2.1直接
PyPIgitpython3.1.58直接
PyPIjsonschema直接
PyPImcp直接
PyPImcp1.27.0直接
PyPImonocle-apptrace直接
PyPIopentelemetry-api直接
PyPIopentelemetry-exporter-otlp-proto-http直接
PyPIopentelemetry-instrumentation直接
PyPIopentelemetry-sdk直接
PyPIpydantic直接
PyPIpydantic2.11.7直接
PyPIpytest直接
PyPIpytest-asyncio直接
PyPIpyyaml直接
PyPIrfc3986直接
PyPIsentence-transformers直接
PyPItransformers直接
PyPIwrapt直接
PyPIa2a-sdk0.2.8间接
PyPIa2a-sdk0.3.6间接
PyPIagent-framework-core1.5.0间接
PyPIanthropic间接
PyPIanthropic-haystack4.6.0间接
PyPIazure-functions1.24.0间接
PyPIazure-storage-blob12.22.0间接
PyPIbedrock-agentcore1.6.1间接
PyPIblack间接
PyPIboto31.42.86间接
PyPIchromadb间接
PyPIcrewai0.95.0间接
PyPIdatasets4.3.0间接
PyPIfaiss-cpu1.8.0间接
PyPIfastapi0.135.3间接
PyPIfastmcp2.14.1间接
PyPIflake8间接
PyPIgoogle-adk间接
PyPIgoogle-cloud-storage2.18.0间接
PyPIgoogle-generativeai间接
PyPIhaystack-ai3.0.0间接
PyPIhttpx间接
PyPIhttpx0.28.1间接
PyPIhuggingface-hub0.35.3间接
PyPIinstructorembedding1.0.1间接
PyPIlangchain1.2.15间接
PyPIlangchain-anthropic间接
PyPIlangchain-aws间接
PyPIlangchain-chroma间接
PyPIlangchain-community间接
PyPIlangchain-google-genai间接
PyPIlangchain-mcp-adapters0.2.1间接
PyPIlangchain-mistralai间接
PyPIlangchain-openai间接
PyPIlangchainhub0.1.21间接
PyPIlanggraph间接
PyPIlanggraph1.1.5间接
PyPIlanggraph-supervisor0.0.31间接
PyPIlitellm1.77.5间接
PyPIllama-index间接
PyPIllama-index0.13.0间接
PyPIllama-index-embeddings-huggingface0.6.0间接
PyPIllama-index-llms-anthropic0.8.1间接
PyPIllama-index-llms-azure-openai0.4.0间接
PyPIllama-index-llms-gemini0.6.0间接
PyPIllama-index-llms-mistralai0.7.0间接
PyPIllama-index-llms-openai0.5.0间接
PyPIllama-index-tools-mcp0.3.0间接
PyPIllama-index-vector-stores-chroma0.5.0间接
PyPIllama-index-vector-stores-opensearch1.1.1间接
PyPImistral-haystack0.0.2间接
PyPImistralai间接
PyPImistralai1.9.9间接
PyPImypy间接
PyPInumpy1.26.4间接
PyPIopenai-agents间接
PyPIopendal0.45.14间接
PyPIopensearch-haystack8.2.0间接
PyPIopentelemetry-semantic-conventions0.60b1间接
PyPIopentelemetry-semantic-conventions-ai0.4.13间接
PyPIparameterized0.9.0间接
PyPIpre-commit间接
PyPIpresidio-analyzer间接
PyPIpresidio-anonymizer间接
PyPIpytest-cov间接
PyPIpython-dotenv间接
PyPIrequests-aws4auth1.2.3间接
PyPIsentence-transformers-haystack0.1.1间接
PyPIstrands-agents1.11.0间接
PyPIstrands-agents-tools0.2.10间接
PyPItypes-requests2.31.0.20240106间接
PyPIuvicorn间接
PyPIuvicorn0.44.0间接
依赖安全公告 7

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 52 个包,其中也包含从不交付的开发与测试版本固定:7 个存在已知公告,2 个为直接依赖。 有 42 个无法评估——没有已解析的版本、生态系统不受支持,或不在所列包清单之内。

软件包版本关系严重程度公告数修复版本
fastmcp2.14.1间接严重83.2.0
litellm1.77.5间接严重211.84.0
click8.2.1直接18.3.3
mcp1.27.0直接61.28.1
bedrock-agentcore1.6.1间接21.18.1
langchain1.2.15间接21.4.6
datasets4.3.0间接未知15.0.1

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.34.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计PyPI.