Salient: an AI-native engine for a GEO agency

Content that answer engines can cite: an agent pipeline with an LLM judge checked against human verdicts, capped self-rewrites with escalation, and retrieval with cross-encoder re-ranking.

Role
Architect & sole engineer
Period
Jun – Nov 2026
Stack
PythonFastAPITemporalLangGraphPostgreSQLpgvectorLangfuseRailway

Salient is a product for generative-engine optimisation: getting a brand cited in the answers AI assistants give. The design premise is an agency run by software, not a SaaS with AI features bolted on. It went through two codebases. The agency engine (June to September 2026) runs delivery end to end, with an operator console and a read-only client portal. Salient GEO (September to November 2026) is a WordPress plugin with a LangGraph service, for site owners without an SEO team. It is an MVP before public launch, deployed on Railway.

The problem

Answer engines cite pages that hold first-hand facts and state them plainly. Generated text without those facts is cheap to produce and worth nothing. So the hard part is not writing. It is deciding whether a draft is good enough to publish, at a volume where no person reads everything.

A judge you can audit

Drafts are scored by an LLM judge against a rubric. Judge prompts, rewrite prompts and rubrics are versioned files: eight judge versions so far, each new one added by a migration, so every score can be traced to the exact prompt that produced it. Changing the judge is a reviewed change, not an edit in a dashboard.

The judge is only useful if it agrees with people, so its verdicts are compared with human verdicts on a hand-curated set, using Cohen’s κ. The target is κ ≥ 0.5. A drop of more than 0.10 triggers recalibration, a person refreshes the human baseline every quarter, and κ is reported on every pull request that touches content. On the first live runs the sample was too small for κ to mean much, so at small sample sizes it is advisory and a person makes the call. I would rather have an honest “not enough data” than a green number.

Self-review with a ceiling

The writing agent scores its own draft with the judge and rewrites against the findings, at most three times. If the draft still fails, it goes to a person with the reason attached. A draft that lacks the client’s first-hand facts escalates at once, because no amount of rewriting can invent them. In Salient GEO the editorial loop has two rounds by default before a person sees it. A loop without a ceiling only spends money more slowly.

Evidence retrieval

Claims are backed by evidence from the client’s knowledge base. Retrieval combines pgvector and BM25 with Reciprocal Rank Fusion, takes a pool of candidates and re-ranks them with a cross-encoder, bge-reranker-v2-m3, served by Hugging Face Text Embeddings Inference on Railway. On CPU the ONNX build of the model was the one that made sense: the default build took about two minutes per call.

What happens when the reranker is down depends on what the result is for. For a cited claim, retrieval retries once and then holds that section, because a citation pointing at the wrong evidence is worse than a late one. For broader evidence search it falls back to vector order and records that no re-ranking happened.

Running it

  • Durable execution on self-hosted Temporal in the agency engine; LangGraph with a Postgres checkpointer in Salient GEO.
  • Traces from OpenTelemetry into Langfuse, so a bad score can be followed back to the prompts and retrieved evidence behind it.
  • A golden set of 354 labelled items in four languages for the rubric evaluators, scored per language with precision, recall and F1.
  • About 7,600 tests in the agency engine and about 1,800 in Salient GEO, with an evaluation workflow in CI.
  • More than 1,800 commits in the engine and more than 580 in Salient GEO.

Where it stands

The machinery is in place: versioned judging, calibration, capped rewrites and re-ranked retrieval. What is not proven yet is quality on real sites at scale, and the next step is measured runs on real sites rather than more features. That is the order I would keep: build the means to measure first, then believe the numbers it gives you.