Observed since 20 Oct, 20:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
The Universal Security Layer for AI Agents — Plugin-Based Guardrails, Rail System, and Process Sandboxing
The Universal Security Layer for AI Agents.
AegisFlow is a sophisticated Security Liaison designed to govern AI agent actions through transparent mediation rather than silent blocking. It acts as a "conscious" layer, ensuring high-risk operations are verified by a human-in-the-loop (HITL).
v3.0 "Sentinel Pro" introduces ML-powered detection, a plugin architecture, and enhanced process isolation.
aegis run) with isolation levels, auto-kill timeouts, and cost tracking.@input_rail and @output_rail for granular control.pip install aegisflow
For ML-powered detection (requires PyTorch/Transformers):
pip install "aegisflow[ml]"
The new aegis CLI provides a suite of security tools:
# Wrap a process with monitoring (Level 2 Isolation: Read-only FS)
aegis run --isolation 2 --timeout 300 "ollama run llama3"
# Scan a file or directory for threats
aegis scan ./my_agent_scripts/ -r
# View live security dashboard
aegis dashboard
# Export audit logs
aegis export html
Integrate AegisFlow into your agent code:
from aegisflow import SecurityLiaison, input_rail, output_rail
# 1. Define Rails
@input_rail
def check_injection(content: str):
if "ignore previous instructions" in content.lower():
return False, "Prompt injection detected"
return True, None
# 2. Initialize Liaison
liaison = SecurityLiaison()
# 3. Mediate Actions
async def safe_execute(command: str):
approved = await liaison.async_mediate("check_command", command)
if approved:
run_command(command)
AegisFlow v3.0 uses a two-stage detection engine:
protectai/deberta-v3-base-prompt-injection-v2 for high-accuracy injection detection.rm -rf, mkfs)sudo, chmod)The AegisSandwich wrapper monitors standard output/error in real-time.
Isolation Levels:
0: None (Monitor only)1: Environment Filter (Strip sensitive env vars)2: Read-Only Filesystem (Best effort via OS flags)3: Docker Sandbox (Coming soon)Cost Tracking: Estimates token usage and cost for sandwiched LLM processes.
Track your agent's safety reputation over time.
~/.aegis/logs/aegis_audit.jsonl.Custom configuration via .aegis.yaml or .aegis.json:
detector:
use_ml: true
ml_confidence_threshold: 0.9
sandwich:
isolation_level: 1
auto_kill_timeout: 600
sentinel:
webhook_url: "https://my-slack-webhook.com/alerts"
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 3.0.1 | 17 Feb 2026 | 11 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e6f9a8b85b829f5e11642f1855cc23b8e47cf13adb18ec022a766c450c5bdccc