arXiv:2610.32151cs.CLOct 2026

Manuscript Offprint

arXiv:2610.32151

The LLENS Platform for On-Premises Large Language Model Agents in a Japanese University Hospital: Development and Evaluation Study

Ken Enda, Jien Saito, Masami Mukai, Feng Han, Emir Turkes, Tatsumi Kusakabe, Reona Umeki, Kazuhiro Sumiyoshi, Mitsuya Numata, Takumi Tanikawa, Akira Endoh, Kenji Hirata, Atsushi Yoshida, Kohsuke Kudo, Shinya Tanaka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ken Enda1,2,3^{1,2,3}, Jien Saito4^{4}, Masami Mukai1^{1}, Feng Han1^{1}, Emir Turkes1,5^{1,5}, Tatsumi Kusakabe6^{6}, Reona Umeki6^{6}, Kazuhiro Sumiyoshi6^{6}, Mitsuya Numata6^{6}, Takumi Tanikawa6^{6}, Akira Endoh6^{6}, Kenji Hirata5,7^{5,7}, Atsushi Yoshida1,5^{1,5}, Kohsuke Kudo1,5^{1,5}, Shinya Tanaka1,2,8^{1,2,8}

  1. Division of AI Support for Medical Research, Faculty of Medicine, Hokkaido University, Sapporo, Japan

  2. Department of Cancer Pathology, Faculty of Medicine, Hokkaido University, Sapporo, Japan

  3. Technoplasm Inc., Sapporo, Japan

  4. Department of Cardiovascular Surgery, Graduate School of Medicine, Hokkaido University, Sapporo, Japan

  5. Department of Diagnostic Imaging, Faculty of Medicine, Hokkaido University, Sapporo, Japan

  6. Division of Medical Information Planning, Hokkaido University Hospital, Sapporo, Japan

  7. Department of Nuclear Medicine, Faculty of Medicine, Kanazawa University, Kanazawa, Japan

  8. Institute for Chemical Reaction Design and Discovery (WPI-ICReDD), Hokkaido University, Sapporo, Japan

Corresponding author: Ken Enda, Division of AI Support for Medical Research, Faculty of Medicine, Hokkaido University, Kita 15, Nishi 7, Kita-ku, Sapporo 060-8638, Japan. Phone: +81-11-706-5352. Email: kenda@med.hokudai.ac.jp

ORCID iDs: Ken Enda, 0000-0002-4398-3292; Jien Saito, 0000-0003-2484-258X; Masami Mukai, 0000-0001-6315-6078; Feng Han, 0000-0002-6664-0516; Emir Turkes, 0000-0002-7447-1476; Takumi Tanikawa, 0000-0002-5067-4818; Kenji Hirata, 0000-0003-0036-8975; Atsushi Yoshida, 0000-0001-5336-9985; Kohsuke Kudo, 0000-0001-5351-9242; Shinya Tanaka, 0000-0001-6470-3301.

Abstract

Background: Large language model agents that use tools could take on part of the electronic health record and desk work that occupies much of physicians' time. In many hospitals, however, medical information systems, including the electronic health record, are on-premises and run inside closed networks, so the model and the agent harness, which reads materials, computes, and returns artifacts, must also sit inside.

Objective: We designed, implemented, and deployed LLENS (Large Language Enhanced Nexus System), a clinical support artificial intelligence agent platform that runs inside the closed network of Hokkaido University Hospital, and report its technical feasibility: model selection and serving, question answering over hospital documents, and the harness components and the scenarios built from them.

Methods: LLENS runs on one host with 8 NVIDIA H200 graphics processing units, the open-weight model Kimi K2.6 (~1 trillion parameters), and a web application (Nuclei) rebuilt from Open WebUI. The agent harness has 10 components, including page image reading, full-text attachment input, a path-addressed document tree without a vector index, a network-isolated sandbox, artifact return, self-checking of generated output, subagents, and saved procedures. The model was chosen from 3 candidates by Japanese medical benchmark scores, taking into account image input, context length, and key-value cache capacity for concurrency, and serving was measured at 4-16 concurrent requests. For hospital-document access, the model answered 180 Japanese questions written by the development team (3 seeds each) with no documents, fixed retrieval (top 10 chunks of one lexical search using the question), or interactive access (the model reading with document tools and sandbox), graded automatically.

Results: Kimi K2.6 scored 480/500 on the 2026 Japanese Medical Licensing Examination. For one user, it generated 119 tokens/s with thinking and 129 without, and served 16 concurrent requests at 908 tokens/s in total. Mean accuracy was 10.7% with no documents, 81.3% with fixed retrieval, and 97.2% with interactive access, 15.9 percentage points above fixed retrieval (95% CI 10.9-21.3; P<.001). The difference lay in filtering/counting questions (fixed retrieval 16.7% vs interactive access 87.8%), while lookup questions exceeded 96% in both. Five scenarios with synthetic data ran on combinations of the components: needlestick injury response, batch adverse event grading, scanned referral letter transcription, falls data aggregation and plotting, and investigation of 3 topics by subagents. The platform has run on the hospital network since September 14, 2026.

Conclusions: With a trillion-parameter-class open-weight model and the harness, an agent on one host inside a closed hospital network carried out multistep work that combines searching hospital documents itself, computing, and returning artifacts. Next, the electronic health record and departmental systems will be connected so that the model reads patient records directly instead of exported files.

Keywords: large language model; AI agent; on-premises; closed network; hospital information system; code execution; document question answering; work efficiency

Introduction

A systematic review of studies in inpatient and outpatient settings found that physicians spend on average about 37% of their working time on the electronic health record [1], and an observational time study of physicians in Japanese hospitals found that writing medical records and other documents and entering orders took about one-fifth of their clinical working time [2]. If routine work around clinical judgment, such as writing summaries and registering data, could be handed to artificial intelligence (AI), physicians would have more time for patient care and research. Large language models (LLMs) that use tools are becoming able to carry out such work themselves as agents [3,4].

Doing this in a hospital, however, is subject to a major constraint: the handling of patient information [5]. In Japan, medical information systems, including the electronic health record, are mostly on-premises [6] and run inside closed medical information networks [7], and Hokkaido University Hospital is no exception. Processing of patient-derived data stays inside this closed network, so external cloud application programming interfaces (APIs) cannot be used. The mechanism that reads hospital materials and users' files, computes, and returns artifacts has to sit inside the closed network together with the model.

Hospital work also goes beyond “search documents and summarize them,” as in looking up hospital rules. It includes, for example, reading scanned forms, aggregating a list of laboratory values into a chart, preparing Word or Excel templates, reading and comparing several materials, and saving a procedure that worked so that it can be used next time. A chat screen and a search function alone cannot do this work. The work needs a mechanism that determines what goes into the model, which tools it is allowed to use, and what it is made to return. We call the set of components that make up this mechanism the agent harness. Each component is an existing technique, but in combination they can carry out work scenarios.

Most reports of running a model inside a hospital use a small model for a specific purpose [5,8,9]. Agents deployed in hospitals are also fixed to one use, such as drafting documents within the electronic health record [10,11]. A general-purpose in-hospital LLM for all staff has been reported [12], but we found no report of an agent with components that read materials, compute, and return artifacts, run inside a closed network as a general-purpose platform.

We designed and implemented LLENS (Large Language Enhanced Nexus System), a clinical support AI agent platform that carries a trillion-parameter-class open-weight model and the harness on a single host inside the closed network, and deployed it in Hokkaido University Hospital. LLENS was developed at the Faculty of Medicine, Hokkaido University, as the core of PRISM-HU (Strategic Promotion of Next-Generation AI-Enabled, Data-Driven, and Information-Circulating Medical Research through the Integrated Development of People, AI/DX, and Systems), a Hokkaido University project selected for a program of the Japan Agency for Medical Research and Development (AMED) in 2025 [13,14]. This paper shows that a general-purpose agent platform is technically feasible inside a closed network, and reports the design and deployment of the platform, model selection and serving performance, question answering over hospital documents compared with fixed retrieval, the correspondence between harness components and work scenarios, and 5 demonstrations on the deployment host. The connection to the electronic health record is being built, and the effects on users and on work will be evaluated alongside it (Discussion, “Next Steps”).