Skip to content

v0.1.0 — Initial release

Choose a tag to compare

@denial-web denial-web released this 07 Apr 05:10
· 8 commits to main since this release

agent-immune v0.1.0

Adaptive threat intelligence for AI agent security.

Highlights

  • Input assessment — regex + semantic memory detect prompt injection, including rephrased attacks
  • Output scanning — credentials, PII, system prompt leaks, encoded payloads
  • Semantic memorylearn() from incidents, catch unseen attacks via similarity (F1: 0.685 → 0.865)
  • Multi-turn escalation — per-session trajectory tracking
  • Prompt hardening — role-lock, input sandboxing, output guards
  • Circuit breaker — per-session rate limiting with auto-deny
  • MCP serverpython -m agent_immune serve with stdio, SSE, and streamable-http transports
  • Observability — MetricsCollector with counters, latency, structured JSON events
  • Async APIassess_async, assess_output_async, learn_async
  • Adapters — Microsoft Agent OS, LangChain, MCP middleware

Install

pip install agent-immune              # core (regex-only, no GPU)
pip install 'agent-immune[memory]'    # + semantic memory
pip install 'agent-immune[mcp]'       # + MCP server

Stats

  • 179 tests, 94% coverage
  • Zero false positives across all benchmark datasets
  • Apache-2.0 license