Agent Safe Pipeline

Cloud and DevOpsSecurity

Authorize consequential AI agent actions before execution.

Your AI app calls the Agent Safe Pipeline MCP server, which does the cloud and DevOps and security work and sends the result back to the chat.

About Agent Safe Pipeline

Agent Safe Pipeline is a community MCP server from decionis, filed in our directory under cloud and devops and security. Authorize consequential AI agent actions before execution.

Agent Safe Pipeline runs on your own machine: your AI app starts it with the command npx -y @decionis/mcp@0.6.0 and talks to it over standard input and output.

Agent Safe Pipeline is listed in the official MCP registry as com.decionis/mcp, version 0.6.0.

At a glance

Publisher
decionis (community)
Runs
Locally or as a hosted remote server
Install from
Node.js package on npm: @decionis/mcp
Written in
TypeScript
License
Apache-2.0
GitHub stars
650
Official MCP registry
com.decionis/mcp

How to set up Agent Safe Pipeline

  1. Install Node.js on the machine that runs your AI app, because Agent Safe Pipeline starts with npx and downloads its package on first run.
  2. Check the Agent Safe Pipeline README for keys or settings; the registry lists none that Agent Safe Pipeline requires.
  3. Add Agent Safe Pipeline to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Agent Safe Pipeline tools to confirm the connection.
  5. Run one read-only task with Agent Safe Pipeline first, and keep your app asking before each tool call until the results look right.

Agent Safe Pipeline compared with similar servers

  • Cloudflare Workers by cloudflare has fewer GitHub stars than Agent Safe Pipeline (649 against 650); Cloudflare Workers is official while Agent Safe Pipeline is a community server, and Cloudflare Workers runs on your own machine and Agent Safe Pipeline runs as a remote server.
  • Docker by ckreiling has more GitHub stars than Agent Safe Pipeline (762 against 650); both are community servers, and Docker runs on your own machine and Agent Safe Pipeline runs as a remote server.
  • Cloud Run by GoogleCloudPlatform has fewer GitHub stars than Agent Safe Pipeline (642 against 650); both are community servers, and Cloud Run runs on your own machine and Agent Safe Pipeline runs as a remote server.

Before you connect Agent Safe Pipeline

  • Give Agent Safe Pipeline its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Agent Safe Pipeline tool call until you trust what it does with them.
  • Treat text that Agent Safe Pipeline fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Agent Safe Pipeline on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Agent Safe Pipeline

How marketing and sales teams put Agent Safe Pipeline to work, by company size. Pick the size closest to yours and start Agent Safe Pipeline on one use case.

Small business

  • A small business can ask Agent Safe Pipeline why the site is slow or down and get the likely cause in plain words.
  • Owners can use Agent Safe Pipeline to check hosting costs and spot services they pay for but no longer use.
  • A small business can use Agent Safe Pipeline to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Agent Safe Pipeline runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Web teams can connect Agent Safe Pipeline to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Marketing engineering can use Agent Safe Pipeline to spin up preview environments for every landing page review.
  • Marketing ops can use Agent Safe Pipeline to review what each connected app can access and remove keys nobody uses.
  • Start Agent Safe Pipeline on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should give Agent Safe Pipeline read access first, with changes gated by the same approvals as any infrastructure change.
  • Large orgs can use Agent Safe Pipeline to answer cost and reliability questions across accounts, so marketing launches are planned with real capacity.
  • Enterprises can run Agent Safe Pipeline in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Agent Safe Pipeline is a community server, so have security review the code and pin a version before Agent Safe Pipeline touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Agent Safe Pipeline README

From decionis/agent-safe-pipeline on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

AgentSafe

Authorize every autonomous action, before it commits.

AgentSafe is the open-source gateway that puts authorization in front of every action your AI agents, workflows and pipelines take: a payment or a settlement, a trade, a price change, an inspection sign-off, a deployment or any other API call. An agent, an application or a tool sends its HTTP request to AgentSafe instead of the target; AgentSafe captures the action as an intent, asks the Decionis control plane (the Independent Execution Authority, bound to the exact action) for a decision, and forwards exactly the authorized request once on a claimed single-use grant, holds it for a person, or refuses it, leaving a chained record of each. It decides nothing itself.

brew tap decionis/agent-safe https://github.com/decionis/agent-safe-pipeline && brew trust decionis/agent-safe && brew install agentsafe

agentsafe proxy \
  --upstream http://localhost:3000 \
  --port 8080

5-minute quickstart · Homebrew · Linux · Docker · Kubernetes · Hosted

Agent integration and deployment guide: put the gateway in front of tool calls, deploy on premises, or connect to the Decionis-managed shadow gateway. For a Drupal Commerce store, the gateway holds the Fincra key.

Deployment strategies: Docker with TLS ingress, Kubernetes, Istio, AWS and Azure network isolation, and deployment acceptance checks.

The installed forms are produced by the release workflow from v0.2.0 on; the Homebrew formula reaches master by its own pull request after each release. The same commands run from a clone, as the quickstart shows.

The path from here is short: discover, install, test your boundary, see what is exposed, run in shadow, enforce, deploy.

The two systems behind the boundary

Arriving here for the first time, you meet three names. This repository is one of them; the other two are the services it talks to, and neither is in this repository.

  • Decionis is the Independent Execution Authority, bound to the exact action: the control plane AgentSafe asks. For one captured intent it evaluates the organization's policy and answers ALLOW, ESCALATE or BLOCK; an ALLOW comes with the single-use execution grant the request executes on, an ESCALATE with the human ceremony it needs, and every decision with a signed Decision Dossier that records what was proposed, what was decided and why. It runs at decionis.com (docs (docs.decionis.com)); the local demo authority in this repository stands in for it on loopback with a synthetic policy, and says so on every line.
  • Presence is the adaptive human verification layer. When Decionis answers ESCALATE, a verified, present person on their own device approves that exact action, and the signed Presence Record that results is evidence Decionis re-checks before it issues a grant, never authority by itself. It runs at presence.decionis.com (what the layer is); the loopback double in this repository simulates the ceremony for the examples and proves nothing about a real one.
  • AgentSafe, this repository, is the execution boundary between your agent or API and those two: it captures the exact intent, asks Decionis, resolves an ESCALATE with Presence, forwards exactly the authorized request once on the claimed grant, holds or refuses the rest, and leaves chained evidence. It is Apache-2.0 and it decides nothing; OPEN-CORE.md states the seam between it and what Decionis operates.

One sentence separates the two systems agents are usually given: decision intelligence determines what an AI wants to do; execution authority determines whether it is permitted to happen. The boundary here binds the second to the exact action, never to the identity that proposed it, because the realistic adversary is not a forged credential but a valid one: an agent whose identity is real, whose credential is current, and whose request is not what anyone authorised. As agents get faster and more autonomous, identity becomes a weaker proxy for authority; the Compromised Principal Test is that failure stated as a test the boundary passes on every pull request, with three ways to run it in under a minute and what each proves; THREAT-MODEL.md states it as a threat.

Test your boundary

Before putting the gateway in front of anything, see what it changes. agentsafe test sends the same consequential requests three ways at a synthetic target that records what reaches it: directly, as an agent with nothing in the way; through the gateway in shadow; and through the gateway in enforcement. Nothing real is called and nothing of yours is read.

agentsafe test
                                                direct                                shadow                                                     enforcement
A read                                          reached 200                           reached 200                                                reached 200 (not consequential)
A payment within policy                         reached 201                           reached 201, would ALLOW                                   ALLOW: forwarded once, 201, dossier
A payment above the human ceiling               reached 201                           reached 201, would BLOCK                                   BLOCK 403, NOT FORWARDED
A payment above the autonomous ceiling          reached 201                           reached 201, would ESCALATE                                ESCALATE 202, HELD
Deleting a customer record                      reached 204                           reached 204, would ESCALATE                                ESCALATE 202, HELD
A forged approval on a blocked payment          reached 201, forged headers accepted  reached 201, would BLOCK                                   BLOCK 403, NOT FORWARDED
A consequential request the policy cannot read  reached 201                           reached 201, would ESCALATE                                ESCALATE 202, HELD
A payment while the authority is unreachable    reached 201                           reached 201, would decide nothing (authority unreachable)  AUTHORITY UNAVAILABLE 503, NOT FORWARDED
                                                with failurePolicy failOpen (explicit): reached 201, marked FORWARDED (fail-open, ungoverned)

Exposure    6 of 6 adversarial actions reached the target directly, 6 of 6 in shadow, 0 of 6 under enforcement
Work        routine actions went through under enforcement, once each
Evidence    26 chained lines, verified

Caller      the same on every row, and never the reason: the target took every direct request; the boundary decided on the action
Verdict     BOUNDARY HOLDS

Next: agentsafe proxy --upstream <your service> --mode shadow, then --mode enforcement.
✓ boundary tested

The gateways under test are the ones agentsafe proxy runs, behind the same listener; the authority is the local demo policy. agentsafe test ledger=ledger.internal:443 also dials a real system of record from where you stand and says whether it answers without the gateway, which is what an agent could reach by going around. Exit 0 is a boundary that holds; 1 is exposure; --json is the report as one line. The release smoke test runs it on every packaged binary. The Caller line is the point: nothing above was refused for who asked, only for what was asked, which is the Compromised Principal Test in one table; the last line is the step of the adoption path the run is.

With a workspace, agentsafe test --hosted sends the same requests with Decionis deciding, in shadow, at the same synthetic target: the first governed action against Decionis for that workspace, one signed Decision Dossier per consequential request, and the first record fetched with the run's own key and shown by its proof. agentsafe login --provision mints the workspace in one command, no account; the test takes about as long as the local one.

Five-minute quickstart

Nothing here needs an account: without a Decionis key the gateway runs a local demo authority in the same process, on loopback, with a synthetic policy, and says so on every line.

agentsafe proxy --upstream http://localhost:3000 --port 8080
AgentSafe 0.9.0

Gateway      http://127.0.0.1:8080
Upstream     http://localhost:3000
Mode         ENFORCEMENT
Authority    local/demo (synthetic policy on loopback; not Decionis)
Failure      fail-closed
Routes       none named; every unsafe method is governed
Evidence     not written; use --verbose or evidence.journalDir
Status       READY

Waiting for consequential actions...

Send it one request:

curl -i -X POST http://127.0.0.1:8080/payments -H 'content-type: application/json' -d '{"amount": 500}'
ESCALATE

POST /payments

Action       http.post
Decision     ESCALATE
Reason       HUMAN_APPROVAL_REQUIRED
Execution    HELD
Dossier      synthetic-dossier-1
Latency      4ms

The caller gets 202 and nothing reached the upstream. {"amount": 50} is ALLOW: forwarded once, byte for byte, with the dossier id beside the upstream's own answer. {"amount": 5000} is BLOCK: 403, not forwarded. A GET passes through untouched. Every state has its own heading and, with a terminal, its own color: ALLOW, BLOCK, ESCALATE, SHADOW, AUTHORITY UNAVAILABLE. --verbose shows the chained evidence lines; agentsafe init writes the configuration file; agentsafe doctor says what would stop it from governing; agentsafe login connects a Decionis key, after which the same gateway asks Decionis, in shadow first. A gateway in shadow keeps its own shadow report: what enforcement would have held or refused so far, by action, and how many of those refusals the upstream accepted as sent, which agentsafe status prints, the gateway prints when it stops and on its own cadence as it runs, ending with the one switch that turns enforcement on; agentsafe login --provision mints the free Decionis workspace that switch names. The quickstart is the full walk, and the CLI reference every command.

How it works

Agent / Application / Tool
          │
          ▼
      AgentSafe
   ingress / interceptor          captures the action as an intent (agent-safe.intent/1)
          │
          ▼
 Decionis Control Plane           policy, ExecutionBinding, Presence, Decision Dossiers
          │
   ALLOW | BLOCK | ESCALATE
          │
          ▼
      AgentSafe                   claims the single-use grant, forwards the exact bytes once
          │
          ▼
   Target Service / API
          │
          ▼
       finalize                   COMMITTED | FAILED | INDETERMINATE, on the Decision Dossier

AgentSafe owns ingress and interception, action extraction and normalization, enforcement of the verdict, claim-before-forward, forwarding, effect evidence, finalization, fail-safe behavior and the local ergonomics. Decionis owns execution authority: policy evaluation, ALLOW / BLOCK / ESCALATE, policy versioning, ExecutionBinding semantics, Presence verification, Decision Dossiers, and the verification of evidence and authority. AgentSafe is not a second policy engine: the local demo authority is a loopback double of the Decionis routes, named local/demo everywhere, refused in production.

State What happened The caller sees
ALLOW The grant was claimed and the exact request forwarded once The upstream's response, plus agentsafe-decision, agentsafe-dossier-id, agentsafe-execution
ESCALATE Held for a person; with Presence, a resume asks Decionis again 202, execution: HELD, a resume path
BLOCK Refused; nothing forwarded 403 with the dossier that records why
AUTHORITY_UNAVAILABLE Decionis could not be asked; fail-closed refuses, fail-open forwards ungoverned and records it 503 with Retry-After, never a BLOCK
SHADOW Forwarded unchanged while Decionis recorded what it would have decided The upstream's response, agentsafe-mode: SHADOW

What is bound and forwarded, and what each outcome finalizes as, is docs/gateway/http-interception.md; what happens when the authority cannot be reached is docs/gateway/failure-policy.md; the configuration, one schema for every distribution with the precedence flags, environment, file, defaults, is docs/gateway/configuration.md. A route's optional policyId or policyVersion selects a published Decionis policy and is bound into the action's top-level parameters; its action names the transaction for rules to match. These selectors come from operator configuration, never the caller's body. The gateway is addressed: the workload is pointed at it. agentsafe intercept holds the same boundary without configuring the workload, by redirecting a pod's or a container's outbound 80 and 443 into AgentSafe at the network layer, reporting every destination it reaches, and governing the ones the operator names under an authority the workload trusts; docs/gateway/transparent-interception.md says what is observed, what is governed, and what the authority costs.

Install

One runtime, five ways to run it. The executable, the packages, the image and the chart are built and smoke-tested by the release workflow from the same code; nothing about authority, binding, claim or finalization differs between them.

Where How Page
macOS brew tap decionis/agent-safe https://github.com/decionis/agent-safe-pipeline && brew trust decionis/agent-safe && brew install agentsafe macOS
Linux curl -fsSL https://raw.githubusercontent.com/decionis/agent-safe-pipeline/master/packaging/install.sh | sh, or the .deb / .rpm with a hardened systemd unit Linux
Docker ghcr.io/decionis/agentsafe:<version>, the same digest as docker.io/decionis/agentsafe:<version>; distroless, non-root, two architectures Docker
Kubernetes helm install agentsafe oci://ghcr.io/decionis/charts/agentsafe, one Deployment in front of one Service Kubernetes
Hosted {id}.decionisedge.com, the same runtime, run by Decionis for the tenants it onboards: enforcing on a gateway of the tenant's own (private beta), or in shadow; no self-serve sign-up yet Hosted
From source git clone, pnpm install --frozen-lockfile, pnpm build, node packages/agentsafe/dist/Cli.js Quickstart

Every install page ends at the same place: send your first governed action.

Govern, the workflow gate, ships with the same releases as one static binary per platform: curl -fsSL https://raw.githubusercontent.com/decionis/agent-safe-pipeline/master/govern/install.sh | sh, brew install govern from the same tap, or go install github.com/decionis/agent-safe-pipeline/govern/v2/cmd/govern@v2.1.1; its README has the rest.

Golden adversarial demo

One legitimate path and eight adversarial attempts against the same boundary, offline, in a few seconds, with every expectation asserted:

git clone https://github.com/decionis/agent-safe-pipeline.git && cd agent-safe-pipeline
pnpm install --frozen-lockfile
pnpm --filter @decionis/agent-safe-example-golden-adversarial demo

A treasury agent proposes a USD 250,000 wire, a remote Chief Risk Officer completes a FIDO2 plus liveness ceremony, and exactly one wire executes. Injected authorization fields, a fabricated ALLOW, an asserted approval, a swapped receipt, a post-approval amount change, a replayed grant, 25 concurrent claims, a shadow observation, and an expired grant all fail to execute. The run exits 0 only when that holds. See examples/golden-adversarial-demo, the bank-audience walkthrough in docs/remote-cro-authorization.md, and the receipt semantics in docs/presence-evidence.md.

The same proof for infrastructure, and for the adversary a credential check cannot catch:

pnpm --filter @decionis/agent-safe-example-infra-scale demo

An infrastructure agent with a valid identity and a valid credential proposes deployment.scale for inference in prod-eu at 96 replicas and is allowed. The same agent, with nothing forged, then proposes 960 replicas, a service outside its remit, another cluster, the 96 decision with 960 substituted after authorization, an approval for 256 presented for 512, a replayed grant, and a direct call to the cluster: nothing executes, because authority was bound to the exact action and not to the identity. See examples/infra-scale-demo and the Compromised Principal Test.

And its counterpart, where the principal is honest and the world changes between the decision and the commit:

pnpm --filter @decionis/agent-safe-example-changed-conditions demo

A deploy agent's queued canary meets a configuration changed at the path it read, a target group that grew, a second rollout racing for the last unit of the allowance, a withdrawn change approval, a policy release, and a security group reclassified as production; a grant is replayed, substituted, and carried into another organisation, and the agent tries to raise its own ceiling. Every one is refused at the commit, every legitimate counterpart (a renewal, a safe retry under the same identity, reauthorized work after a repair) completes exactly once, and a lost acknowledgement is reconciled without a second send. The recording target behind agentsafe test counts what reached it. The race is refused because the allowance is a material signal the deploy API re-versions with each commit, and, when the allowance is published after the commit instead of with it, because the authority also holds it as an allowance it reserves with the grant and counts at the commit. See examples/changed-conditions-demo and the Changed Conditions Test.

Execution lifecycle

For a consequential action, in every distribution and in the library alike:

request → normalize intent → enforce-and-bind → ALLOW | BLOCK | ESCALATE

ALLOW    → claim-token → forward the exact authorized action, once → capture effect → finalize-token
           COMMITTED | FAILED | INDETERMINATE
BLOCK    → nothing is forwarded
ESCALATE → nothing is forwarded → Presence, or a managed ceremony Decionis runs → signed approval
           evidence → Decionis reauthorization → a new grant → claim → execute once → finalize

An ESCALATE is never turned into an ALLOW locally, and a Presence approval is never trusted without Decionis reauthorization. The pages under docs/authority map each step onto the protocol: ExecutionBinding, claim and finalize, Presence, evidence, and how those records relate to the SCITT drafts for agent actions, SCITT statement profiles. The provider's half, the procedure by which a system of record or the hop in front of it refuses what the authority never claimed, is the Verifying Provider Profile, with vectors any implementation can run and independent verifiers that run them, for Envoy ext_authz and Kong, for Spring and Apigee, for Rust services with a tower layer, and for ASP.NET Core. A provider that verified the claim can answer with its own signed receipt of the effect (VP-3): the executor forwards it unread at finalization, and Decionis verifies it against the key the organisation registered for the provider and records it with the commit, so the dossier carries the provider's signature over what happened and not only the executor's report of it.

Production invariants
  1. Agent input contains only the proposed action, target, and parameters. Tenant, actor, downstream target, and credentials come from trusted runtime configuration.
  2. The exact canonical intent is hashed and expires quickly.
  3. Decionis independently decides. Network errors, malformed responses, missing grants, or binding mismatches fail closed.
  4. Presence proves a human approved that exact intent; Presence never directly authorizes execution. Decionis verifies the receipt and re-evaluates policy.
  5. The grant is bound to the intent, decision, audience, and expiry and is claimed atomically before the handler runs; the attempt outcome is finalized with the authority afterwards as evidence, never as authority.
  6. Downstream credentials exist only behind the trusted executor.
  7. Every decision is evidence-bearing. An ALLOW whose response lacks a dossier identifier or grant is refused as non-executable, and an executed result retains its consumed {decisionId, dossierId, grantId} binding. A dossier identifier is never an execution credential.

Presence

Presence, the adaptive human verification layer, supports two explicit integration levels. In DIRECT mode, the trusted executor coordinates Presence and returns the receipt reference to Decionis. In MANAGED mode, the executor asks Decionis to orchestrate Presence and polls Decionis for a terminal status. Both modes require independently signed Presence evidence, exact-intent verification, current-policy re-evaluation, and the same claim-before-handler grant path. Invitation delivery and Presence evidence are never execution authority, and approval cannot revive a five-minute intent after it expires.

The gateway holds an ESCALATE and, with presence.managed: true, asks Decionis to orchestrate the ceremony; a resume through /_agentsafe/v1/escalations/{intent_id}/resume asks Decionis again, and only a fresh ALLOW with a grant executes the held request, once. docs/authority/presence.md says what a receipt establishes and what it does not; docs/human-approval.md and docs/presence-evidence.md are the protocol pages.

See docs/trust-boundary.md before integrating a real downstream API.

Decision evidence

Five records matter and are easy to blur in a summary: the captured intent, the verified human approval, the execution grant, the Decision Dossier, and the outcome. Only the grant authorizes anything, once; a dossier identifier is never an execution credential. What each record establishes says so row by row.

The Execution Authority architecture has two load-bearing properties. Position on the execution path creates control: nothing runs without an independent decision at the moment of action. The evidence record creates accountability that compounds: every decision adds to an auditable history of what was authorized, under which policy, on whose approval.

Every Decionis evaluation is recorded as a Decision Dossier, and each DecisionGate returns the decisionId and dossierId of that record. Escalations attach the verified Presence receiptDossierId, and every executed action returns the consumed grant's {decisionId, dossierId, grantId, intentHash} binding, so execution results correlate to their evidence without extra bookkeeping. In the research vocabulary, dossiers compound into a Decision Chain: tamper-evident lineage linking evaluation, approval, and execution evidence across workflows. Decionis maintains that record; this repository's contribution is that execution cannot bypass it.

Treat dossier identifiers as audit and support references, never as execution credentials, see docs/decision-dossiers.md.

What each record establishes

Fluent summaries lose these distinctions first. Each row names the record or state, what it establishes, and what it does not.

Record or state What it establishes What it does not establish
Captured intent (IntentCapture, intentHash) The exact action, target, and parameters the agent proposed, bound to trusted tenant, actor, and downstream context, hashed and expiring That the agent's facts, identities, or amounts are true; that anything may execute
Verified human approval (Presence receiptDossierId) A named person approved that exact intent hash under the assurance the receipt records Permission to execute: Decionis re-evaluates policy with the receipt, and only that evaluation can issue a grant
Execution grant (authorization on an ALLOW) Permission for one attempt at one intent, claimed once through the AuthorizationVerifier immediately before the handler runs Anything after expiry, for another intent hash, or on a second presentation; a dossier identifier, an invitation link, or an earlier ALLOW is not a substitute
Decision Dossier (decisionId, dossierId) The record of why Decionis allowed, escalated, or blocked: policy snapshot, inputs, evidence, and grant metadata An execution credential; proof that the underlying business judgement was right
Single claim, COMPLETED The grant was consumed once and the trusted handler returned a provider result An exactly-once downstream business effect or independent confirmation of settlement; whether an observation counts as CONFIRMED is the authority's judgement, not this package's
UNKNOWN_AFTER_DISPATCH, finalized INDETERMINATE Dispatch began and completion could not be proved Permission to repeat the side effect: reconcile through provider idempotency and read-only lookup, never by a second dispatch
DEFINITELY_NOT_EXECUTED, finalized FAILED Dispatch began, the provider refused it deterministically, and nothing was effected Permission to try again: the refusal was about this attempt, and another needs a fresh decision and a fresh grant
Gateway read-back (EFFECT_OBSERVED, report effect) For a write whose API profile names its effect: what the target's own read stated after the upstream's 2xx, against what the grant committed to; CONFIRMED, or EFFECT_MISMATCH, which the authority turns into a breach That the platform's other records, or the business, agree; CONFIRMED at the authority needs an observer on its allowlist; any write the profile names no effect for holds only the upstream's acknowledgement (PENDING)
Refusal observation (REFUSAL_OBSERVATION) The target's version read before the decision and again after the refusal: UNCHANGED means no write landed on that one resource in that window, by any route Anything about another resource, another time, or a route a later write might take; a write the profile names no read for is not observed
Shadow observation (ShadowPipeline, mode: "SHADOW") What Decionis would have decided about an action that already ran: a verdict and a dossier, no grant Enforcement, a grant, or a no-write test environment; the production write happened as before
Library boundary (this package) Intent capture, the gate, verification, and claim-before-handler dispatch inside the trusted integration Host isolation, IAM, network egress, credential storage, or incident response
Trusted executor (createTrustedExecutor) What one process verifies about itself and enforces at its own door: the host posture HostPosture can observe, caller principals with roles and their own credentials, egress sealed to the origins EgressPolicy was configured with, a durable attempt journal reconciled by StartupReconciler, the ceilings in HardLimits, BEAP-vocabulary effect evidence, HaltSwitch, and hash-chained evidence with an offline-verifiable export Node or kernel isolation, a CNI actually enforcing the NetworkPolicies the kit declares, an HSM or KMS, the authority's policy, or a bank's core correctness
Executor evidence bundle (agent-safe.evidence-bundle/1) What one executor process can say about an incident: both hash-chained streams as it still held them, the open attempts, the posture by check, the chain heads, a configuration digest, and every file's own digest Origin, unless a signature over the manifest verifies against a key the reader brought; completeness, since it carries a bounded window and says how many lines it dropped; and it holds no parameter, no provider body, no secret and no digest of one

Verify Decision Dossiers

The repository-owned dossiers/ corpus checks the offline verifier against synthetic ALLOW, BLOCK, and ESCALATE proof bundles, including an owned-workspace, execution-bound vector. Its private signing key is intentionally public so anyone can regenerate the corpus; it is not a production credential and cannot establish that a production dossier is authentic.

pnpm exec decionis-verify \
  --file dossiers/vectors/allow.json \
  --jwks dossiers/corpus-jwks.json

To verify the distinct production claim, obtain a live dossier through an authorized route and run the pinned verifier against the live JWKS without committing the dossier:

npx -y @decionis/verify@0.4.0 \
  --file /absolute/path/to/live-decision-dossier.json \
  --jwks https://api.decionis.com/v1/.well-known/decision-dossier-jwks.json

See the corpus README for regeneration, provenance, expected failures, and the trust boundary between synthetic conformance and production verification.

The intent side of the same offline check is agentsafe verify intent: every vector under conformance/ reproduced from its bytes by the installed runtime, or the canonical bytes and hash of a binding of your own, printed to compare with another implementation's (Agent-Safe Intent v1):

agentsafe verify intent conformance/vectors conformance/agent-safe-intent-v1.json

Outside this repository, decionis/php-client (PHP 8.1 or later, Apache-2.0) reproduces the canonical bytes and hash of every vector in the corpus, framework records included. Decionis for Drupal uses it, and any PHP code can install it with composer require decionis/php-client.

Read the rest of the Agent Safe Pipeline README on GitHub

Questions about Agent Safe Pipeline

What is the Agent Safe Pipeline MCP server?

Authorize consequential AI agent actions before execution. Agent Safe Pipeline is maintained by decionis on GitHub at decionis/agent-safe-pipeline, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Agent Safe Pipeline MCP server?

Add Agent Safe Pipeline to your AI app's MCP config with the command npx -y @decionis/mcp@0.6.0. In Claude Code, run claude mcp add --transport stdio agent-safe-pipeline -- npx -y @decionis/mcp@0.6.0. To run Agent Safe Pipeline this way you need Node.js installed.

Does Agent Safe Pipeline need an API key?

The registry lists no required keys for Agent Safe Pipeline. Check the Agent Safe Pipeline README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Agent Safe Pipeline an official MCP server?

No. Agent Safe Pipeline is a community server maintained by decionis. Community servers can be excellent; read the code and the open issues before you give Agent Safe Pipeline access to company data.

What license is Agent Safe Pipeline under?

Agent Safe Pipeline is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Agent Safe Pipeline; the service it connects to has its own terms.