Agent Signal
The agent signal guardrail lets your AI agents request human review by embedding a special HTML comment in the email body. When Sluice detects the comment, it flags the email for review and shows the agent's message to the reviewer. The comment is automatically stripped before the email is forwarded — the customer never sees it.
| Default | Always enabled (cannot be disabled) |
| Analysis method | HTML comment pattern matching |
| Risk levels | Green / Orange |
How it works
Your AI agent includes an HTML comment in the email body using this format:
When Sluice processes the email:
- The comment is detected and the email is flagged as orange (review recommended)
- The agent's message ("I'm not confident about the pricing details in this email") is displayed to the reviewer in the dashboard
- The reviewer can approve, edit, or reject the email
- The
<!-- sluice: ... -->comment is automatically removed before the email is forwarded — the recipient never sees it
Setting up your AI agent
Add instructions to your agent's system prompt telling it when and how to use the sluice comment. Here's an example:
When drafting an email, if you are uncertain about any factual claim, pricing, policy detail, or if the customer's request is ambiguous, include an HTML comment in the format
<!-- sluice: your concern here -->. This will route the email to a human reviewer before it's sent. Be specific about what you're uncertain about.
Examples
Uncertain about a claim:
Ambiguous customer request:
Edge case the agent can't handle:
Use cases
Building safety into your prompts — Instead of hoping your AI agent is always right, give it a mechanism to say "I'm not sure." This is much safer than having the agent guess and potentially send incorrect information.
Gradual autonomy — Start with broad agent signal usage ("flag anything you're less than 90% confident about"), then narrow it over time as you build trust in your agent's responses.
Training data — The flagged emails and agent comments become valuable training data for improving your agent's prompts and knowledge base over time.