Intent Interface Kit

Natural language command interface for human operators to direct agent systems.

0/4 dispatched

Configuration

Intent Pipeline
Focus all sensors on sector 794% confidence
SENSOR_FOCUS { target: "sector-7", scope: "all" }
sensor-controllerdata-pipeline
Scale up the analytics cluster89% confidence
SCALE_RESOURCE { cluster: "analytics", delta: +2 }
infra-manager
Show me error rates from last hour97% confidence
QUERY_METRICS { metric: "error_rate", window: "1h" }
metrics-agent
Pause non-critical batch jobs85% confidence
PAUSE_JOBS { filter: "priority < 0.5" }
job-scheduler

Integration Code

import { createIntentInterface } from 'agent-tools-kit/human-command'

const intent = createIntentInterface({
  understanding: 'semantic',
  confirmationRequired: true,
  contextWindow: 'session',
})

// Parse a natural language command
const parsed = await intent.parse(
  'Focus all sensors on sector 7'
)

console.log(parsed.intent)   // SENSOR_FOCUS
console.log(parsed.entities) // { target: 'sector-7', scope: 'all' }
console.log(parsed.confidence) // 0.94

// Dispatch to agents
const result = await intent.dispatch(parsed, {
  agents: ['sensor-controller', 'data-pipeline'],
  priority: 'high',
})