A daily briefing · Six languages · Open source
Language: English

How it works

From four thousand items to one page.

Herald is a job, not a server. Once a day it gathers the last 24 hours, builds the briefing, delivers it and exits. Most of the work is done before any model is called.

Herald pipeline

06:00, every weekday

  • Code only, no model
  • Calls an AI model
Herald pipeline Items left after each stage of a typical run: 4,112 fetched, 30 written. Only scoring and writing call a model. 01Fetch~1,240 sources, robots.txt checked4,112 02Normalizeclean text, language, canonical URL4,020 03Drop the already publishedhistory of past briefings3,870 04Pre-filtercategory rules, no model392 05Clustersame story, many outlets268 06Scorecheap model, category rubric268 07Selectthresholds, caps, diversity30 08Writestrong model, up to six languages30 09DeliverTelegram · WhatsApp · email · Slack · Discord · Teams · Google ChatMatrix · ntfy · Pushover · webhook · site and feeds Herald pipeline Items left after each stage of a typical run: 4,112 fetched, 30 written. Only scoring and writing call a model. 01Fetch4,112~1,240 sources, robots.txt checked 02Normalize4,020clean text, language, canonical URL 03Drop the already published3,870history of past briefings 04Pre-filter392category rules, no model 05Cluster268same story, many outlets 06Score268cheap model, category rubric 07Select30thresholds, caps, diversity 08Write30strong model, up to six languages 09Deliver Telegram · WhatsApp · email · Slack Discord · Teams · Google Chat · Matrix ntfy · Pushover · webhook · site and feeds
Items left after each stage of a typical run. Illustrative numbers; your categories and sources change them.

Stage by stage

Details in docs/architecture.md

  1. 01Fetch

    About 1,240 sources: news feeds, newsletters, official APIs (BCB, IBGE, CVM, SEC, FRED, Federal Register, Congress) and community signals. Sources can be in any language. Every request checks robots.txt and waits its turn.

  2. 02Normalize

    Clean titles and text, detect the language, resolve canonical URLs, recognise wire copy republished by many outlets.

  3. 03Drop the already published

    Herald remembers what went out, so yesterday’s story stays out unless there is something new.

  4. 04Pre-filter

    Each category’s rules rate relevance without any model, and keywords in one language never push down a story told in another. Most items stop here, and cost nothing.

  5. 05Cluster

    Local multilingual embeddings put the same story, told by different outlets in different languages, into one cluster.

  6. 06Score

    A cheap model scores each story against the category rubric, judging the content, never the language. Items with no concrete fact are capped.

  7. 07Select

    Thresholds, per-category caps and diversity rules pick the day’s stories.

  8. 08Write

    A strong model writes the headline, the summary and why it matters, in each language you chose: Portuguese, English, Spanish, French, Italian or German. Sources are attached by code.

  9. 09Deliver and record

    Every channel you enabled gets the briefing in its languages; history is recorded; the job exits.

Any language in, six languages out

Portuguese · English · Spanish · French · Italian · German

Sources can be in any language. Normalize records each item’s language, the pre-filter never favours one language over another, and clustering joins the same story whether it was told in Greek, Japanese or French. Scoring judges the content, not the language it came in.

The strong model writes each story in every language you turned on, and each channel gets the briefing in its own languages. Coverage now reaches Canada and Oceania as regions of their own, every South American country, Mexico, Central America and the Caribbean, and Europe country by country.

After every run

data/reports/

Each run writes a report: the funnel, sources that failed, and what every model call cost. Broken sources show up in herald sources health, and a failed run sends you a short alert instead of an empty briefing.

Herald run 20261130T090002-1a2b3c  window=24h  status=ok  (America/Sao_Paulo)
funnel  fetched 4,112 → normalized 4,020 → unseen 3,870 → prefiltered 392
        → clusters 268 → scored 268 → selected 30 → enriched 30
sources 3 skipped · 21 empty · 4 error · 262 ok
ai      scoring    claude-haiku-5-5   12 calls   71,204 in / 11,890 out  $0.0127
ai      enrichment claude-opus-5-5    30 calls  118,330 in / 24,770 out  $0.9687
total   $0.9814

Get started