-
-
Notifications
You must be signed in to change notification settings - Fork 0
Operations and CLI Guide
Sneh Gabani edited this page Aug 15, 2026
·
1 revision
The @aegis-kernel/cli (aegis) binary provides shift-left security scanning, live diagnostics, replay verification, and rule initialization.
npx aegis initGenerates aegis.config.yaml and sets up the local .aegis/ state directory.
npx aegis scan ./srcScans agent source code and JSON tool definitions for:
- Hardcoded API tokens and secret leaks
- Poisoned MCP tool schemas (invisible zero-width unicode, homoglyphs)
- Dangerous un-sandboxed
evalor command execution calls
npx aegis replay .aegis/audit-log.jsonReplays historical production tool calls against updated policies to detect regressions or policy drift.
npx aegis doctorExecutes a 9-point subsystem verification audit across all checker modules and reports health status.
Aegis Invariant Kernel • Deterministic Tool-Call Clearance Gateway for AI Agents • Released under MIT License