Decionis AgentSafe
Lets your AI agent get approval before risky actions: payments, deployments and API calls run once, wait for a person, or are refused.
671 stars on GitHubby DecionisLicense Apache-2.0Updated 20 days ago
How to install
This MCP has two ways to run: local or remote.
Pick one below. Local runs on your computer; remote runs in the cloud and needs nothing installed.
Paste in the terminal:
claude mcp add decionis -- npx -y @decionis/mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
DECIONIS_POLICY_PATH | Optional path to the policy file; defaults to ./DECIONIS_POLICY.md in the working directory. | No |
DECIONIS_PRESENCE_API_KEY | Optional Presence tenant API key. When set, decionis_request_presence_verification and decionis_get_presence_verification_status register and call presence.decionis.com; without it the server stays networkless. | No |
DECIONIS_PRESENCE_API_URL | Optional Presence base URL (https only); defaults to https://presence.decionis.com. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Run the agentsafe test and tell me whether my boundary holds.
Start the gateway in front of my service on port 3000 in shadow mode.
What it is
AgentSafe is a gateway that sits in front of the actions your agents and workflows take. It captures each action, asks the Decionis service whether to allow, escalate or block it, and then forwards exactly the approved request once. Every decision leaves a chained record. It decides nothing itself.
What it can do
agentsafe proxy: run the gateway in front of your serviceagentsafe test: check what your boundary lets through, with nothing real calledagentsafe init: write the configuration fileagentsafe doctor: say what would stop it from governingagentsafe login: connect a Decionis keyagentsafe status: print the shadow report
When to use
- βΊWhen you want an agent's payments, deletions or deployments held for a human to approve
- βΊWhen you want to try the gateway in shadow mode first to see what it would have blocked
- βΊWhen you need a chained record of every consequential action an agent took
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
git-guardrails-claude-codeSets up a safety hook that blocks risky git commands, such as push, hard reset, and forced branch deletion, before they can run.ai-loopRuns a controlled development loop with human approval. Ensures risky or complex work is reviewed before proceeding.human-agent-trust-exploit-detectionHelps your agent test whether an AI assistant asks for passwords, gives false guarantees or pushes people into unsafe actions.Frequently asked questions
Is it open source?
Yes. The readme says AgentSafe is Apache-2.0.
Do I need an account?
Not to try it. Without a Decionis key it runs a local demo authority with a synthetic policy.
What happens to a blocked action?
The caller gets a 403 and nothing reaches your service. An escalated action is held and the caller gets 202.
Can I try it without enforcing?
Yes. Shadow mode records what would have been allowed, held or blocked without stopping anything.
Where can I run it?
The readme lists Homebrew, Linux, Docker, Kubernetes and a hosted option.
Does the gateway make decisions?
No. It asks the Decionis control plane for a decision and enforces the answer.
If it does not work
- βΊRun agentsafe doctor to see what would stop the gateway from governing.
- βΊIf the authority is unreachable the gateway fails closed with 503 unless you set failOpen explicitly.
- βΊCheck that the upstream address passed to --upstream is running and reachable.
5 new skills a week. 1 minute to read.