smooth-app
A collaborative, free and open database of ingredients, nutrition facts and information on food products from around the world
Heurion 是面向医学写作的 AI 工作台:文档与幻灯片里,人和 AI 在同一份稿子上协作;引用可核实,修订由你采纳,AI 代码在隔离环境运行。
Translation pending
HealthTypeScript · PythonGitHub @0xSynapseOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Heurion is a research-first clinical AI workstation, built on top of a persistent self-evolving agent platform.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
End-to-End Clinical Research AI Workstation & Collaborative Canvas 端到端临床科研全流程智能工作台与协同创作画布Read the full README ↗
端到端临床科研全流程智能工作台与协同创作画布
Features • Architecture • Quick Start • MCP Tools • Testing • Docs
Heurion 2.0 is an end-to-end clinical research AI workstation and collaborative canvas engineered for the full lifecycle of medical discovery:
Unlike conventional LLM interfaces that treat documents as flat Markdown strings and overwrite entire texts, Heurion maintains a structured document model with globally stable Block IDs. All AI agent edits (such as DeepSeek, Claude, or GPT) interact via the standardized Model Context Protocol (MCP) and pass through strict operational Write Guards (ensuring user primacy, citation integrity, and human comment anchor preservation).
The project features a decoupled dual-engine architecture:
@heurion2/platform): Full-featured clinical research intelligence workstation with PHR ingestion, cohort query builder, sandboxed analytics, literature grounding, and PHI privacy scanning.@heurion2/canvas-service): Decoupled, standalone collaborative workspace providing rich-text document editing and interactive slide presentation design, equipped with 30 pure Canvas MCP tools for document layout and slide deck generation, with zero domain coupling.createObjectURL) alongside strict server-side zero-byte validation.@resvg/resvg-js high-performance rendering engine.soffice), Docker, or headless Chrome required..docx 3-line tables complying with ICMJE/NEJM standards (1.5pt/0.5pt borders, Times/Songti academic typography, and statistical footnotes).Heurion 2.0 is structured as a modern pnpm Monorepo:
heurion2/
├── apps/
│ ├── platform/ # [Platform] Heurion 2.0 Medical Intelligence Workspace (Port: 8787)
│ │ ├── src/
│ │ │ ├── model/ # Structured Document/Deck schema, Block IDs & comment anchors
│ │ │ ├── ops/ # Validation → Write Guards → Atomic application layer
│ │ │ ├── mcp/ # Platform MCP Server (DeepSeek Harness / Claude)
│ │ │ ├── render/ # resvg-js vector rasterizer & slide deck engine
│ │ │ ├── literature/ # PubMed / Europe PMC / OpenAlex search & citation formatting
│ │ │ ├── tenancy/ # Patient records, PHR share credentials & Claims
│ │ │ ├── ops/phi-scan.ts# PHI de-identification & security scanner
│ │ │ ├── harness/ # DeepSeek Harness sandbox process pool
│ │ │ └── collab/ # Yjs WebSocket collaboration gateway
│ │ └── web/ # Platform ProseMirror collaborative editing UI
│ │
│ ├── canvas-service/ # [Canvas] OmniCanvas Standalone Canvas Microservice (Port: 8888)
│ │ ├── src/
│ │ │ ├── index.ts # Standalone microservice entry (REST + WebSocket + MCP)
│ │ │ ├── app.ts # Pure Canvas MCP Server (30 authoring/formatting tools)
│ │ │ └── collab.ts # Standalone Yjs CRDT room manager
│ │ └── web/ # Document & slide deck workspace frontend
│ │ ├── src/editor.ts # Document editor core
│ │ ├── src/deck.ts # Slide deck designer core
│ │ └── src/main.ts # Workspace shell & command center
│ │
│ └── embedder/ # [Search] Local embedding & semantic search helper service
│
├── docs/ # Architectural specifications & migration plans
└── scripts/ # Ops, container build, and benchmarking scripts
pnpm ($\ge 9.0.0$)Clone the repository and prepare the environment configuration:
git clone https://github.com/heurion-org/heurion.git
cd heurion2
# Create environment file from template
cp .env.example .env
# Install all workspace dependencies
pnpm install
Configure your credentials in .env:
# DeepSeek API Key (for dsh agent runner)
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# Server ports & data directory
PORT=8787
HEURION_DATA_DIR=./data
HEURION_SECRET=your_production_secret_32_bytes_string
HEURION_DEV_TOKEN=dev
# Optional: Literature search acceleration keys
NCBI_API_KEY=
CONTACT_EMAIL=
# 1. Build frontend assets
pnpm --filter @heurion2/platform build
# 2. Start platform server (Web UI + REST API + /collab + /mcp on port 8787)
pnpm --filter @heurion2/platform dev
Open your browser at: http://127.0.0.1:8787
Frontend HMR Development: Run
pnpm --filter @heurion2/platform dev:webto launch the Vite hot-module-reload server onhttp://127.0.0.1:5173(proxies API calls to port 8787).
# 1. Build standalone web assets
pnpm --filter @heurion2/canvas-service build
# 2. Start standalone service (runs on port 8888)
PORT=8888 pnpm --filter @heurion2/canvas-service dev
Open your browser at: http://127.0.0.1:8888
Heurion equips AI models with a standardized, boundary-checked tool suite:
@heurion2/canvas-service)| Category | Tool Name | Description |
|---|---|---|
| Canvas Lifecycle | canvas_create, canvas_get, canvas_list | Create, inspect, and list document/slide canvas entities |
| Block Mutation | canvas_block_insert, canvas_block_replace | Insert, modify, or update structured content by stable Block ID |
| Block Structure | canvas_block_move, canvas_block_delete | Reorder hierarchy or safely delete blocks without corruption |
| Slide Authoring | canvas_slide_add, canvas_slide_update | Add new presentation slides, apply layout templates & themes |
| Slide Rendering | canvas_slide_render, canvas_slide_delete | Trigger resvg engine for 4K PNG rasterization & slide removal |
| Rich Elements | canvas_table_insert, canvas_chart_insert | Insert structured data tables and analytical charts |
@heurion2/platform)| Category | Tool Name | Description |
|---|---|---|
| PubMed | literature_search_pubmed | Search NCBI PubMed; retrieve structured abstracts & PMIDs |
| Europe PMC | literature_search_europepmc | Search Europe PMC open-access articles and metadata |
| OpenAlex | literature_search_openalex | Query OpenAlex for high-impact citations and bibliographic traces |
| Citations | format_citations | Generate verified academic references with traceable link anchors |
| Clinical Records | patient_get, patient_cohort_query | Query de-identified patient demographics & compound cohorts |
| PHI Protection | phi_scan_text | Run HIPAA / PHI privacy leak scans against raw texts |
The codebase enforces strict end-to-end automated testing with a 100% test pass rate:
# 1. Static type checking across all workspace packages and web apps
pnpm typecheck
# 2. Run unit and integration test suites (47 test suites, 361 tests passing)
pnpm test
# 3. Run real agent end-to-end evaluation (requires DEEPSEEK_API_KEY)
pnpm --filter @heurion2/platform e2e
# 4. Run browser UI end-to-end tests via Playwright
pnpm --filter @heurion2/platform ui
本节包含完整的中文版使用指南。你也可以直接查阅 独立中文文档 (README_CN.md)。
Heurion 2.0 是一套专为临床医学与生命科学科研全生命周期打造的端到端全流程智能工作台与协同画布(Clinical Research AI Workstation)。
与传统的单点大模型写作工具不同,Heurion 深度贯通临床科研的全链路:
平台采用结构化稳定 ID 文档模型,将粒度精确到段落与区块。所有 AI 智能体(如 DeepSeek、Claude、GPT 等)的操作均通过标准 Model Context Protocol (MCP) 执行,并在操作层经过严格的**写前守卫(Write Guards)**保护,确保人类优先权、学术引用有效性、以及评论锚点的持久不失效。
项目提供双引擎解耦架构:
@heurion2/platform):全功能医学智能工作台,包含患者数据采集、队列筛选、沙箱统计、多源文献检索(PubMed、Europe PMC、OpenAlex)、PHR 患者数字档案、PHI 敏感信息泄露拦截与多租户权限控制。@heurion2/canvas-service):完全解耦的独立在线协同工作台,集成现代化长文排版与幻灯片设计器,内置 30 项纯净版 Canvas MCP 通用排版与幻灯片生成工具,零领域耦合。@resvg/resvg-js 高性能渲染引擎。soffice)或无头浏览器,即可纯在 Node.js 进程内秒级将 SVG/HTML 矢量幻灯片光栅化为 4K 高保真 PNG 预览图。phi-scan 模块,自动拦截与告警未经脱敏的患者敏感个人健康信息。git clone https://github.com/heurion-org/heurion.git
cd heurion2
cp .env.example .env
pnpm install
# 启动 Heurion 平台 (http://127.0.0.1:8787)
pnpm --filter @heurion2/platform build
pnpm --filter @heurion2/platform dev
# 启动独立 OmniCanvas 画布服务 (http://127.0.0.1:8888)
pnpm --filter @heurion2/canvas-service build
PORT=8888 pnpm --filter @heurion2/canvas-service dev
详细中文说明请查阅完整中文文档:README_CN.md
本项目基于 MIT License 协议开源。