Dev.to
7/13/2026

The original title is 11 words: "Bastion Gateway: an open-source firewall for governing AI agent tool access"
Original: I put a firewall in front of my AI agents. Here is the near-miss that made me build it.
Short summary
The author built Bastion Gateway, an open-source firewall for AI agents that enforces allowlists, redacts PII, gates destructive actions for human approval, and produces signed audit logs. It fills the identity and governance layers of the Agent OSI model. The gateway is self-hostable via Docker and Apache-2.0 licensed, with a hosted version on waitlist.
- •Bastion Gateway is an open-source agent firewall: allowlist, redaction, risk-gate, signed audit logs
- •Deny-by-default posture for tool/domain/endpoint access per agent
- •Self-host via Docker, Apache-2.0; hosted version waitlisted
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



