v1.0.0 — The Full Arsenal
AgentArmor v1.0.0 — The Full Arsenal
7 new safety modules since v0.3.0, bringing the total to 13 shields for your AI agents.
New Features
- ⏱️ Latency Circuit Breaker — Monitor API response times and trip a circuit breaker after consecutive slow calls. Block or warn mode with avg/p95 tracking.
- 📊 Provider-Aware Cost Analytics — Per-provider spend breakdowns (OpenAI, Anthropic, etc.) directly in
agentarmor.report(). - 🐤 Canary Token Injection — Inject invisible canary tokens into system prompts. Detect prompt leakage instantly when the canary appears in output.
- 🔥 Tool-Call Firewall — Enforce allow/block lists on LLM tool calls. Block unauthorized function invocations or silently strip them.
- 🏷️ Cost Attribution Tags — Tag API calls with custom labels and get per-tag cost breakdowns. Essential for multi-tenant apps and A/B testing.
- 🔁 Semantic Dedup (Replay Shield) — Content-aware duplicate detection. Block repeated identical prompts with SHA-256 hashing, LRU cache, and TTL expiry.
- 📉 Model Downgrade Cascade — Automatically switch to cheaper models as budget depletes. Define tiered strategies that gracefully degrade.
All 13 Shields
Budget Circuit Breaker · Prompt Shield · Output Firewall · Flight Recorder · Rate Limiter · Context Window Guard · Latency Circuit Breaker · Provider-Aware Cost Analytics · Canary Token Injection · Tool-Call Firewall · Cost Attribution Tags · Semantic Dedup · Model Downgrade Cascade
Install
pip install agentarmor==1.0.0Full Changelog: v0.3.0...v1.0.0