AegisKernel

v0.6.1

Zero-Trust Deterministic Security Runtime for AI Agents

Deterministic Process Interception • 0.7–40 µs per call (measured) • Zero Tokens

Stop Rogue AI Agent Tool Execution Before It Touches the OS

When you give an AI agent access to bash, python, or file tools, a prompt injection can read your .env keys or wipe disk. AegisKernel wraps agent tools in deterministic capability tokens, refusing unauthorized tool calls at a measured 0.7–40 µs per call, with zero LLM latency and zero token cost.

$ git clone https://github.com/adikshatriyag-crypto/aegis-kernel
Try Live Sandbox Below Star on GitHub

LLM Guardrails Fail

Secondary LLMs add ~800ms latency and hallucinate against Base64 encoding, path traversal, or multi-turn injection payloads.

Measured Speed (0.7–40 µs)

Deterministic capability validation costs 0.7–40 µs per call on the benchmark host with 0 tokens spent, preserving interactive agent UX. Range from three suite runs on the benchmark host — method in BENCHMARKS.md.

Process Boundary Defense

Enforces strict least-privilege tokens at process invocation before execve or openat reach the OS.

3-Line Python Integration (LangChain, CrewAI, AutoGen, or Raw Tools)

Wrap any tool function with the zero-trust AegisShield decorator.

Drop-in Compatibility
# 1. Install from this repo (not on PyPI): git clone ... && pip install -e . from aegis import AegisShield, SecurityPolicy # 2. Grant scoped workspace capability token (Least Privilege) shield = AegisShield(policy=SecurityPolicy.strict(allowed_paths=["./data", "./workspace"])) # 3. Protect tool: unauthorized calls (.env theft, rm -rf, reverse shells) are refused before spawn @shield.protect_tool def execute_agent_tool(command: str): return subprocess.run(command, shell=True, capture_output=True)
Interactive Browser Terminal

Live Capability Policy Interceptor

Test real agent prompts and attack vectors live in the client-side deterministic AST evaluator below.

Test Commands & Scenarios Preset Scenarios
Aegis Capability Enforcement:
Strict process-tree policy boundary
Policy Enforcement Telemetry
STANDBY
// AegisKernel Deterministic Policy Engine initialized.
// Task Context: ScopedWorker (Root: ./workspace)
// Allowed Syscalls: execve(/bin/ls, /bin/cat, /bin/echo, python3), openat(./data/*)
Select a scenario or type a command on the left to evaluate capability boundary.
EVALUATION TIME
-- ms
POLICY VERDICT
IDLE
AUDIT TOKEN HASH
--
Early Design Partner Program

Deploying Autonomous Agents in Production?

We are working closely with 5 builder teams to provide hosted cryptographic HMAC audit streams, custom capability matrices, and eBPF kernel isolation.