{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "decionis-agent-safe-pipeline--preview-enforcement-on-live-agent-traffic",
 "repo": "decionis/agent-safe-pipeline",
 "repo_url": "https://github.com/decionis/agent-safe-pipeline",
 "repo_slug": "decionis-agent-safe-pipeline",
 "title": "Preview what enforcement would change on live agent traffic",
 "page_title": "How to preview what enforcement would change on live agent traffic with Agent Safe Pipeline",
 "summary": "Run the gateway in shadow mode and read the report of what enforcement would have held or refused.",
 "who": "A team lead who wants evidence from real agent traffic before switching a gateway from shadow to enforcement.",
 "problem": "Turning on enforcement without data risks blocking legitimate work, and leaving it off leaves the target exposed.",
 "outcome": "A shadow report by action showing what enforcement would have held or refused, and how many of those the upstream accepted as sent.",
 "steps": [
  "Install AgentSafe with Homebrew: `brew tap decionis/agent-safe https://github.com/decionis/agent-safe-pipeline && brew trust decionis/agent-safe && brew install agentsafe`",
  "Start the gateway in shadow mode in front of your agent's API: `agentsafe proxy --upstream <your-api-url> --mode shadow` (inferred, check the README)",
  "Let the agent run its normal workload through the gateway for a representative period.",
  "Read the shadow report: `agentsafe status`",
  "Review the held and refused actions by type, then decide whether to switch to enforcement mode."
 ],
 "agent_prompt": "Using the decionis/agent-safe-pipeline repository, install AgentSafe and run it in shadow mode in front of <your-api-url>. After the agent has run its normal tasks, run `agentsafe status` and summarize what enforcement would have held or refused, by action. Verify that the shadow report reflects requests the agent actually sent before recommending enforcement.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Shadow results depend on the authority in use; with no Decionis key the report comes from a local demo policy, not your organization's real policy.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "typescript",
 "requirements": [
  "A terminal on macOS or Linux, with Homebrew, a Linux package, Docker or Helm available",
  "An HTTP API or tool endpoint you want the gateway to sit in front of, or the local demo target on localhost:3000",
  "Optional: a Decionis key from `agentsafe login`, if you want decisions from the Decionis control plane instead of the local demo authority"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/decionis-agent-safe-pipeline/preview-enforcement-on-live-agent-traffic/",
 "md": "https://dedupedai.com/use-cases/decionis-agent-safe-pipeline/preview-enforcement-on-live-agent-traffic/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/decionis-agent-safe-pipeline--preview-enforcement-on-live-agent-traffic.json",
 "api_version": "v1"
}
