KSword

•

Bridges Qt desktop GUI controls, native command-line utilities, and raw kernel driver IOCTL interfaces to AI agents over local stdio with strict execution policies.

KSword serves as a specialized local Windows bridge connecting AI clients to KSword's desktop application, native command-line suite, and underlying kernel drivers. Operating via secure local named pipes and stdio, it empowers agents to navigate Qt widget trees, read memory and data tables, run CLI commands, and dispatch low-level IOCTL packets to control devices. Built with robust safety boundaries, the bridge enforces bounded timeouts, integrity-level validation, and explicit confirmation flags for all state-changing operations and driver interactions without stealthily escalating privileges.

Key Features

01Provides flexible process lifecycle management with customizable startup, timeout, and Windows UAC elevation policies
020 GitHub stars
03Executes native CLI commands with structured JSON outputs and exit code reporting
04Dispatches raw kernel driver IOCTL packets via local Win32 named pipes with strict buffer boundaries
05Inspects and controls Qt desktop UI elements using bounded widget snapshots, action dispatching, and table slicing
06Enforces explicit confirmation parameters on all state-altering UI actions, CLI executions, and driver requests

Use Cases

01Executing structured Windows CLI system operations safely under supervised privilege and elevation controls
02Automating Windows kernel driver diagnostics and low-level IOCTL communications within security testing workflows
03Enabling AI coding agents to inspect, navigate, and interact with KSword's desktop GUI programmatically