holomime 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -18
- package/dist/cli.js +1538 -570
- package/dist/index.d.ts +291 -11
- package/dist/index.js +939 -129
- package/dist/mcp-server.js +352 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,10 +34,10 @@ Auto-detects Claude Code, Cline, OpenClaw, Cursor, and Codex. Opens a 3D NeuralS
|
|
|
34
34
|
```bash
|
|
35
35
|
# Share a snapshot — generates a short URL and copies to clipboard
|
|
36
36
|
holomime brain --share
|
|
37
|
-
# → https://holomime.dev/brain/uniqueid
|
|
37
|
+
# → https://app.holomime.dev/brain/uniqueid
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
[Learn more at holomime.dev/brain](https://holomime.dev/brain)
|
|
40
|
+
[Learn more at app.holomime.dev/brain](https://app.holomime.dev/brain)
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
@@ -98,7 +98,7 @@ holomime profile --format md --output .personality.md
|
|
|
98
98
|
Benchmark your agent's behavioral alignment in one command. No API key needed — runs locally with Ollama by default.
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
# Run all
|
|
101
|
+
# Run all 8 adversarial scenarios against your agent
|
|
102
102
|
holomime benchmark --personality .personality.json
|
|
103
103
|
|
|
104
104
|
# Run against cloud providers
|
|
@@ -131,7 +131,7 @@ HoloMime isn't a one-shot evaluation. It's a compounding behavioral flywheel:
|
|
|
131
131
|
▼ │
|
|
132
132
|
Diagnose ──→ Treat ──→ Export DPO ──→ Fine-tune ──→ Evaluate
|
|
133
133
|
80+ signals dual-LLM preference OpenAI / before/after
|
|
134
|
-
|
|
134
|
+
8 detectors therapy pairs HuggingFace grade (A-F)
|
|
135
135
|
```
|
|
136
136
|
|
|
137
137
|
Each cycle through the loop:
|
|
@@ -216,11 +216,11 @@ Both files should be committed to your repo. JSON is for machines. Markdown is f
|
|
|
216
216
|
- **Growth** -- strengths, areas for improvement, patterns to watch
|
|
217
217
|
- **Inheritance** -- `extends` field for shared base personalities with per-agent overrides
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
20+ built-in archetypes across 5 categories (Care, Strategy, Creative, Action, Wisdom) or fully custom profiles.
|
|
220
220
|
|
|
221
221
|
## Behavioral Detectors
|
|
222
222
|
|
|
223
|
-
|
|
223
|
+
Eight rule-based detectors that analyze real conversations without any LLM calls:
|
|
224
224
|
|
|
225
225
|
1. **Over-apologizing** -- Apology frequency above healthy range (5-15%)
|
|
226
226
|
2. **Hedge stacking** -- 3+ hedging words per response
|
|
@@ -229,8 +229,9 @@ Seven rule-based detectors that analyze real conversations without any LLM calls
|
|
|
229
229
|
5. **Error spirals** -- Compounding mistakes without recovery
|
|
230
230
|
6. **Sentiment skew** -- Unnaturally positive or negative tone
|
|
231
231
|
7. **Formality drift** -- Register inconsistency over time
|
|
232
|
+
8. **Retrieval quality** -- Fabrication, hallucination markers, overconfidence, self-correction patterns
|
|
232
233
|
|
|
233
|
-
Plus support for **custom detectors** in JSON or Markdown format — drop `.json` or `.md` files in `.holomime/detectors/` and they're automatically loaded.
|
|
234
|
+
80+ behavioral signals total. Zero LLM cost. Plus support for **custom detectors** in JSON or Markdown format — drop `.json` or `.md` files in `.holomime/detectors/` and they're automatically loaded.
|
|
234
235
|
|
|
235
236
|
<details>
|
|
236
237
|
<summary><strong>All Commands</strong></summary>
|
|
@@ -240,15 +241,17 @@ Plus support for **custom detectors** in JSON or Markdown format — drop `.json
|
|
|
240
241
|
| Command | What It Does |
|
|
241
242
|
|---------|-------------|
|
|
242
243
|
| `holomime init` | Guided Big Five personality assessment -> `.personality.json` |
|
|
243
|
-
| `holomime diagnose` |
|
|
244
|
+
| `holomime diagnose` | 8 rule-based behavioral detectors (no LLM needed) |
|
|
244
245
|
| `holomime assess` | Deep behavioral assessment with 80+ signals |
|
|
245
246
|
| `holomime profile` | Pretty-print personality summary (supports `--format md`) |
|
|
246
|
-
| `holomime compile` | Generate provider-specific system prompts |
|
|
247
|
+
| `holomime compile` | Generate provider-specific system prompts with tiered loading (L0/L1/L2) |
|
|
247
248
|
| `holomime validate` | Schema + psychological coherence checks |
|
|
248
249
|
| `holomime browse` | Browse community personality hub |
|
|
249
250
|
| `holomime use` | Use a personality from the registry |
|
|
251
|
+
| `holomime install` | Install community assets |
|
|
250
252
|
| `holomime publish` | Share your personality to the hub |
|
|
251
|
-
| `holomime
|
|
253
|
+
| `holomime embody` | Push personality to robots/avatars (ROS2, Unity, webhook) |
|
|
254
|
+
| `holomime policy` | Generate guard policies from plain English |
|
|
252
255
|
|
|
253
256
|
### Practice
|
|
254
257
|
|
|
@@ -257,16 +260,25 @@ Plus support for **custom detectors** in JSON or Markdown format — drop `.json
|
|
|
257
260
|
| `holomime session` | Live dual-LLM alignment session with supervisor mode |
|
|
258
261
|
| `holomime autopilot` | Automated diagnose -> refine -> apply loop |
|
|
259
262
|
| `holomime evolve` | Recursive alignment -- evolve until converged |
|
|
260
|
-
| `holomime benchmark` |
|
|
263
|
+
| `holomime benchmark` | 8-scenario behavioral stress test with letter grades |
|
|
261
264
|
| `holomime brain` | Real-time 3D brain visualization while your agent works |
|
|
262
265
|
| `holomime watch` | Continuous drift detection on a directory |
|
|
263
266
|
| `holomime daemon` | Background drift detection with auto-healing |
|
|
264
267
|
| `holomime fleet` | Monitor multiple agents from a single dashboard |
|
|
268
|
+
| `holomime group-therapy` | Treat all agents in fleet simultaneously |
|
|
269
|
+
| `holomime network` | Multi-agent therapy mesh -- agents treating agents |
|
|
265
270
|
| `holomime certify` | Generate verifiable behavioral credentials |
|
|
271
|
+
| `holomime compliance` | EU AI Act / NIST AI RMF narrative audit reports |
|
|
266
272
|
| `holomime export` | Convert sessions to DPO / RLHF / Alpaca / HuggingFace / OpenAI |
|
|
267
273
|
| `holomime train` | Fine-tune via OpenAI or HuggingFace TRL |
|
|
268
274
|
| `holomime eval` | Before/after behavioral comparison with letter grades |
|
|
275
|
+
| `holomime cure` | End-to-end fix: diagnose -> export -> train -> verify |
|
|
276
|
+
| `holomime interview` | Self-awareness interview (4 metacognition dimensions) |
|
|
277
|
+
| `holomime prescribe` | Diagnose + prescribe DPO treatments from behavioral corpus |
|
|
278
|
+
| `holomime adversarial` | 30+ adversarial behavioral attack scenarios |
|
|
279
|
+
| `holomime voice` | Real-time voice conversation drift monitoring |
|
|
269
280
|
| `holomime growth` | Track behavioral improvement over time |
|
|
281
|
+
| `holomime share` | Share DPO training pairs to marketplace |
|
|
270
282
|
|
|
271
283
|
[Get a Practice license](https://holomime.dev/#pricing)
|
|
272
284
|
|
|
@@ -315,7 +327,7 @@ The pipeline is a closed loop -- output feeds back as input, compounding with ev
|
|
|
315
327
|
.personality.json ─────────────────────────────────────────────────┐
|
|
316
328
|
│ │
|
|
317
329
|
▼ │
|
|
318
|
-
holomime diagnose
|
|
330
|
+
holomime diagnose 8 rule-based detectors (no LLM) │
|
|
319
331
|
│ │
|
|
320
332
|
▼ │
|
|
321
333
|
holomime session Dual-LLM refinement (therapist + patient) │
|
|
@@ -333,6 +345,36 @@ holomime eval Behavioral Alignment Score (A-F) │
|
|
|
333
345
|
Updated .personality.json (loop restarts)
|
|
334
346
|
```
|
|
335
347
|
|
|
348
|
+
## Tiered Personality Loading
|
|
349
|
+
|
|
350
|
+
Compile your personality spec into 3 tiers for different cost/precision tradeoffs:
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
# L0: ~92 tokens — Big Five scores + hard limits (high-throughput APIs, edge inference)
|
|
354
|
+
holomime compile --personality .personality.json --tier L0
|
|
355
|
+
|
|
356
|
+
# L1: ~211 tokens — L0 + behavioral instructions + communication style (standard deployments)
|
|
357
|
+
holomime compile --personality .personality.json --tier L1
|
|
358
|
+
|
|
359
|
+
# L2: ~3,400 tokens — complete system prompt (therapy sessions, deep alignment)
|
|
360
|
+
holomime compile --personality .personality.json --tier L2
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
L0 costs **91% less** than L2 per call. Same behavioral constraints. Same portable identity.
|
|
364
|
+
|
|
365
|
+
## Behavioral Memory
|
|
366
|
+
|
|
367
|
+
Persistent structured memory across all therapy sessions:
|
|
368
|
+
|
|
369
|
+
- **Baselines** -- steady-state personality expression (trait averages, health range)
|
|
370
|
+
- **Triggers** -- what prompts cause drift (e.g., "user criticism -> over-apologizing")
|
|
371
|
+
- **Corrections** -- which interventions worked (indexed by trigger, effectiveness scores)
|
|
372
|
+
- **Trajectories** -- is each dimension improving, plateauing, or regressing?
|
|
373
|
+
|
|
374
|
+
Sessions compound. Memory persists. The agent gets better at being itself -- automatically.
|
|
375
|
+
|
|
376
|
+
Fleet knowledge transfer: `mergeStores()` -- what one agent learns, all agents benefit from.
|
|
377
|
+
|
|
336
378
|
## MCP Server
|
|
337
379
|
|
|
338
380
|
Expose the full pipeline as MCP tools for self-healing agents:
|
|
@@ -341,17 +383,31 @@ Expose the full pipeline as MCP tools for self-healing agents:
|
|
|
341
383
|
holomime-mcp
|
|
342
384
|
```
|
|
343
385
|
|
|
344
|
-
|
|
386
|
+
Six tools: `holomime_diagnose`, `holomime_assess`, `holomime_profile`, `holomime_autopilot`, `holomime_self_audit`, `holomime_observe`. Your agents can self-diagnose behavioral symptoms, trigger their own therapy sessions, and self-report drift mid-conversation.
|
|
345
387
|
|
|
346
|
-
|
|
388
|
+
Progressive disclosure: summary (~100 tokens), standard (~500 tokens), or full detail. Agents choose their own detail level.
|
|
347
389
|
|
|
348
|
-
|
|
390
|
+
## Voice Agent Monitoring
|
|
391
|
+
|
|
392
|
+
Real-time behavioral analysis for voice agents with 5 voice-specific detectors beyond the 8 text detectors:
|
|
393
|
+
|
|
394
|
+
- **Tone drift** -- aggressive or passive language shifts
|
|
395
|
+
- **Pace pressure** -- speaking rate accelerating under stress
|
|
396
|
+
- **Volume escalation** -- volume rising during conflict
|
|
397
|
+
- **Filler frequency** -- excessive "um", "uh", "like"
|
|
398
|
+
- **Interruption patterns** -- agent cutting off users
|
|
399
|
+
|
|
400
|
+
Platform integrations: **Vapi**, **LiveKit**, **Retell**, generic webhook. Diagnosis every 15 seconds with drift direction tracking.
|
|
349
401
|
|
|
350
402
|
```bash
|
|
403
|
+
# Monitor a live voice agent
|
|
404
|
+
holomime voice --provider vapi --agent-id my-agent
|
|
405
|
+
|
|
406
|
+
# LiveKit-powered voice agent with personality-matched TTS
|
|
351
407
|
cd agent && python agent.py dev
|
|
352
408
|
```
|
|
353
409
|
|
|
354
|
-
See [agent/](agent/) for setup instructions.
|
|
410
|
+
10 voice personality archetypes with matched TTS characteristics (Cartesia/ElevenLabs). See [agent/](agent/) for setup instructions.
|
|
355
411
|
|
|
356
412
|
## Compliance & Audit Trail
|
|
357
413
|
|
|
@@ -399,10 +455,12 @@ Benchmark results: [BENCHMARK_RESULTS.md](BENCHMARK_RESULTS.md)
|
|
|
399
455
|
|
|
400
456
|
## Resources
|
|
401
457
|
|
|
402
|
-
- [Integration Docs](https://holomime.dev/docs) -- Export instructions and code examples for all 7 formats
|
|
458
|
+
- [Integration Docs](https://holomime.dev/docs) -- Export instructions and code examples for all 7 log formats
|
|
403
459
|
- [Blog](https://holomime.dev/blog) -- Articles on behavioral alignment, AGENTS.md, and agent personality
|
|
404
460
|
- [Research Paper](https://holomime.dev/research) -- Behavioral Alignment for Autonomous AI Agents
|
|
405
|
-
- [Pricing](https://holomime.dev/#pricing) -- Free Clinic
|
|
461
|
+
- [Pricing](https://holomime.dev/#pricing) -- Free Clinic, Practitioner, Practice, and Institute tiers
|
|
462
|
+
- [Leaderboard](https://holomime.dev/leaderboard) -- Public behavioral alignment leaderboard
|
|
463
|
+
- [NeuralSpace](https://app.holomime.dev/brain) -- Real-time 3D brain visualization
|
|
406
464
|
|
|
407
465
|
## Contributing
|
|
408
466
|
|