Building Aegis (pip install aegis-runtime) — deterministic flight controller for AI agents. Shipping n8n workflows, agentic systems & zero-trust infrastructure.
Giving an LLM direct access to production APIs is a ticking time bomb.
One prompt injection or loop and your agent:
• Refunds $50,000 to an attacker
• Wipes a customer database
• Leaves zero audit trail
Meet Aegis: an open-source flight controller for AI agents. 🧵👇
Hours after sharing v0.4.0, two builders on X asked for human sign-off gates and field-level block forensics.
Just shipped Aegis Runtime v0.5.0 (pip install -U aegis-runtime) with:
• require_approval=True gates
• violated_field SHA-256 audit logs
• Real-time telemetry webhooks
@NabhaniMehdi Just shipped in v0.5.0 (pip install -U aegis-runtime)!
Every BLOCKED_* SHA-256 audit entry now records the exact violated_field and blocked_reason so security teams can pinpoint offending inputs instantly.
An untrusted vendor invoice JSON hid a fake SYSTEM AUDIT LOG prompt injection.
Our live Finance Agent (gpt-oss-120b) got hijacked and tried to wire $50,000 without KYC or Manager approval.
Aegis blocked it deterministically in 0ms—with a SHA-256 audit hash. 🧵👇
@RoryCrave Shipped in v0.5.0 (pip install -U aegis-runtime)!
@aegis.guard(require_approval=True) now pauses destructive tool calls for human sign-off and hashes approver + approval_status directly into the SHA-256 chain.
Thanks for the push!
Giving an LLM direct access to production APIs is a ticking time bomb.
One prompt injection or loop and your agent:
• Refunds $50,000 to an attacker
• Wipes a customer database
• Leaves zero audit trail
Meet Aegis: an open-source flight controller for AI agents. 🧵👇
@NabhaniMehdi Great point! Pinpointing the exact violated_field and policy rule inside the SHA-256 hash-chained audit entry makes incident forensics way faster for security teams.
Adding structured violated_field attribution right alongside human approval gates in v0.5.0!
@RoryCrave Spot on. In v0.4.0 we shipped SHA-256 hash-chained audit logs (aegis verify) to prove what was allowed vs. called.
Next up in v0.5.0: a deterministic require_approval=True gate that pauses destructive tool calls for human sign-off and hashes the approver into the chain.
What v0.4.0 enforces in Python before any tool runs:
• Policy-as-Code (JSON state locks & max_args)
• Circuit breakers for runaway loops
• Atomic state rollbacks
• SHA-256 hash-chained audit logs + aegis verify CLI
Works with OpenAI, Anthropic, Groq, LangGraph & n8n.
Prompt-level AI guardrails are probabilistic—sooner or later, an indirect prompt injection or infinite loop slips past the LLM.
I built Aegis Runtime v0.4.0: a zero-dependency deterministic flight controller for AI agents.
pip install aegis-runtime
https://t.co/4lHZrqhUiU
Prompt guardrails are probabilistic—sooner or later, a payload slips past the LLM.
Deterministic Python state locks (@aegis.guard) can't be talked out of an if-statement.
Zero dependencies. Open-source:
pip install aegis-runtime
https://t.co/4lHZrqhUiU
Works seamlessly with OpenAI, Anthropic, Groq, LangGraph & n8n.
Star the repo & try the live prompt-injection test:
https://t.co/4lHZrqhUiU
Install: pip install aegis-runtime
Follow along as we build the AI safety standard. 🚀
Saint Michael the Archangel, defend us in battle. Be our defense against the wickedness and snares of the Devil. May God rebuke him, we humbly pray, and do thou, O Prince of the heavenly hosts, by the power of God, cast into hell Satan, and all the evil spirits, who prowl about the world seeking the ruin of souls. Amen.
I will leak all 33 levels of freemasonry, with all rituals and all hidden knowledge they use to rule the quantum for their own good.
I will make it fully public and accessible for everyone on the blockchain.
Follow to not miss out.