Skip to content
Docs
Download Markdown
In this article

Agents and safety

Agent steps, and the steps that screen or redact what people submit.

Download Markdown

You are adding an agent, or a step that screens or redacts a submissionThe record created when work is submitted. Each heading is one of those steps or one setting on it.

Agent Task

Runs a wired-in platform agent on each item; its verdict routes downstream.

In the builder, you find this under Canvas.

Use it when

  • Each item should be judged by a platform agent you have wired in.
  • The agent verdict should decide which path the record takes next.

Agent instructions

CampaignA developer's data-production project and its settings-specific guidance the agent judges against.

In the builder, you find this under Agent TaskA specific item a contributor claims or enters.

Use it when

  • The agent needs guidance that is specific to this campaign.
  • You are writing that guidance here rather than changing the shared agent.

Inference timeout

How long the agent may run per item, in milliseconds.

In the builder, you find this under Agent Task.

Use it when

  • An agent call should stop after a time you set, in milliseconds.
  • You want a bound on how long one item can keep the agent running.

Predictions need review

Agent output is a prediction; route it to a human review step before accepting.

In the builder, you find this under Agent Task.

Use it when

  • Agent output should be treated as a prediction, not as an accepted result.
  • You want a person to review that prediction before Accept.

De-identify

Removes personal information: text is redacted and verified, and media fails closed.

In the builder, you find this under Canvas.

Use it when

  • A transcript should have names and addresses removed before a later step stores it.
  • Media that cannot be redacted should fail closed rather than pass through.

Watch out

The palette locks this step. It has not passed internal acceptance, so how it behaves on a live campaign is not guaranteed.

Independent verifier

Re-checks the redacted output with a different agent.

In the builder, you find this under De-identify.

Use it when

  • The redacted output should be checked again by a different agent.
  • You do not want the same agent to both redact and confirm its own result.

Confidence threshold

Detections below it are treated as residual personal information.

In the builder, you find this under De-identify.

Use it when

  • A weak detection should still count as personal information left behind.
  • You are setting the confidence below which that happens.

On residual PII

What happens if something remains: route to a human, or quarantine.

In the builder, you find this under De-identify.

Use it when

  • Something personal remains and a person should see the item.
  • The item should be quarantined instead of continuing.

Policy Gate

Checks each item for personal information and content rules before it passes.

In the builder, you find this under Canvas.

Use it when

  • Each item should be checked for personal information before it continues.
  • Content rules should be applied at this gate, before a later step stores the item.

Watch out

The palette locks this step. It has not passed internal acceptance, so how it behaves on a live campaign is not guaranteed.

PII — exact patterns

Fixed patterns for email, phone, card numbers and similar, with no model calls.

In the builder, you find this under Policy Gate.

Use it when

  • You want email, phone and card numbers caught by fixed patterns.
  • This check should not spend a model call.

Blocklist

One case-insensitive regular expression per line.

In the builder, you find this under Policy Gate.

Use it when

  • You have phrases or patterns that should be blocked, one expression per line.
  • Matching should ignore letter case.

PII — semantic

An agent finds names, addresses and context-dependent details.

In the builder, you find this under Policy Gate.

Use it when

  • Names and addresses are not in a fixed pattern and an agent should find them.
  • The detail depends on context, so an exact pattern is not enough.

Content policy

Plain-language rules an agent enforces, such as no competitor brand names.

In the builder, you find this under Policy Gate.

Use it when

  • You have a plain-language rule, such as no competitor brand names.
  • An agent should enforce that rule rather than a regular expression.

On violation

Block the item, flag it for review, or let it pass.

In the builder, you find this under Policy Gate.

Use it when

  • A violation should block the item.
  • A violation should be flagged for a person, or allowed to pass.

Code

Custom Python: define run(payload) and return the result.

In the builder, you find this under Canvas.

Use it when

  • You need custom Python that reads the payload and returns a result.
  • The function to define is run(payload).

Transform

Normalize, enrich or redact records with code or a model.

In the builder, you find this under Node palette.

Use it when

  • Records need to be normalized, enriched or redacted before the next step.
  • That change should happen in code or with a model, on this step.

Watch out

The palette locks this step. It has not passed internal acceptance, so how it behaves on a live campaign is not guaranteed. The palette also lists this step as not ready yet.