🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@nanomind/runtime

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanomind/runtime

NanoMind Runtime — behavioral twin for ARP anomaly detection

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

@nanomind/runtime

NanoMind Runtime — behavioral twin for AI agent anomaly detection. The L1 layer of ARP's three-tier protection model.

Install

npm install @nanomind/runtime

Usage

import { NanoMindRuntime } from '@nanomind/runtime';

const runtime = new NanoMindRuntime('my-agent');
await runtime.initialize();

// Process behavioral events
const result = runtime.processEvent({
  agentId: 'my-agent',
  eventType: 'TOOL_CALL',
  capability: 'db:read',
  timestampDelta: 50,
  // ...
});

console.log(result.score);  // 0.0 (normal) to 1.0 (anomalous)
console.log(result.action); // 'allow' | 'alert' | 'throttle' | 'suspend' | 'kill'

How It Works

  • Baseline learning: First 100 events build a behavioral baseline
  • Anomaly scoring: 6 factors — unknown capability, timing anomaly, burst detection, L0 escalation, rare event type, error spike
  • Sub-2ms latency: No LLM — statistical model only
  • Federated learning: Gradients submitted with differential privacy

Three-Tier ARP Model

TierLayerLatencyWhat
L0Rule-basedμsCapability enforcement
L1NanoMind-RuntimemsBehavioral anomaly detection
L2Fleet intelligencecontinuousFederated model improvement

License

MIT

Keywords

nanomind

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts