Skip to main content

CRC-LNM Medical Agent 1.0.18

面向 ModelScope 托管 STDIO 的完整懒加载纯 NumPy 单模型版本。一个 console script、一个进程内注册六个医学工具;initialize 和 tools/list 不读取模型参数或展开病例。第一次 crc_lnm_predict_multimodal 调用校验并加载唯一的 seed_2024 NumPy runtime asset,后续预测复用同一实例。默认安装不依赖 PyTorch、NVIDIA 或 CUDA 包。

更新说明 (v1.0.18)

  • 修复魔搭部署失败:魔搭/uvx 要求包名与 console script 同名才能通过 uvx <包名> 启动;已将 console script 从 crc-lnm-medical-agent 改为 crc-lnm-medical-agent-hosted,与包名一致
  • 配置改为无版本号:魔搭对 uvx <包名>@版本 形式无法识别,modelscope-mcp.json 与 README 配置统一使用不带版本号的 crc-lnm-medical-agent-hosted(新包唯一版本 1.0.18)
  • 版本升级到 1.0.18:PyPI 上 1.0.17 已存在(旧 console script),需重新发布 1.0.18
  • 新 PyPI 包名:crc-lnm-medical-agent-hosted,最新版本 1.0.18

功能列表

工具 功能说明
crc_lnm_get_model_info 获取 CRC-LNM 单模型部署的元数据信息,包括模型 ID、版本、阈值、训练参数等
crc_lnm_case_data_qc 对结直肠癌病例数据进行质量控制检查,验证临床信息、CT 影像特征和病理特征的完整性和一致性
crc_lnm_prepare_ct_features 准备结直肠癌病例的 CT 影像特征,提取并验证 1409 维 CT 特征向量
crc_lnm_prepare_pathology_features 准备结直肠癌病例的病理特征,提取并验证 768 维病理特征向量
crc_lnm_predict_multimodal 基于 CT 影像特征、病理特征和临床信息进行结直肠癌淋巴结转移预测
crc_lnm_generate_report 生成基于质控结果和预测结果的综合研究报告

ModelScope 正式配置

{
  "mcpServers": {
    "crc-lnm-medical-agent-hosted": {
      "command": "uvx",
      "args": [
        "crc-lnm-medical-agent-hosted"
      ]
    }
  }
}

ModelScope 中选择托管部署和 STDIO;command 填 uvx,args 只填上面一个纯包名参数(不带版本号)。不要增加 URL、host、port、transport 参数或环境变量。

本地验收

powershell -ExecutionPolicy Bypass -File scripts/release_verify_full.ps1

六工具为模型信息、病例质控、CT 特征准备、病理特征准备、单模型预测和报告生成。内置病例仅为合成演示资源;本包只用于科研辅助,不构成诊断,所有输出均需专家复核。

Metadata

Release files for crc-lnm-medical-agent-hosted 1.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crc-lnm-medical-agent-hosted 1.0.18
File Size Uploaded
crc_lnm_medical_agent_hosted-1.0.18.tar.gz 2.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for crc-lnm-medical-agent-hosted 1.0.18
File Interpreter ABI Platform
crc_lnm_medical_agent_hosted-1.0.18-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 MB

Release files / crc_lnm_medical_agent_hosted-1.0.18.tar.gz

Download URL crc_lnm_medical_agent_hosted-1.0.18.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
fbe5c1bd5721d71c1b60dc16865ef7071a9e075e232014d83d4f1628fd369a59
BLAKE2b-256 checksum
How to use checksums
a846336c3c80299ddf4159e53f81490191228dd1d9930a4e95102f2dc609d60e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / crc_lnm_medical_agent_hosted-1.0.18-py3-none-any.whl

Download URL crc_lnm_medical_agent_hosted-1.0.18-py3-none-any.whl
Size 2.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f8b447ebac1c9803849d39f5937af17628a5d6fa3bcacd3fe5b199c6cf8ab486
BLAKE2b-256 checksum
How to use checksums
972610430ccf13eef50bb31ac482185ac0242e3f6641ef3b2201eedfee937699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.0.18 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page