holomime 1.8.0 → 1.9.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 +59 -1
- package/dist/cli.js +1194 -1146
- package/dist/index.d.ts +170 -1
- package/dist/index.js +374 -0
- package/dist/integrations/langchain.d.ts +164 -0
- package/dist/integrations/langchain.js +962 -0
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -141,7 +141,65 @@ Each cycle through the loop:
|
|
|
141
141
|
|
|
142
142
|
Run it manually with `holomime session`, automatically with `holomime autopilot`, or recursively with `holomime evolve` (loops until behavior converges). Agents can even self-diagnose mid-conversation via the MCP server.
|
|
143
143
|
|
|
144
|
-
##
|
|
144
|
+
## Integrations
|
|
145
|
+
|
|
146
|
+
### VS Code Extension
|
|
147
|
+
|
|
148
|
+
3D brain visualization inside your editor. Watch behavioral patterns fire in real time as your agent works.
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
# Install from VS Code Marketplace
|
|
152
|
+
ext install productstein.holomime
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Commands: `HoloMime: Show Brain`, `HoloMime: Diagnose Current File`, `HoloMime: Share Brain Snapshot`. See [integrations/vscode-extension/](integrations/vscode-extension/) for details.
|
|
156
|
+
|
|
157
|
+
### LangChain / CrewAI Callback Handler
|
|
158
|
+
|
|
159
|
+
Drop-in behavioral monitoring for any LangChain or CrewAI pipeline. Zero config — just add the callback.
|
|
160
|
+
|
|
161
|
+
```typescript
|
|
162
|
+
import { HolomimeCallbackHandler } from "holomime/integrations/langchain";
|
|
163
|
+
|
|
164
|
+
const handler = new HolomimeCallbackHandler({
|
|
165
|
+
personality: require("./.personality.json"),
|
|
166
|
+
mode: "enforce", // monitor | enforce | strict
|
|
167
|
+
onViolation: (v) => console.warn("Behavioral drift:", v.pattern),
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
// Add to any LangChain chain or agent
|
|
171
|
+
const chain = new LLMChain({ llm, prompt, callbacks: [handler] });
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Three modes: `monitor` (log only), `enforce` (auto-correct sycophancy, hedging, over-apologizing), `strict` (throw on concern-level violations). See [LangChain integration docs](https://holomime.dev/docs#langchain).
|
|
175
|
+
|
|
176
|
+
### NemoClaw Plugin (Enterprise)
|
|
177
|
+
|
|
178
|
+
Behavioral governance for [NemoClaw](https://github.com/nvidia/nemoclaw) — NVIDIA's enterprise agent security framework. Pre-action guards, post-action audit, compliance reports (EU AI Act, NIST AI RMF), fleet monitoring.
|
|
179
|
+
|
|
180
|
+
```yaml
|
|
181
|
+
# nemoclaw.yaml
|
|
182
|
+
plugins:
|
|
183
|
+
- name: holomime-behavioral-governance
|
|
184
|
+
package: holomime-nemoclaw
|
|
185
|
+
config:
|
|
186
|
+
personalityPath: .personality.json
|
|
187
|
+
mode: enforce
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
See [integrations/nemoclaw-plugin/](integrations/nemoclaw-plugin/) for full documentation.
|
|
191
|
+
|
|
192
|
+
### OpenClaw Plugin
|
|
193
|
+
|
|
194
|
+
Behavioral monitoring for [OpenClaw](https://github.com/openclaw/openclaw) agents. Auto-detects `.personality.json` in your workspace.
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
openclaw plugin add holomime
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
See [integrations/openclaw-plugin/](integrations/openclaw-plugin/) for details.
|
|
201
|
+
|
|
202
|
+
### Log Format Adapters
|
|
145
203
|
|
|
146
204
|
Holomime analyzes conversations from any LLM framework. Auto-detection works out of the box, or specify a format explicitly.
|
|
147
205
|
|