Skip to content

Your first research run

This walks the loop on captured pages, with no network: the same investigation the examples run end to end.

The captured pages are in the repository. Run the steps from the top folder of a clone:

git clone https://github.com/KindTechUK/analects && cd analects

1. A claim, from a developer's own page

A developer's consultation page says what it will build. analects check reads the page's text and the facts you extracted from it, checks every quote is on the page, and says what is new, what contradicts what you hold, and what cannot be matched — writing nothing. Here the page is Apatura's page on Ravenscraig, and the facts are in examples/data/ravenscraig-mentions.json:

analects check tests/golden/sources/apatura/ravenscraig-the-project.txt \
   --source https://consult.apatura.energy/ravenscraig/the-project \
   --type management_statement --published-at 2026-09-22 \
   --mentions examples/data/ravenscraig-mentions.json --ops-out ops.json
analects write --ops ops.json            # stage them
analects review                          # what is waiting, and why
analects merge --all --confirm entity    # after you have looked

A figure that is reported everywhere but is not on this page is refused by name: the page is the evidence, not the headline.

Under confirm, merge --all holds a new entity for you. --confirm entity says you have read it.

2. Ask the graph

analects brief "Ravenscraig"           # what we know, what needs attention
analects get "Ravenscraig"             # current values, each with its confidence
analects trace "Ravenscraig"           # every claim, its quote and its capture
analects get "Ravenscraig" --as-of 2026-01-01

3. Corroborate from a register

analects import companies-house tests/golden/sources/companies-house/basic-subset.csv
analects import neso-tec tests/golden/sources/neso/tec-apatura.json
analects import neso-tec tests/golden/sources/neso/tec-newarthill.json
analects query --type interconnection_request --where "customer ~ APATURA"

The grid queue holds eighteen of Apatura's connections, and none is called Ravenscraig. A second, independent source raises confidence; a different value makes the property contested, and both stay visible.

4. Leave it better

analects truth "Ravenscraig" --set "An announced 550MW AI data campus. The only source is the developer's own page, and the widely reported £3.9bn is not on it. No connection in the grid queue is tied to it yet."
analects defer "Which grid connection is Ravenscraig's? The PSC register would settle it." \
   --reason missing_entity --entity Ravenscraig
analects merge --all --confirm truth     # you wrote it: land it

A truth is two to six sentences: what it is, what changed, what is unknown. Next time anyone — you or an agent — runs analects brief, it starts from here.

Run the full examples

bash examples/uk-data-centres.sh     # from a clone
bash examples/mp-interests.sh

Next: research with an agent.