RivermarkRivermark
Core concepts

Auto-review

The review pass that catches defects before they reach you, and how to choose it.

Behind every request, Rivermark reviews its own work before the response is finalized: it checks the rendered output against your request and fixes what falls short. The auto_review object controls how that review runs. By default it's { "type": "self" }.

The review catches and fixes:

  • poor legibility: text over busy imagery, low contrast, tiny type,
  • overflow and clipping: copy that doesn't fit its frame, elements cut off at edges,
  • invented content: hallucinated copy, prices, or claims that weren't in your inputs,
  • edit failures: changes that were requested but not actually applied,
  • instruction drift: outputs that lost the plot of the original task.

Review types

typeWhat happens
"self" (default)The agent visually reviews its own output against the brief. Fast, cost-effective, and catches most issues.
"adversarial"A separate model, with a fresh context, reviews the output against the request visually. The agent is then provided the review and asked to fix the issues, and the process repeats. Catches the vast majority of issues, and is especially useful for automated pipelines with no human in the loop. Translates to, on average, a 10-30% increase in cost and takes longer.
"off"No review. The agent's first finished version is delivered. Cheapest and fastest, but might deliver incorrect output.
Adversarial review
{
  "task": "Design a 5-slide carousel. The copy below is final: use it word for word.",
  "auto_review": { "type": "adversarial" }
}

When to use adversarial review

Adversarial review is useful when the output goes out without a person reading it first, or when the subject matter is sensitive and strict adherence is required. Autonomous pipelines, scheduled content, and anything generated and published on a trigger without a human review can benefit from the additional assurance of adversarial review.

Self-review is a quick and effective way to catch most issues, but it suffers from self-bias. Even frontier models tend to be overly forgiving of their own output and can miss deficiencies, especially if subtle. Adversarial review is designed to separate the contexts of the main and reviewer agents, providing less opportunity for this bias to creep in.

Adversarial review costs more and takes longer than self review: the reviewer reads the whole request and every frame on each pass, and the agent spends extra turns on fixes. Check the cost field on real requests for your use case. If a design will be reviewed by a person, even briefly, or will be provided to the user for further editing and polish, self-review is usually enough.

Custom instructions

Both "self" and "adversarial" take custom_instructions. You can use this field to provide specific norms and constraints that the review should enforce. You can decide on this based on the use-case or testing; if not provided, the reviewer is asked for a holistic check of brief adherence, brand adherence, reference following, and legibility, which catches most issues.

Review with custom instructions
{
  "task": "Design a launch post for our new savings account. The rates are in the attached rate sheet. Legal line: 'Rates are variable and may change. Terms apply.'",
  "auto_review": {
    "type": "adversarial",
    "custom_instructions": "Every rate, fee and date must match the rate sheet exactly. Make no claim about returns beyond what the sheet states. The legal line in the task appears word for word."
  }
}

Turning it off

Opting out
{
  "task": "Apply this exact copy to the template and render.",
  "auto_review": { "type": "off" }
}

Turning review off results in modest savings of time and cost. We recommend leaving it on, as it is by default, because the review pass is what lets Rivermark make strong guarantees about output quality, and it's a major reason agentic template filling doesn't degrade in automated pipelines.

A reasonable exception: tightly-scoped mechanical tasks (template fills with known-good copy) at creativity 0, where inputs are trusted and throughput matters.

Review and creativity

Review runs at every creativity level. At higher creativity the agent explores a wider space of solutions; the review pass is what keeps adventurous output from shipping with defects. It's the difference between "bold" and "broken".

On this page