100% Free & Open-Source Security Gateway

Free Forever. Self-Hosted.
Zero SaaS Lock-in.

AgentGuard is not a paid closed-source SaaS. It is an open-source, deterministic security gateway you can inspect, modify, and self-host on your own infrastructure with complete sovereignty.

$0 Software License

No artificial per-agent limits, no tier paywalls, no monthly subscription fees. The core gateway, policy engine, scanner, and audit log are completely free.

Full Data Sovereignty

Your API credentials, payment tokens, prompt payloads, and audit logs never leave your servers or VPC. Zero telemetry or secret harvesting.

Auditable & Extensible

Inspect the exact logic enforcing spending limits, tool authorization, and prompt scanning. Fork and tailor custom policy rules to your security compliance needs.

Transparent Cost Breakdown

What Does It Cost to Run AgentGuard?

While AgentGuard itself is 100% free software, production deployments involve standard infrastructure and payment gateway fees. Here is an honest breakdown of real costs:

AgentGuard Core
$0 / month
Open-source repository. Free for personal, academic, and commercial production use.
VPS / Compute Host
$5 – $20 / mo
Lightweight footprint. Runs comfortably on a 1 vCPU / 2GB RAM VPS (Hetzner, DigitalOcean, AWS, Linode).
PostgreSQL Database
$0 – $15 / mo
Use the bundled Docker PostgreSQL instance ($0) or managed cloud Postgres (Supabase, Neon, AWS RDS).
Payment Gateway (Razorpay/PayPal)
Standard % Fee
Standard payment processing fees charged directly by Razorpay or PayPal. AgentGuard takes 0% commission.
Self-Hosting Guide

How to Get Started in 60 Seconds

Clone the repository, configure your environment variables, and launch using Docker Compose.

# 1. Clone the verified open-source repository
git clone https://github.com/altafpasha/agentguard.git
cd agentguard
# 2. Configure environment variables
cp .env.example .env
# 3. Spin up Gateway, Postgres, and Dashboard
docker compose up -d
Security Gateway API
http://localhost:3001
Fastify Policy & Scanner Engine
Management Dashboard
http://localhost:3000
Next.js Reviewer & Audit Workbench
Interactive Scenarios
http://localhost:3000/scenarios
Live Attack & Payment Demos

Why Self-Hosted Open Source Wins for AI Security

CapabilityAgentGuard (Open Source)Typical Closed SaaS
Pricing Model100% Free, Apache/MIT licensed$99 - $500+/mo per agent
Data Privacy & PromptsStays entirely inside your infrastructureSent to 3rd party SaaS servers
Payment API CredentialsOnly your backend holds Razorpay/PayPal keysRequires delegating API keys
Deterministic Rule AuditFull source code inspection & custom rulesBlack box heuristics
Network LatencySub-millisecond local network loop100ms+ roundtrip SaaS overhead

Built by Developers, for Developers

AgentGuard is actively maintained and welcomes community contributions, security disclosures, and feedback.