DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to keep a chained record of every agent API action with Agent Safe Pipeline

Print and store the evidence lines for each intent, decision and forward the gateway handles.

Short answer: Install AgentSafe with Homebrew: brew tap decionis/agent-safe https://github.com/decionis/agent-safe-pipeline && brew trust decionis/agent-safe && brew install agentsafe; then 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. All steps.

Who it is forA security or compliance reviewer who needs to show what an AI agent proposed, what was decided and what was forwarded.

The problemWithout 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.

The outcomeVerbose output with chained evidence lines for each request, plus a Decision Dossier id beside each forwarded or refused action.

What you need first

  • 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

Steps

  1. Install AgentSafe with Homebrew: brew tap decionis/agent-safe https://github.com/decionis/agent-safe-pipeline && brew trust decionis/agent-safe && brew install agentsafe
  2. Check what would stop the gateway from governing: agentsafe doctor
  3. Start the gateway with verbose evidence: agentsafe proxy --upstream http://localhost:3000 --port 8080 --verbose (inferred, check the README)
  4. 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)
  5. Read the chained evidence lines and note the dossier id returned with the decision.

Prompt for your agent

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.

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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for decionis/agent-safe-pipeline and "Keep a chained record of every agent API action"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer