Skip to content

TomPhillipsLabs/dify-sentinelproxy

Repository files navigation

SentinelProxy

Author: tomphillipslabs Type: tool Source repository: https://github.com/TomPhillipsLabs/dify-sentinelproxy

Self-healing evaluation for AI agents. Mirror each agent turn to SentinelProxy — its judge catches hallucinations, prompt injections, PII leaks and competitor mentions, then hands you a hardened system prompt.

Setup

  1. In SentinelProxy, open your project's Connect tab and copy the API key.
  2. In Dify, add the SentinelProxy tool and create a credential:
    • Project API Key — paste the key. Click Test to confirm it works.
    • Base URL — leave as https://sentinelproxy.tomphillips.uk unless you self-host.

Usage

Add the Log Agent Turn tool node after your LLM / Agent node and map:

Field Map to
User Input the incoming user message
LLM Response the model's output
System Prompt your agent's system prompt (optional)
Latency (ms) the call latency, if available (optional)

The node POSTs to /api/v1/ingest, which returns immediately and evaluates the turn asynchronously — it never blocks your workflow. PII is scrubbed at the edge before anything is stored.

Privacy

See PRIVACY.md.

About

Dify tool plugin that mirrors AI agent turns to SentinelProxy for self-healing evaluation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages