Agent process inspector
Operating-system-style view of a single agent process. Shows the active call stack, CPU/memory/file-descriptor counts, a recent event tail, and total spend.
Included in the single kansho full pack. Components are not offered as separate installs.
Live process — running mission
Static preview: process actions require host callbacks and do not run herePlan & dispatch
Runningpid 01H9XCall stack
- #5tool:sqlpostgres.execute()1m12sRunning
- #4fnapply_chunk_window()1m13sRunning
- #3fncompact_audit_logs()1m20sRunning
- #2agentagent.plan8m04sRunning
- #1missionmission.handle(M-2014)11m48sRunning
Recent
Error & recovery
Static preview: Restart, Escalate, and two-click Kill require host callbacksSandbox runner
Failedpid 01H9ZCall stack
- #1agentidle.tick()—Success
Recent
Sandbox runner
Failedpid 01H9ZCall stack
- #1agentidle.tick()—Success
Recent
Idle process — between missions
Static preview: process actions require host callbacks and do not run hereAudit writer
Pendingpid 01H8QCall stack
- #1agentidle.tick()—Success
Recent
Component documentation
Agent Process Inspector
components/control-plane/agent-process-inspector.tsxPurpose
Displays one agent process with stack frames, resource gauges, recent events, spend, and guarded operator actions.
Appropriate use
Use for process diagnosis when the host can restart, escalate, or terminate the run and update feedback.
Example
components/control-plane/agent-process-inspector.tsx has a representative live example in the "Live process — running mission" section on /components/agent-process-inspector.
States
Status uses the shared six-value vocabulary; resources, network, files, events, cost, and callbacks are optional, while stack frames are required.
API and props
AgentProcessInspector accepts pid, agent, status, hostname, startedAt, uptime, cpuPct, memUsed, memMax, netIn, netOut, openFiles, stack, recent, tokens, cost, onRestart, onEscalate, onKill, and className.
Dependencies
Direct imports are React, Lucide icons, StatusPill, CostChip, ProgressMeter, InlineConfirmButton, and cn.
Accessibility
Process, stack, event level, and resource values are visible text; actions render only with callbacks and Kill uses two-step confirmation.
Limitations
It does not inspect or control a process, validate ranges, stream events, or show pending/failure results for host operations.
Source
Source: components/control-plane/agent-process-inspector.tsx.
Full pack
components/control-plane/agent-process-inspector.tsx is documented at /components/agent-process-inspector and installs only through the single Kansho full pack; no individual component install is offered.