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 分