ARGUS
SECURITY TOOL / AI GATEWAY
ARGUS — Local AI Execution Gateway
A security-first local gateway that validates, bounds, and inspects AI agent action plans before allowing execution on a Windows desktop environment.
Unconstrained AI desktop agents can accidentally execute destructive commands, delete user files, or leak sensitive data when operating with raw OS privileges.
A local security proxy that inspects every AI plan, enforces human-in-the-loop permission gates based on operation risk, and provides an instant emergency stop button.
As autonomous AI agents gain the capability to control operating systems, run shell commands, and interact with desktop software, granting an LLM raw terminal access creates catastrophic security vulnerabilities. ARGUS solves this by placing a strict, deterministic security and authorization boundary between AI planning and desktop execution.
The AI model produces structured JSON action plans rather than direct commands. ARGUS intercepts every action, runs schema validation against an allowlist, performs risk-tiered policy checks, and forces explicit user approval for high-privilege operations like file deletion or external network requests.
ARGUS features full observability: token-authenticated WebSocket communication, a live terminal audit log, an emergency kill switch, and a dry-run simulation mode that predicts consequences before physical execution occurs.
Architecture in Action
Visual walk-through of the operational pipeline, core algorithmic stages, and execution telemetry. Click any diagram to inspect in full resolution.

Structured Action Plan Interceptor & Risk Classification Engine
Gateway proxy validating incoming LLM agent JSON plans against strict schema allowlists. Classifies system operations into deterministic risk tiers: auto-permitting read-only commands while immediately quarantining critical filesystem deletions, shell executions, and privilege escalations.

Real-Time Telemetry Stream & Desktop Action Audit Log
Developer observability dashboard broadcasting token-authenticated WebSocket telemetry at 0.4ms latency. Captures HMAC-SHA256 signed execution traces, child process IDs, and memory utilization in an append-only, tamper-evident local SQLite audit ledger.

Dry-Run Simulation Sandbox & Emergency Kill Switch
Virtual overlay simulation engine predicting filesystem mutations and blast radius before physical execution occurs. Features an instant, deterministic emergency kill switch that halts all spawned child processes in under 0.1ms.
System Components
Desktop dashboard & browser extension interface with real-time telemetry
Python gateway with token-authenticated WebSockets and Windows API bindings
Append-only encrypted local audit log SQLite database
Process sandboxing, policy validator engine, dry-run action simulator
Core Implemented Features
- Structured action plan parser enforcing rigid JSON schema constraints
- Risk-based permission tiering: Read (Auto), Modify (Warn), Execute/Delete (User Prompt)
- Deterministic Emergency Stop kill switch that immediately halts all spawned sub-processes
- Token-authenticated local WebSocket channel isolating the AI agent from the OS kernel
- Dry-run simulation mode for testing agent plans safely without modifying disk state
- Tamper-evident audit trail capturing timestamps, model prompts, and execution outputs
Overcoming Bottlenecks
Balancing agent autonomy with strict safety. Requiring manual confirmation for every single mouse click destroys usability, so we designed a risk-scoring heuristic that auto-approves safe read operations while locking destructive write/network calls.
ARGUS is designed to demonstrate safe agent orchestration patterns. Production deployment requires careful configuration of OS-level sandbox boundaries.
related links.
Visual Artifacts & Diagrams



