The built-in News repository
Every user has a News repository from their first minute: current news from openly licensed publishers, kept to the last 30 days, which they can grant to any agent of their own to ground answers in recent events. It sits beside the CHAIN-R User Guide in the Built-in section of Knowledge → Repositories, and like every built-in resource it is maintained by CHAIN-R and cannot be edited (see CHAINR Bot for how built-in rows work). Users switch it on for their agents with Use in your agents on its page, or grant it from an agent's Knowledge tab. Either way the change is recorded in that agent's history. Its sources are listed, read-only, in the Built-in section of Knowledge → Sources.
It is defined in code in svc-core/app/services/system_resources/news.py: one website knowledge source per publisher feed, provisioned at startup and crawled by the ordinary website crawler (Website knowledge).
Correct use comes first
A source is in the repository only when its publisher's own terms allow what the platform does with it:
fetch it automatically;
keep it and index it in pieces;
show passages to the users of a commercial product.
The licence has to say so in terms. Silence is not permission. Every source records:
the licence it is used under;
the publisher's own reuse page;
the attribution that licence asks for;
the date its terms were last checked (
TERMS_CHECKED).
tests/test_news_sources.py holds every source to a licence that permits commercial reuse, and to a feed on the publisher's own domain.
The sources
| Source | Region | Licence | Read as |
|---|---|---|---|
| NHS England — news | UK | Open Government Licence v3.0 | articles |
| Office for National Statistics — releases | UK | Open Government Licence v3.0 | articles |
| European Commission — press releases | EU | CC BY 4.0 (Commission Decision 2011/833/EU) | feed entries |
| European Commission — digital strategy news | EU | CC BY 4.0 | best available |
| European Data Protection Board — news | EU | EDPB reuse notice | best available |
| Federal Reserve — press releases | US | Public domain (US federal work) | articles |
| NASA — news releases | US | Public domain (US federal work) | best available |
| NIH — news releases | US | Public domain (US federal work) | articles |
| NIST — news | US | Public domain (US federal work) | articles |
| NOAA — news | US | Public domain (US federal work) | feed entries |
| Global Voices | International | CC BY 3.0 | feed entries (full text) |
"Read as" is each source's feed_content in practice:
Articles: the feed carries a teaser, so each linked page is fetched as an article.
Feed entries: the page is never fetched. The European Commission's pages render in the browser. NOAA's pages refuse automated readers.
Best available: a mix. Full entries are kept from the feed; teasers are fetched.
Global Voices and NASA carry each item's whole text in the feed, so their pages are rarely fetched at all.
Left out, and why
Most commercial news is out. Publishers offer their feeds for personal use, and reusing their journalism needs a licence from the publisher. A deployment that has one can add those publishers as its own website sources. Several open publishers were checked and also left out:
| Candidate | Why not |
|---|---|
| European Central Bank | Commercial re-users must tell every paying reader, at each access, that the material is free. The platform cannot guarantee that. |
| European Parliament | Reuse is tied to reproducing the entire item. That is ambiguous for passage retrieval, so it is left out until clarified. |
| Bank of England | Website content may be used for non-commercial purposes only. |
| UK Parliament | Serves automated readers a Cloudflare challenge. That is the site declining crawlers. |
| NZ Government (Beehive) | Behind an Incapsula bot wall. |
| ICO | Openly licensed (OGL), but its news feed has been withdrawn. |
| Wikinews | Closed and read-only since May 2026. |
| ProPublica, The Conversation | CC BY-NC-ND and CC BY-ND. Non-commercial or no-derivatives terms do not fit. |
How it runs
Only while in use. A built-in source is crawled only while its repository is granted to at least one agent that is not itself built in (
web_crawl.system_sources_in_use). Nobody using it means no requests to anybody's site and no cost. The first crawl follows the first grant within one or two scheduler ticks (the job runs every 15 minutes, eight crawls a tick).Hourly, and cheap. Each crawl reads the feed. An entry already stored and not re-dated by the feed is neither fetched nor read again, so a quiet hour costs exactly one request per publisher. Only new or changed entries are fetched, embedded and stored.
Polite. Every fetch goes through svc-ai's fetcher: robots.txt is honoured, at most one request a second per host, and only https to public addresses. A feed's link to another publisher's page is never fetched. Such an entry is kept from what the feed says.
A rolling window. Pages older than 30 days (
max_age_days) are removed at the end of each crawl, with their chunks and stored snapshots. An entry already past the window is never stored. Otherwise it would be stored, removed, and fetched again every crawl for as long as the feed lists it. News is kept as news, not as an archive.Credited on every passage. Each source's attribution and licence link are written onto every indexed chunk, with the article's publication date and author. A citation shows them: "Published 30 Sep 2026 · Contains public sector information licensed under the Open Government Licence v3.0. Licence". The model sees each passage's publication date.
On a source's page
A built-in source's trust panel (knowledge) has its licence and credit met: its attribution and licence link, plus when its terms were last checked (TERMS_CHECKED). Its Up to date signal and its Next crawl figure are read from this workspace only. Whether some other workspace's agent uses the source (and so keeps it crawled) is not this workspace's to learn, so until one of its agents reaches the source, the page says it is crawled only while an agent here uses it.
Who pays
Keeping news current costs embedding calls for new articles. There is no model generation. The usage ledger is keyed by user, and a built-in source has no owner, so this spend is the platform's, like indexing the CHAIN-R User Guide. It is not left unrecorded: every crawl stores what it cost on its own row (knowledge_crawls.usage: calls, tokens, estimated cost). The source's crawl history shows it. See Cost monitoring.
Turning it off
BUILT_IN_NEWS_ENABLED=false in svc-core's environment stops both provisioning and crawling. The platform then makes no outbound fetch that no user asked for. Rows already provisioned stay, stale, until it is turned back on.
Adding a source
Find the publisher's own reuse terms. They must allow commercial reuse of text, automated access and excerpting, with attribution.
Add the licence to
LICENCES(system_resources/licences.py, shared by every built-in read from a publisher) if it is new, with the attribution it asks for.Add a
NewsSourceSpecat the end ofNEWS_SOURCES, with a new fixed id, the feed URL, the licence key, the terms URL and the region.Probe it through svc-ai's real fetcher. The feed must parse and pass robots.txt, and articles must extract. Use
feed_content="entry"when the pages cannot be read.Update
TERMS_CHECKEDand the tables above.
A source dropped by a release leaves the repository, so no agent reaches it and nothing crawls it. Its row and history stay.
The same rules hold every other built-in read from a publisher: the Regulation & security updates feeds (NCSC, GOV.UK's DSIT and AI Security Institute) and the Domain reference pages (UK data protection law, ICO and NIST guidance, security guidance). See knowledge.
Limits
Public-sector heavy. The licences that fit are mostly government ones, so this is official news: policy, regulation, statistics, science and health. Global Voices is the independent journalism.
Excerpts for some. For the European Commission and NOAA only the feed's own summary is kept, a paragraph at most.
English only, and UK, EU and US centred.
Terms change. Every source says when its terms were last checked. A publisher that changes its terms needs a release to follow.