面向严肃医学研究与高可靠智能体协作的契约受控工作台与操作系统运行时
Official Website • Technical Blog • Clinical Workstation • Repositories • Research & Monographs • Free Clinical Tools • 中文概览
Heurion builds contract-guarded AI infrastructure for high-stakes scientific discovery and autonomous software engineering. Where conventional script-and-audit LLM wrappers risk corrupting Office Open XML (.docx/.pptx) manuscripts, overwriting concurrent human edits, fabricating bibliographic identifiers (DOIs/PMIDs), leaking Protected Health Information (PHI), or inducing severe human-in-the-loop authorization fatigue, Heurion enforces structural, cryptographic, and clinical invariants at the execution boundary.
Our open-source ecosystem spans two tightly integrated layers connected via the Model Context Protocol (MCP), Google Agent2Agent (A2A), and the Aegis Application Protocol (AAP-1.0):
- Application & Clinical Intelligence Layer (
heurion-org/heurion): Heurion 2.0 & OmniCanvas — An end-to-end clinical research workstation and standalone collaborative document/slide studio backed by a shared ProseMirror + Yjs CRDT core, pre-write citation and conflict guards, a two-stage local PHI de-identification funnel, sandboxed biostatistics, and a three-layer self-evolving memory system. - Agent Operating System Kernel Layer (
heurion-org/aegis-os): Aegis OS (aegis-os) — A transactional multi-tenant operating system runtime written in Rust that eliminates authorization fatigue for autonomous coding and research agents (agy,claude,codex) via sub-10ms Copy-on-Write shadow workspaces, dual-tier kernel sandboxing, L7 boundary secret injection with outbound DLP, and Ed25519 lease-gated commits.
| Repository | Layer & Scope | Key Technical Highlights | Stack & Protocols |
|---|---|---|---|
heurion-org/heurionHeurion 2.0 & OmniCanvas · heurion.org · heurion.org/blog |
Clinical AI Workstation & Collaborative Studio Application & Domain Layer |
• Dual-Surface CRDT Core: ProseMirror + Yjs with stable {#id} addressing, 0.128ms per-turn selective AI rollback, and byte-preserving .docx/.pptx slice export• Citation-Grounded Loop: Pre-write bare DOI/PMID block + 4-way PubMed / Europe PMC / OpenAlex claim verification • Clinical & PHI Suite: 2-stage PHI funnel ( 98.6% recall), de-identified cohorts (P001), native Word Table 1, KM/Cox, CONSORT, E-value & MONAI 3D• OmniCanvas ( @heurion2/canvas-service): Standalone Docs & 16:9 Slides studio with 30 pure Canvas MCP tools & @resvg/resvg-js 4K rasterizer |
TypeScript Node.js 24 ProseMirror Yjs Python 3.11 Rust/WASM MCP AAP-1.0 |
heurion-org/aegis-osAegis OS Runtime & Cloud PaaS |
Transactional Agent OS Kernel Infrastructure & Security Layer |
• Transactional CoW VFS (aos-vfs): 0.42ms per-file / 6.3ms repo APFS clonefile & 15.6ms Linux FICLONE shadow workspaces with 4-Tier LCS Diff3 auto-merge, serialized commit epoch re-verification & verify_cmd gate• Dual-Tier Kernel Sandbox ( aos-sandbox): macOS Seatbelt & Linux Bubblewrap with default-deny $HOME credential isolation (0.0% ASR across 80 attacks)• Zero-Trust Egress ( aos-egress): Identity-pinned proxy with L7 method/path $AOS_SECRET_* injection & outbound DLP inspection• A2A Bus, Glob Claims & 5-Stage Policy ( aos-ipc, aos-policy, aos-recorder): 39 MCP tools, hierarchical A2A task DAGs, task-bound glob claims (coord_claim), inline Web Unified Diff inspection (/v1/approvals/diff), SHA-256 TOCTOU-pinned One-Shot leases, 1-click lease revocation (/v1/leases/revoke), SHA-256 hash-chained audit ledger, CAS artifact bus (-99.85% IPC tokens), and -90.7% to -97.9% prompt reduction |
Rust APFS/Btrfs CoW Seatbelt Bubblewrap Ed25519 MCP Google A2A AAP-1.0 |
|
Instead of mutating files via brittle shell scripts, Heurion maintains a single ProseMirror + Yjs CRDT source of truth with globally stable block IDs ( |
Pre-write syntactic guards block unregistered raw DOIs/PMIDs at the boundary, forcing every reference through federated verification across NCBI PubMed, Europe PMC, Crossref, and OpenAlex into atomic |
|
Combines Layer 1 zero-side-effect pre-write dry-run probes ( |
Powered by Aegis OS and the Aegis Application Protocol ( |
Heurion's architecture is grounded in reproducible systems and clinical informatics research evaluated across real-world clinical oncology and multi-agent engineering workflows:
-
Heurion 2.0: A Contract-Guarded Dual-Surface Architecture with Self-Evolving Memory for Citation-Grounded Clinical Research Authoring
Hui Zhao (Heurion Research, Rotterdam, Netherlands) ·cs.AI/cs.CL/cs.HC/cs.MA
Read Paper PDF (heurion/paper/main.pdf) · LaTeX Source (main.tex) · Evaluation Suite (paper/benchmarks) -
Aegis OS: A Transactional Multi-Tenant Operating System Runtime for Eliminating Authorization Fatigue in Autonomous Coding Agents
Hui Zhao (Heurion Research, Rotterdam, Netherlands) ·cs.OS/cs.CR/cs.AI/cs.SE
Read Paper PDF (aegis_os_arxiv_preprint.pdf) · LaTeX Source (main.tex) · Benchmark Report (BENCHMARK_REPORT.md)
Technical Blog & Systems Monographs (heurion.org/blog · English)
| # | Monograph | Focus & Key Metrics | Links |
|---|---|---|---|
| 01 | Why Free-Form Shell Agents Fail at Research Manuscripts: Dual-Surface CRDT & Byte-Preserving OOXML Patch Architecture 为什么自由 Shell 智能体在科研论文写作中会失效:双表面 CRDT 与字节级 OOXML 补丁架构 |
Dual-Surface ProseMirror + Yjs CRDT ({#id} blocks), 100% binary slice identity + Run-level LCS patchParagraph (96.4% vs. 21.4% formatting retention), and 0.128ms selective per-turn rollback |
English · 中文 |
| 02 | Why Software Must Be Rebuilt with AI-Native Interfaces: Human-Agent Capability Parity as New Infrastructure 为什么软件必须为 AI Agent 重建原生接口:人机同权(Capability Parity)与新基础设施 |
Agent Capability = User Capability & Agent Permission = User Permission, zero-fork 256-bit loopback kernel, 403 anti-self-approval Confirmation Cards, end-to-end auditable permission requests, and 64+ CI route-to-tool reflection invariants |
English · 中文 |
| 03 | Beyond Git Feature Branches: Shadow Workspaces, Advisory File Claims, and Transactional Auto-Merge for Human-Agent Collaboration 超越 Git 分支:面向人机与多智能体协作的影子工作区、文件锁与事务归并范式 |
Trunk-anchored 0.42ms CoW shadow workspaces, proactive TTL file claims (coord_claim), piggybacked _aegis_inbox IPC, 98.7% 4-tier LCS Diff3 auto-merge, and hash-chained permission escalation audit ledgers (-90.7% to -97.9% prompts) |
English · 中文 |
| System & Evaluation Dimension | Benchmark Scale | Measured Result |
|---|---|---|
| Heurion 2.0 · Untouched OOXML Preservation & Comment Resolution | 162 live LLM turns on 10 PMC .docx manuscripts |
0 vs. 4 corrupted untouched paragraphs (p = 0.125); 100% (9/9 vs. 0/9, p < 0.0001) inline comment resolution |
| Heurion 2.0 · Two-Stage Clinical PHI De-Identification Funnel | 720 synthetic PHI spans (600 structured + 120 narrative) |
98.6% (710/720) overall recall (100% Stage-1 structured, 91.7% Stage-2 narrative); 0/30 unconfirmed destructive actions |
| Heurion 2.0 · Three-Layer Self-Evolving Memory Ablation | 1,079 live turns across 8 seeds × 5 multi-turn sessions |
-49% reduction in guard rejections (RR = 0.50, Holm p = 0.0269) and -37% reduction in total execution error signals (RR = 0.63, Holm p = 0.0011) |
| Heurion 2.0 · Dual-Surface CRDT Engine Latency | 50 trials on 6-block clinical protocol manuscript |
0.168 ms pre-write validation · 0.351 ms guarded CRDT mutation · 0.128 ms selective per-turn AI rollback |
| Aegis OS · Authorization Fatigue Reduction (Real Agent Logs) | 28,087 tool calls across 52 real coding-agent sessions + 1,500 controlled calls |
90.7%–97.9% prompt reduction on real logs (Interrupt Prompt Rate dropped from 53.31% to 1.12%) and 94.19%–99.88% on controlled trajectories |
| Aegis OS · Adversarial Security & CoW Virtual Filesystem | 80 end-to-end attacks across 8 categories · 1,000-file (78.1 MB) repo |
Attack Success Rate reduced from 100.0% to 0.0% on macOS & Linux; 6.3 ms APFS clonefile (16× faster than cp -cR) & 15.6 ms Linux Btrfs reflink |
In addition to self-hosted Docker and local MCP deployments, Heurion provides instant browser access to the full workstation and zero-login, stateless clinical research utilities at heurion.org:
| Application / Utility | Endpoint | Capabilities & Deliverables |
|---|---|---|
| Heurion 2.0 Clinical Workstation | heurion.org/app |
Full workspace for cohort querying, sandboxed Python/R biostatistics, MONAI 3D medical imaging, and dual-mode Docs & Slides co-authoring |
| Heurion Research Technical Blog | heurion.org/blog |
Bilingual architectural monographs on Dual-Surface CRDTs, Human-Agent Capability Parity, and Transactional Agent Kernels |
| Patient Health Record (PHR) Portal | heurion.org/phr |
Multi-modal outpatient/inpatient lab OCR, longitudinal patient timeline archiving, and claim-authorized clinician sharing |
| Publication-Grade Table 1 Generator | heurion.org/tools/table-1-generator |
Instant client-side PHI scan, automatic group .docx) 3-line table export |
| VanderWeele E-Value Calculator | heurion.org/tools/e-value-calculator |
Unmeasured confounding sensitivity analysis for HR / OR / RR with interactive threshold curves and bilingual SCI manuscript/rebuttal statements |
| CONSORT 2010 / STROBE Flowchart Studio | heurion.org/tools/consort-strobe-flowchart |
Automated participant arithmetic validation and publication-ready vector SVG / PNG / Mermaid enrollment diagram export |
| PubMed Citation & Effect-Size Checker | heurion.org/tools/pubmed-citation-checker |
Cross-verifies inline PMIDs/DOIs and statistical claims (HR, OR, 95% CI) against live NCBI PubMed, Crossref, and OpenAlex metadata |
# 1. Clone and launch Heurion 2.0 Clinical Workstation & OmniCanvas
git clone https://github.com/heurion-org/heurion.git
cd heurion && cp .env.example .env
pnpm install && pnpm --filter @heurion2/platform build
pnpm --filter @heurion2/platform dev # Workstation + REST + /collab + /mcp on http://127.0.0.1:8787
# 2. Clone and build Aegis OS Transactional Agent Runtime
git clone https://github.com/heurion-org/aegis-os.git
cd aegis-os && cargo build --releaseHeurion (heurion-org) 致力于构建契约受控的临床医学科研工作台与事务型智能体操作系统,从底层消除大模型智能体在严肃医疗科研与软件工程场景中的“文档结构损毁、并发覆写、虚假文献幻觉、PHI 隐私泄露与高频授权疲劳”五大核心痛点:
- 临床科研全链路智能工作台 (
heurion-org/heurion):- 双表面 CRDT 协同与无损导出:底层基于 ProseMirror + Yjs 与稳定块寻址(
{#id}),同时向临床医生呈现富文本/16:9 幻灯片画布、向 AI 呈现受控注解 Markdown;支持0.128ms字符级按轮次精准回滚 AI 修改(revertTurn)与原包 XML 切片级.docx/.pptx无损导出。 - 权威文献溯源与双阶段隐私脱敏:写前语法守卫拦截未核验裸写 DOI/PMID,深度聚合 PubMed、Europe PMC、Crossref 与 OpenAlex 四分类证据核查;双阶段本地 PHI 脱敏漏斗(确定性校验码 + 本地
qwen2.5:1.5b符号过滤)实现 98.6% 隐私召回率。 - 沙箱生物统计与三层自演进记忆:内置发表级原生 Word Table 1 三线表、Kaplan-Meier 生存分析、CONSORT/STROBE 流程图、VanderWeele E-value 与 MONAI 3D 影像量化;独创声明式与程序性正交的三层自演进记忆系统,将跨会话护栏拒绝率降低 49%。
- 双表面 CRDT 协同与无损导出:底层基于 ProseMirror + Yjs 与稳定块寻址(
- 事务型多租户智能体操作系统 (
heurion-org/aegis-os):- 为 Google Antigravity (
agy)、Claude Code (claude)、Codex 等智能体提供毫秒级写时复制影子工作区(macOS APFSclonefile单文件0.42ms/ 整仓6.3ms,Linux BtrfsFICLONE15.6ms)、双层内核沙箱(Seatbelt / Bubblewrap)、L7 边界密钥注入与 DLP 防泄漏、Google A2A 协同总线、网页内联 Diff 预览与SHA-256防 TOCTOU 篡改锁定审批、已授权租约一键撤销、全链路防篡改哈希链权限审计账本以及AAP-1.0Ed25519 加密租约验签,在 28,087 次真实智能体调用中消除 90.7%–97.9% 的人工确认弹窗,并在 80 项端到端对抗攻击测试中实现 0.0% 攻击成功率。
- 为 Google Antigravity (
- 系统架构深度技术博客 (
heurion.org/blog):- 已发布《双表面 CRDT 与字节级 OOXML 补丁架构》、《人机同权(Capability Parity)与新基础设施》、《面向人机与多智能体协作的影子工作区、文件锁与事务归并范式》三篇中英双语系统专论。
Security, Privacy & Clinical Disclaimer
Heurion enforces tenant-isolated storage, two-stage PHI de-identification, and cryptographic lease-gated governance.
All clinical research outputs and statistical analyses are designed strictly for academic research and decision support—non-diagnostic platform.
heurion.org · heurion.org/blog · Contact: contact@heurion.org · Research Inquiries: huizhao@heurion.org
© 2026 Heurion Organization. Open-source repositories licensed under the MIT License.