## agent-immune\ \ \ \ Adaptive security toolkit for AI agents — runs locally via MCP.\ \ \ \
### Tools\ \ \ \
- assess_input — score text for prompt injection threats\ \
- assess_output — scan output for credentials, PII, and exfiltration\ \
- learn_threat — teach new attack patterns to semantic memory\ \
- harden_prompt — apply role-lock, sandboxing, and output guards\ \
- get_metrics — observability snapshot (counts, latency)\ \
\ \
### Install\ \ \ \ pip install 'agent-immune[mcp]'\ \ python -m agent_immune serve --transport stdio\ \ \ \
### Highlights\ \ \ \
- Zero false positives on benchmarks\ \
- 179 tests, 94% coverage\ \
- Semantic memory catches rephrased attacks that bypass regex\ \
- Apache-2.0 license
