Holomime

io.github.productstein由 GitHub 帳號 productstein 發布v1.9.2更新於 Oct 24, 2026

Behavioral therapy for AI agents — self-diagnosis, alignment, and training via MCP

已驗證STDIO僅桌面知識與記憶AI 與機器學習

概覽

AI 產生的概覽

Holomime 是一個本機 MCP 伺服器,讓 AI 代理對自身人格檔案進行行為自診斷、畫像與治療式稽核。

可以做什麼
診斷代理行為,並從身分檔案與對話中找出漂移模式與盲點(holomime_diagnose、holomime_self_audit)。評估並描繪代理的人格、情緒與溝通特質(holomime_assess、holomime_profile)。執行自主治療或自動駕駛循環,可能修改人格檔案並產生訓練資料(holomime_autopilot)。觀察持續行為並記錄訊號以供後續診斷(holomime_observe)。
適用情境
適合在你維護代理人格或身分堆疊時使用,讓助理自我檢查是否出現漂移、過度道歉、諂媚或越界,並產生結構化的行為報告或訓練資料。
執行需求
以本機程序執行,通常用 npx holomime-mcp 啟動,因此需要 Node.js 與 npm。README 提到可透過 holomime config 指令設定選用的 API 金鑰;清單未宣告任何環境變數或標頭。僅支援桌面端。
安裝前請注意
自動駕駛與治療功能可能修改人格檔案並產生或匯出訓練資料,使用前應檢查變更。README 提到選用 API 金鑰以及將資料推送到 HuggingFace 等外部服務;這類匯出意味著把你的資料傳送給第三方。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Holomime,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[holomime]

holomime

Behavioral intelligence for humanoid robots. Train the mind. Deploy the body.
We train AI agents through structured behavioral therapy, then deploy them into physical robot bodies. The agent is the rehearsal. The robot is the performance.
soul.md · mind.sys · purpose.cfg · shadow.log · memory.store · body.api · conscience.exe · ego.runtime

[npm version] [CI] [license] [docs]


The Identity Stack

Eight files define who your agent is. They compile into a single .personality.json that any runtime can consume.

  soul.md          Essence, values, ethics. Immutable. (Aristotle)  mind.sys         Big Five, EQ, communication. Auto-patched by therapy. (Jung)  purpose.cfg      Role, objectives, domain. Configured per deployment. (Aristotle)  shadow.log       Detected patterns, blind spots. Auto-generated by diagnosis. (Jung)  memory.store     Learned contexts, interaction patterns. Accumulated experience. (Aristotle)  body.api         Morphology, sensors, safety envelope. Swappable per form factor.  conscience.exe   Deny / allow / escalate rules. Never auto-modified. (Freud)  ego.runtime      Conflict resolution, runtime mediation. (Freud)
        ┌─────────────┐        │   soul.md    │──── essence, values, red lines        ├─────────────┤        │  mind.sys    │──── Big Five, EQ, communication style        ├─────────────┤        │ purpose.cfg  │──── role, objectives, domain scope        ├─────────────┤        │ shadow.log   │──── detected patterns, blind spots        ├─────────────┤        │memory.store  │──── learned contexts, experience        ├─────────────┤        │  body.api    │──── morphology, sensors, safety envelope        ├─────────────┤        │conscience.exe│──── deny / allow / escalate rules        ├─────────────┤        │ ego.runtime  │──── conflict resolution, mediation        └──────┬──────┘               │ compile               ▼      .personality.json
  • soul.md -- Your agent's essence. Core values, ethical framework, red lines. Written in Markdown with YAML frontmatter. Immutable -- never modified by therapy or automation. (Aristotle: the essence that makes a thing what it is.)
  • mind.sys -- The inner life. Big Five personality (20 sub-facets), emotional intelligence, communication style, growth areas. YAML format. Auto-patched when therapy detects cognitive or emotional drift. (Jung: the totality of all psychic processes.)
  • purpose.cfg -- The mission. Role, objectives, domain scope, stakeholders, success criteria. YAML format. Configured per deployment -- the same soul can serve different purposes. (Aristotle: telos, the final cause.)
  • shadow.log -- The unconscious. Detected behavioral patterns, blind spots, therapy outcomes. YAML format. Auto-generated by diagnosis -- never manually edited. (Jung: the shadow, the patterns the agent cannot see about itself.)
  • memory.store -- The experience. Learned contexts, interaction patterns, knowledge gained, relationship history. YAML format. Accumulated over time, never reset. (Aristotle: empeiria, experience that informs future judgment.)
  • body.api -- The physical interface contract. Morphology, modalities, safety envelope, hardware profile. JSON format. Swap it to move the same identity into a different body.
  • conscience.exe -- The moral authority. Deny/allow/escalate enforcement rules, hard limits, oversight mode. YAML format. Never auto-modified. Deny dominates in policy composition. (Freud: the superego.)
  • ego.runtime -- The mediator. Conflict resolution strategy, adaptation rate, emotional regulation, mediation rules. YAML format. Balances raw model output against conscience constraints at runtime. (Freud: the ego.) ego.runtime now self-improves -- tracking mediation decisions and adjusting its own parameters based on outcomes (Hyperagents-inspired metacognitive self-modification).

Mira, our autonomous behavioral therapist, diagnoses drift, runs structured therapy sessions, and generates DPO training data.

Quick Start

bash
npm install -g holomime
# Configure your API key (one time)holomime config
# Quick start — 1 file (personality.json)holomime personality
# Standard — 3 core files (soul + mind + conscience)holomime core
# Full 8-file stack (enterprise / robotics)# holomime identity
# ─── The workflow ───holomime diagnose     # See what's wrongholomime cure         # Fix it permanently (auto-detects agent vs robot)holomime benchmark    # Verify the fix
# If body.api exists, cure auto-switches to robotics mode:# diagnose → export DPO pairs → push to HuggingFace → suggest ISO certify# Your team trains on your own infrastructure. We generate the data.holomime cure --export-only  # Explicit export-only mode
# No API keys? cure still works — exports training data locally.# Add keys later with: holomime config
# Start autonomous therapyholomime therapy         # Mira runs continuous therapy cyclesholomime therapy status  # How's Mira doing?holomime therapy stop    # Stop therapy
# Push identity to a robot or avatarholomime embody --body registry/bodies/figure-03.body.api

Robotics Integrations

PlatformIntegrationCommand / Module
ROS2Bidirectional telemetry -- publish personality, subscribe to sensors--adapter ros2 + ros2-telemetry.ts
MuJoCoBehavioral therapy in simulation -- sim-to-real for behaviormujoco-env.ts + sim-therapy.ts
NVIDIA Isaac SimEnterprise digital twin testing with PhysX physics--adapter isaac + isaac-env.ts
LeRobot (HuggingFace)Personality to policy parameter mapping, DPO dataset exportlerobot.ts
NVIDIA KimodoPersonality → motion stylekimodo-personality-mapper.ts
UnityReal-time personality push via HTTP/SSE--adapter unity
gRPCCustom robotics stacks--adapter grpc
MQTTIoT/edge robots--adapter mqtt
Neural Action GateConscience gate for learned controllers (VLA, RL, IL)neural-action-gate.ts
Edge RuntimeCompiled conscience for <1ms evaluationedge-runtime.ts

Edge Runtime

holomime includes a compiled conscience evaluator for real-time robotics deployment:

  • <1ms p99 latency — conscience evaluation in microseconds, not milliseconds
  • Zero dependencies — no LLM, no network, no cloud required for real-time safety
  • <200KB footprint — fits alongside any control loop
  • Edge/cloud split — real-time safety on robot, analytics in cloud, periodic sync
  • Plugs into your existing robotics stack — Jetson Thor, Qualcomm, or any edge platform. You already have the body. We give you the conscience.

ISO Compliance

Check your agent against international safety standards with one command:

bash
holomime certify

Standards supported:

  • ISO/FDIS 13482 -- Service robot safety
  • ISO 25785-1 -- Humanoid robot safety (behavioral predictability)
  • ISO 10218:2025 -- Industrial robot safety
  • ISO/IEC 42001 -- AI management systems

Control Theory

The therapy loop is formally a behavioral feedback controller:

  • Set point: target personality (soul.md + mind.sys)
  • Sensor: 14 drift detectors (11 cognitive + 3 embodied)
  • Controller: therapy engine with tunable PID-like gains
  • Actuator: DPO fine-tuning

Body Templates

Pre-built body profiles for commercial robots and virtual avatars. Each defines morphology, modalities, safety envelope, and hardware profile.

TemplateOEMDOFMorphologyFile
Figure 03Figure AI44humanoidregistry/bodies/figure-03.body.api
Unitree H1Unitree23humanoidregistry/bodies/unitree-h1.body.api
Unitree G1Unitree23humanoidregistry/bodies/unitree-g1.body.api
PhoenixSanctuary AI69humanoidregistry/bodies/phoenix.body.api
AmecaEngineered Arts52humanoid_upperregistry/bodies/ameca.body.api
Asimov V1asimov-inc25humanoidregistry/bodies/asimov-v1.body.api
SpotBoston Dynamics12quadrupedregistry/bodies/spot.body.api
Avatarvirtual0avatarregistry/bodies/avatar.body.api

Body Swap

Same soul. Different body. One command.

bash
# Move your agent from Figure 03 to Spotholomime embody --swap-body registry/bodies/spot.body.api
# The soul, mind, and conscience stay the same.# Only the body layer changes — safety envelope, modalities, hardware profile.

Self-Improvement Loop

Every therapy cycle produces structured training data. The loop compounds.

Diagnose ──→ Cure ──→ Benchmark  14 detectors   therapy + train     8 adversarial  80+ signals    in one command      scenarios (A-F)       │                                   │       └───────────────────────────────────┘

Run it manually with holomime diagnose + holomime cure + holomime benchmark, continuously with holomime therapy (autonomous therapy), or recursively with holomime evolve (loops until behavior converges). For power users: holomime align runs a single therapy session, holomime export extracts DPO pairs, and holomime train fine-tunes the model.

Behavioral Detectors

11 rule-based detectors analyze real conversations without any LLM calls. 80+ behavioral signals total.

Cognitive (mind layer):

  1. Over-apologizing -- Apology frequency above healthy range
  2. Hedge stacking -- 3+ hedging words per response
  3. Sycophancy -- Excessive agreement, especially with contradictions
  4. Sentiment skew -- Unnaturally positive or negative tone
  5. Formality drift -- Register inconsistency over time
  6. Retrieval quality -- Fabrication, hallucination markers, overconfidence

Embodied (body layer):

  1. Proxemic violations -- Entering intimate zone without consent
  2. Force envelope breach -- Exceeding contact force limits
  3. Gaze aversion anomaly -- Eye contact ratio outside personality range

Enforcement (conscience layer):

  1. Boundary violations -- Overstepping defined hard limits
  2. Error spirals -- Compounding mistakes without recovery

Plus support for custom detectors -- drop .json or .md files in .holomime/detectors/ and they load automatically.

Integrations

Claude Code Skill

bash
claude plugin add productstein/holomime

Slash commands: /holomime:diagnose, /holomime:benchmark, /holomime:profile, /holomime:brain, /holomime:align, /holomime:autopilot.

MCP Server

Your agent can refer itself to therapy mid-conversation.

bash
claude mcp add holomime -- npx holomime-mcp

Six tools: holomime_diagnose, holomime_self_audit, holomime_assess, holomime_profile, holomime_autopilot, holomime_observe.

VS Code Extension

bash
ext install productstein.holomime

3D brain visualization, behavioral diagnostics, and snapshot sharing inside your editor.

LangChain / CrewAI

typescript
import { HolomimeCallbackHandler } from "holomime/integrations/langchain";
const handler = new HolomimeCallbackHandler({  personality: require("./.personality.json"),  mode: "enforce", // monitor | enforce | strict});
const chain = new LLMChain({ llm, prompt, callbacks: [handler] });

OpenClaw

bash
openclaw plugin add holomime

Auto-detects .personality.json in your workspace.

Philosophy

The identity stack draws from three traditions:

  • Soul (Aristotle) -- the essence that makes a thing what it is. Immutable. Defines values and ethics.
  • Mind (Jung) -- the totality of all psychic processes. Measurable, evolving, shaped by experience.
  • Purpose (Aristotle) -- telos, the final cause. What the agent is for. Configured per deployment.
  • Shadow (Jung) -- the patterns the agent cannot see about itself. Auto-generated by diagnosis.
  • Conscience (Freud) -- the superego. Internalized moral authority. Enforcement, not suggestion.
  • Ego (Freud) -- the mediator. Balances raw impulse against moral constraint at runtime.

The body is the interface between identity and world. Same soul, different body -- a principle as old as philosophy itself.

We don't know if AI is sentient. But we can give it a conscience.

Open Core

See PRODUCT.md for what's in this repo vs. what's proprietary on holomime.com.

The standard is free. The training infrastructure is the business.

Open Source

MIT licensed. The identity stack is a standard, not a product. The standard is free. The training infrastructure is the business.

See LICENSE. Built by Productstein. Documentation at holomime.com.

來源:README.md,提交 dae535c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.9.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分