Atharv Pathak is a Python developer, full-stack web developer, and IT engineering student based in India.

ARGUS

SECURITY TOOL / AI GATEWAY

Scroll to explore↓
ARGUSSECURITY TOOL / AI GATEWAY
The work

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.

PROTOTYPESecurity Prototype & Research Architecture•2026
SECURITYAI AGENTSWEBSOCKETSWINDOWS API
01 // The Problem

Unconstrained AI desktop agents can accidentally execute destructive commands, delete user files, or leak sensitive data when operating with raw OS privileges.

02 // The Solution

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.

03 // Engineering Deep Dive

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.

04 // System Architecture & Visual Breakdown

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
Click to enlarge view
FIGURE 01 // 03POLICY INTERCEPTOR

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
Click to enlarge view
FIGURE 02 // 03OBSERVABILITY CONSOLE

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
Click to enlarge view
FIGURE 03 // 03SAFETY & BLAST RADIUS

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.

05 // Architecture Stack

System Components

Client / UI

Desktop dashboard & browser extension interface with real-time telemetry

Backend & API

Python gateway with token-authenticated WebSockets and Windows API bindings

Data & Storage

Append-only encrypted local audit log SQLite database

Protocols / Services

Process sandboxing, policy validator engine, dry-run action simulator

06 // Capabilities

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
07 // Technical Challenge & Retrospective

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.

Verification & Scope Note

ARGUS is designed to demonstrate safe agent orchestration patterns. Production deployment requires careful configuration of OS-level sandbox boundaries.

Project Gallery

Visual Artifacts & Diagrams

ARGUS preview
Enlarge
ARGUS preview
Enlarge
ARGUS preview
Enlarge
ARGUS preview
Enlarge
Back to theall works.