Skip to content

ShowcasedPath oneEditorial & human approval

Italian Copy Reviewer

Reviews Italian website copy against a team style guide and cites the rules behind each correction.

by Giuseppe CastelluccioItalian copy QA reviewer for software sites

House-rule pairs fully right with the Knowledge Base versus the model alone
10/16 vs 0/16
Held-out generic pairs fully right on Oct 1, Knowledge Base versus model alone
11/12 vs 10/12
Grounded runs on Oct 1 that read at least one Knowledge Base entry first
56/56

What it does

A reviewer pastes a string. The agent rules on it and names its sources.

The user submits an Italian string, where it appears, and optionally the English source. The agent reads the team's style guide from a Sanity Knowledge Base before answering.

It returns a typed result: ok or error, the wrong fragments quoted from the text, a corrected version, and the paths of the Knowledge Base entries it used. A reviewer can see why a flag fired and fix the entry rather than the prompt.

The problem

General models catch some translation errors but cannot cite house rules.

Literal translations and wrong word choices keep reaching live Italian product pages. A general model spots some and misses others, and it cannot say which house rule it applied. Team-specific decisions, such as informal address or keeping plan names in English, differ from generic Italian, so a model has no way to know them without the style guide.

What they built

Style rules and glossary terms, each tied to real shipped mistakes.

21 rules and 24 glossary terms; 14 rules carry shipped strings with native corrections, 6 are house decisions.

  • l10nRule

    One style rule: category, severity, plain-language rule, preferred and avoided forms, real shipped examples with corrections.

  • glossaryTerm

    An English term, its preferred Italian rendering, forms to avoid, and a note.

The stack

Context MCP in knowledge-base mode behind the AI SDK.

  • Sanity Context MCP
  • Knowledge Base
  • Sanity Studio
  • TypeScript
  • Node 22
  • Vercel AI SDK
  • Gemini 3.1 Flash-Lite
  • Python
  • Claude Code

The hard part

Every flag must quote the offending words, and code drops flags without a real trigger.

Early runs showed the grounded agent applying entries whose trigger was absent, flagging correct text. Now each flag must quote wrong words present in the string, and flags based on the Title Case, plus-sign, or AI entries survive only if that trigger exists in the text.

The same filter runs on both arms for a fair comparison. Re-applied to saved training outputs, it lifted the grounded agent from 12/17 to 16/17 without losing a caught bug.

More from path one

See the full showcase