{
  "_id": "6af88bd6535793c85332e5d0",
  "Package": "dicomtk.ai",
  "Title": "AI Agents, MCP Tooling, and Clinical NLP for 'DICOM' Imaging",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Yee How\", \"Lau\", email = \"lauyeehow1986@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\")))",
  "Description": "Satellite Artificial Intelligence ('AI') and clinical\nnatural language processing toolkit for 'dicomtk'. Provides\n'ellmer'-based clinical imaging agents with unbypassable\nmonotonic de-identification guardrails, a Model Context\nProtocol ('MCP') server via 'mcptools', a pluggable REST and\noffline backend registry for segmentation models\n('TotalSegmentator' by Wasserthal et al. (2023)\n<doi:10.1148/ryai.230024>, 'nnU-Net', 'VISTA3D', and 'MedSAM2'\nby Ma et al. (2024) <doi:10.1038/s41467-024-44824-z>),\nIntegrating the Healthcare Enterprise AI Results ('IHE AIR')\nstandardized 'DICOM SEG' and 'TID 1500' outputs, radiology\nreport de-identification and weak-label extraction, 'RadLex'\nand 'LOINC-RSNA' protocol harmonisation, and 'DuckDB' vector\nsimilarity search.",
  "License": "GPL (>= 2)",
  "URL": "https://lauyeehow1986-hub.github.io/dicomtk.ai/,\nhttps://github.com/lauyeehow1986-hub/dicomtk.ai",
  "BugReports": "https://github.com/lauyeehow1986-hub/dicomtk.ai/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make libicu-dev libssl-dev zlib1g-dev",
  "Repository": "https://lauyeehow1986-hub.r-universe.dev",
  "Date/Publication": "2026-11-14 15:26:17 UTC",
  "RemoteUrl": "https://github.com/lauyeehow1986-hub/dicomtk.ai",
  "RemoteRef": "main",
  "RemoteSha": "bee54d8893066e26c656c28584e008778b96d055",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-14 15:53:59 UTC",
    "User": "root"
  },
  "Author": "Yee How Lau [aut, cre, cph]",
  "Maintainer": "Yee How Lau <lauyeehow1986@gmail.com>",
  "_user": "lauyeehow1986-hub",
  "_type": "src",
  "_file": "dicomtk.ai_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4a7ec1ee9ab7d2bcc6a60e70caf6e04a3eca1aef2d0652c1fae50bd715904804",
  "_filesize": 2128113,
  "_sha256": "4a7ec1ee9ab7d2bcc6a60e70caf6e04a3eca1aef2d0652c1fae50bd715904804",
  "_expires": "2027-02-22T16:27:00.000Z",
  "_created": "2026-11-14T15:53:59.000Z",
  "_published": "2026-11-14T16:27:02.697Z",
  "_upstream": "https://github.com/lauyeehow1986-hub/dicomtk.ai",
  "_status": "success",
  "_maintainer": {
    "name": "Yee How Lau",
    "email": "lauyeehow1986@gmail.com",
    "login": "lauyeehow1986-hub",
    "description": "",
    "uuid": 249935955
  },
  "_jobs": [
    {
      "job": 132500901415,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14120722612"
    },
    {
      "job": 132500901377,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14121415310"
    },
    {
      "job": 132500901298,
      "time": 1938,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14121584447"
    },
    {
      "job": 132500901288,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14120662710"
    },
    {
      "job": 132499823551,
      "time": 236,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14121090765"
    },
    {
      "job": 132500901294,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14121270593"
    },
    {
      "job": 132500901323,
      "time": 181,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14121051602"
    },
    {
      "job": 132500901341,
      "time": 245,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14121071577"
    },
    {
      "job": 132500901352,
      "time": 182,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14121210938"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896",
  "_commit": {
    "id": "bee54d8893066e26c656c28584e008778b96d055",
    "author": "lauyh <lauyeehow1986@gmail.com.sg>",
    "committer": "lauyh <lauyeehow1986@gmail.com.sg>",
    "message": "docs: add hex logo, favicons, Ecosystem navbar, and rebuilt pkgdown site\n",
    "time": 1794669977
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dicomtk",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "ellmer",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "mcptools",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tesseract",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "lauyeehow1986-hub",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 18
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 249935955,
    "type": "user",
    "name": "lauyeehow1986-hub",
    "followers": 3
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dicomtk.ai"
  },
  "_devurl": "https://github.com/lauyeehow1986-hub/dicomtk.ai",
  "_pkgdown": "https://lauyeehow1986-hub.github.io/dicomtk.ai/",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dicomtk.ai.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "ai_agent_approve",
    "ai_agent_dry_run",
    "ai_agent_execute",
    "ai_agent_plan",
    "ai_agent_verify",
    "ai_backend_health",
    "ai_chat",
    "ai_combat_harmonize",
    "ai_deid_report",
    "ai_embed",
    "ai_embedding_index",
    "ai_export_results",
    "ai_extract_labels",
    "ai_extract_radiomics",
    "ai_generate_maisi",
    "ai_harmonize_protocol",
    "ai_index_add",
    "ai_index_close",
    "ai_search_similar",
    "ai_segment",
    "as_ellmer_chat",
    "combat_apply",
    "combat_fit",
    "dicomtk_mcp_tools",
    "enforce_non_weakening_profile",
    "get_ai_backend",
    "ibsi_digital_phantom",
    "list_ai_backends",
    "register_ai_backend",
    "start_mcp_server"
  ],
  "_datasets": [
    {
      "name": "radlex_playbook",
      "title": "Curated LOINC-RSNA Radiology Playbook and RadLex Protocol Table",
      "object": "radlex_playbook",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "rpid",
        "long_common_name",
        "short_name",
        "modality",
        "body_region",
        "radlex_id",
        "contrast",
        "keywords"
      ],
      "rows": 46,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ai_agent_approve",
      "title": "Approve a Dry-Run Clinical Imaging Agent Plan",
      "topics": [
        "ai_agent_approve"
      ]
    },
    {
      "page": "ai_agent_dry_run",
      "title": "Dry-Run a Planned Clinical Imaging Agent Workflow",
      "topics": [
        "ai_agent_dry_run"
      ]
    },
    {
      "page": "ai_agent_execute",
      "title": "Execute an Approved Clinical Imaging Agent Plan",
      "topics": [
        "ai_agent_execute"
      ]
    },
    {
      "page": "ai_agent_plan",
      "title": "Plan a Guardrailed Clinical Imaging Agent Workflow",
      "topics": [
        "ai_agent_plan"
      ]
    },
    {
      "page": "ai_agent_verify",
      "title": "Verify Executed Clinical Imaging Agent Outputs",
      "topics": [
        "ai_agent_verify"
      ]
    },
    {
      "page": "ai_backend_health",
      "title": "Check Health of a Registered AI Backend",
      "topics": [
        "ai_backend_health"
      ]
    },
    {
      "page": "ai_chat",
      "title": "Configure an 'ellmer'-Backed Chat Session for 'dicomtk.ai'",
      "topics": [
        "ai_chat"
      ]
    },
    {
      "page": "ai_combat_harmonize",
      "title": "Fit and Apply Empirical Bayes ComBat Harmonisation",
      "topics": [
        "ai_combat_harmonize"
      ]
    },
    {
      "page": "ai_deid_report",
      "title": "De-Identify Free-Text Radiology Reports or Structured Reports",
      "topics": [
        "ai_deid_report"
      ]
    },
    {
      "page": "ai_embed",
      "title": "Extract a Normalized Study Embedding Vector",
      "topics": [
        "ai_embed"
      ]
    },
    {
      "page": "ai_embedding_index",
      "title": "Open or Initialize a DuckDB Study Embedding Index",
      "topics": [
        "ai_embedding_index"
      ]
    },
    {
      "page": "ai_export_results",
      "title": "Export AI Segmentation Results in IHE AIR Standardized DICOM Format",
      "topics": [
        "ai_export_results"
      ]
    },
    {
      "page": "ai_extract_labels",
      "title": "Extract Weak Clinical Labels From Radiology Report Text",
      "topics": [
        "ai_extract_labels"
      ]
    },
    {
      "page": "ai_extract_radiomics",
      "title": "Extract IBSI-Standardized 3D Radiomics Features",
      "topics": [
        "ai_extract_radiomics"
      ]
    },
    {
      "page": "ai_generate_maisi",
      "title": "Generate MONAI MAISI 3D Synthetic CT and Multi-Organ Label Masks",
      "topics": [
        "ai_generate_maisi"
      ]
    },
    {
      "page": "ai_harmonize_protocol",
      "title": "Harmonise Messy DICOM Series Descriptions to RadLex and LOINC-RSNA Playbook",
      "topics": [
        "ai_harmonize_protocol"
      ]
    },
    {
      "page": "ai_index_add",
      "title": "Add a Study Volume to a DuckDB Embedding Index",
      "topics": [
        "ai_index_add"
      ]
    },
    {
      "page": "ai_index_close",
      "title": "Close a DuckDB Study Embedding Index",
      "topics": [
        "ai_index_close"
      ]
    },
    {
      "page": "ai_search_similar",
      "title": "Retrieve Top-K Similar Studies From a DuckDB Embedding Index",
      "topics": [
        "ai_search_similar"
      ]
    },
    {
      "page": "ai_segment",
      "title": "Run Pluggable AI Segmentation With Uncertainty Estimation",
      "topics": [
        "ai_segment"
      ]
    },
    {
      "page": "as_ellmer_chat",
      "title": "Convert a Legacy 'dicomtk::dicom_llm' Object to 'dicom_ai_chat'",
      "topics": [
        "as_ellmer_chat"
      ]
    },
    {
      "page": "combat_apply",
      "title": "Apply Fitted ComBat Harmonisation Parameters Without Test-Set Leakage",
      "topics": [
        "combat_apply"
      ]
    },
    {
      "page": "combat_fit",
      "title": "Fit Train/Test-Safe Empirical Bayes ComBat Harmonisation Parameters",
      "topics": [
        "combat_fit"
      ]
    },
    {
      "page": "dicomtk_mcp_tools",
      "title": "Build 'ellmer' Tool Definitions for the 'dicomtk.ai' MCP Server",
      "topics": [
        "dicomtk_mcp_tools"
      ]
    },
    {
      "page": "enforce_non_weakening_profile",
      "title": "Enforce Non-Weakening Monotonic De-Identification Guardrail",
      "topics": [
        "enforce_non_weakening_profile"
      ]
    },
    {
      "page": "get_ai_backend",
      "title": "Retrieve a Registered AI Backend",
      "topics": [
        "get_ai_backend"
      ]
    },
    {
      "page": "ibsi_digital_phantom",
      "title": "Construct the Canonical IBSI Phase-1 Digital Phantom",
      "topics": [
        "ibsi_digital_phantom"
      ]
    },
    {
      "page": "list_ai_backends",
      "title": "List Registered AI Backends",
      "topics": [
        "list_ai_backends"
      ]
    },
    {
      "page": "radlex_playbook",
      "title": "Curated LOINC-RSNA Radiology Playbook and RadLex Protocol Table",
      "topics": [
        "radlex_playbook"
      ]
    },
    {
      "page": "register_ai_backend",
      "title": "Register a Pluggable AI Backend",
      "topics": [
        "register_ai_backend"
      ]
    },
    {
      "page": "start_mcp_server",
      "title": "Start the 'dicomtk.ai' Model Context Protocol (MCP) Server",
      "topics": [
        "start_mcp_server"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lauyeehow1986-hub/dicomtk.ai/raw/main/man/figures/logo.png",
  "_readme": "https://github.com/lauyeehow1986-hub/dicomtk.ai/raw/main/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "coro",
    "cpp11",
    "curl",
    "DBI",
    "dicomtk",
    "dplyr",
    "duckdb",
    "ellmer",
    "farver",
    "fastmap",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "httpuv",
    "httr2",
    "isoband",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "mcptools",
    "nanonext",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "processx",
    "promises",
    "ps",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "ai_agents_and_mcp.Rmd",
      "filename": "ai_agents_and_mcp.html",
      "title": "Clinical AI Agents, MCP Tooling, and Vector Search with dicomtk.ai",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "1. Guardrailed 5-Stage Agent Workflow",
        "2. Protocol Harmonisation & Weak-Label Extraction",
        "3. Cleanup"
      ],
      "created": "2026-11-14 02:20:12",
      "modified": "2026-11-14 02:20:12",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "dicomtk.ai",
  "_universes": [
    "lauyeehow1986-hub"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-14T15:56:02.000Z",
      "distro": "resolute",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/29f1828753395b44d91f6419d67fa96fcf6d823e9b4e0876a9e2195444f71119",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-14T15:56:15.000Z",
      "distro": "resolute",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/b3a57ad47210caa05080af5a9e55954be9677845cd75aa32cf432f8259caba4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-14T16:26:09.000Z",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/525c02fbab1edb9bea47249e39aaea18a08533423e80eb9f86fde1d9c06afe52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-14T15:55:46.000Z",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/d0e5603e2887bc20b45548ecacb08fc10c214f9aacf9a6637a3e06f87a7fd5c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-11-14T15:56:11.000Z",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/2f13253f8558f629b5c53e32924f5c1e635237b3cb6a91603509ae142fa8587d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-14T15:56:11.000Z",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/647a1663512f9144e65740a5510c127c3fc6f1a4d2a3d1838f13028b8b192920",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-14T15:57:03.000Z",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/70546a9bff0bbfb9f3b18b5f513b7fec32351b16cd615610200ec5a86a2d27ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-14T15:56:08.000Z",
      "commit": "bee54d8893066e26c656c28584e008778b96d055",
      "fileid": "https://r2.ropensci.org/1bbd22edb260214ed22f5e756a612a876cc55ba304c377c9955c95bdf05a002c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lauyeehow1986-hub/actions/runs/43612293896"
    }
  ]
}