{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "decionis-agent-safe-pipeline--record-chained-evidence-of-agent-actions",
 "repo": "decionis/agent-safe-pipeline",
 "repo_url": "https://github.com/decionis/agent-safe-pipeline",
 "repo_slug": "decionis-agent-safe-pipeline",
 "title": "Keep a chained record of every agent API action",
 "page_title": "How to keep a chained record of every agent API action with Agent Safe Pipeline",
 "summary": "Print and store the evidence lines for each intent, decision and forward the gateway handles.",
 "who": "A security or compliance reviewer who needs to show what an AI agent proposed, what was decided and what was forwarded.",
 "problem": "Without a record tied to each decision, it is hard to reconstruct what an agent tried to do and why a request was allowed or refused.",
 "outcome": "Verbose output with chained evidence lines for each request, plus a Decision Dossier id beside each forwarded or refused action.",
 "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`",
  "Check what would stop the gateway from governing: `agentsafe doctor`",
  "Start the gateway with verbose evidence: `agentsafe proxy --upstream http://localhost:3000 --port 8080 --verbose` (inferred, check the README)",
  "Send a small payment that should be allowed: `curl -i -X POST http://127.0.0.1:8080/payments -H 'content-type: application/json' -d '{\"amount\": 50}'` (inferred, check the README)",
  "Read the chained evidence lines and note the dossier id returned with the decision."
 ],
 "agent_prompt": "Using the decionis/agent-safe-pipeline repository, install AgentSafe, run `agentsafe doctor`, and start `agentsafe proxy --upstream <your-api-url> --port 8080 --verbose`. Send one allowed request and one blocked request through the gateway, then list the evidence lines and dossier ids for both. Verify that each request has its own evidence line before you report back.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "By default the quickstart does not write evidence to disk, so use --verbose or set evidence.journalDir to keep a record, and the dossiers are synthetic unless a Decionis key is connected.",
 "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.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/decionis-agent-safe-pipeline/record-chained-evidence-of-agent-actions/",
 "md": "https://dedupedai.com/use-cases/decionis-agent-safe-pipeline/record-chained-evidence-of-agent-actions/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--record-chained-evidence-of-agent-actions.json",
 "api_version": "v1"
}
