Self-host AgentSafe
v0.5.0Gateway that authorizes AI agent actions before they execute
- Stars
- 672
- Port
- 8080 (HTTP gateway listener)
ghcr.io/decionis/agentsafeWhat is AgentSafe?
AgentSafe is an execution-authority gateway that sits between AI agents or APIs and their target services. It intercepts consequential HTTP requests (writes, payments, deletions), captures them as canonical intents, and asks the Decionis control plane — an independent execution authority — for a decision: ALLOW (forward once on a single-use grant), ESCALATE (hold for human approval via Presence), or BLOCK (refuse with a signed dossier). The gateway runs in three modes: a local demo authority for testing, shadow mode to observe Decionis decisions on live traffic, and enforcement mode where nothing executes without a verified grant. It installs via Docker, Helm, Homebrew, Linux packages, or standalone binaries. The project is Apache-2.0 licensed and includes a comprehensive test suite (the Compromised Principal Test) that validates the boundary against adversarial attempts. AgentSafe does not make policy decisions itself; it enforces decisions from Decionis, which operates the policy control plane and Presence human-verification layer as separate services.
Should you self-host AgentSafe?
AgentSafe scores 53/100 on selfhost.directory (how scoring works) and ranks #18 of 39 in API Gateway. It has 672 GitHub stars.
It shipped 9 stable releases in the past year. The latest, v0.5.0, came out on 27 October 2026. New versions land roughly every 2 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is Kong Gateway (82/100, 44 314 stars). It scores higher overall, so compare the two before you pick. See AgentSafe vs Kong Gateway side by side.
Features
- Execution-authority gateway
AgentSafe README
More in API Gateway
ai-apiSelf-hosted AI gateway unifying Azure OpenAI, OpenAI, Anthropic, and Gemini behind one OpenAI-compatible API with revocable credentials and cost tracking.
Ailin¹ Collective IntelligenceSelf-hosted open-source engine coordinating 100,000+ AI models through 31 strategies with verifiable consensus and OpenAI-compatible API.
AISIX OSSSelf-hosted, open-source AI gateway with one OpenAI-compatible API for 100+ LLM providers, routing, guardrails, caching, rate limits, and observability — built in Rust.
anythingmcpSelf-hosted gateway turning APIs and databases into MCP tools for AI assistants, with hundreds of ready connectors and access controls.
api200Self-hosted API gateway simplifying third-party integrations with auth, caching, retries, mocks, schema watching, and MCP support via one URL.
apimeSelf-hosted, open-source WhatsApp REST API gateway in Go with multi-instance dashboard, webhooks, and Node.js SDK.
apisixOpen-source, self-hosted API and AI gateway built on NGINX and etcd, with hot-loaded plugins, dynamic routing, load balancing and rate limiting.
bifrostOpen-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway. One OpenAI-compatible API for 10,000+ models, with failover, load balancing, semantic caching, virtual keys, budgets and MCP Code Mode. Works with any SDK or agent and adds under 200µs of overhead at 5k RPS.
BricksLLMOpen-source Go AI gateway that meters LLM traffic with per-key rate limits, spend caps, and PII masking, covering OpenAI-style APIs, Anthropic, Azure and vLLM.
CatGPT-GatewaySelf-hosted gateway turning ChatGPT/Claude browser sessions into an OpenAI-compatible API with tool calling, vision, and file attachments.
ccLoadOpen-source gateway you host that combines AI keys and subscriptions into one endpoint with failover, protocol translation, and usage costs for coding assistants.
claude-code-aws-gatewaySelf-hosted proxy giving teams complete Claude Code capabilities via their AWS Bedrock accounts, with budgets, SSO, and analytics.
0 comments