← All tools

agentbastion

prevent

In-process firewall for AI agents

A firewall for AI agents: block prompt injection, guard tool calls, redact PII/secrets — a checkpoint between the agent you ship and the world.

pip install agentbastion

What it does

Quickstart

from agentbastion import Bastion bastion = Bastion() result = bastion.check_input(user_text)

Version 0.9.0 · MIT + BSL-1.1 (gateway)