Put your
organisation’s
research to work1

CorpusKit is an open source research portal. Search across reports, papers and other source material, ask questions of the collection and trace connections from one source to another. Answers cite the material they draw on, down to the relevant passage.

See how it works

Open source under the Apache 2.0 licence

Source code, setup guides and issue tracker on GitHub

Inside a CorpusKit portal

A portal is built around one organisation’s research collection. People can ask questions across it, search for specific material, browse the Library and inspect relationships in the knowledge map. Manage is where administrators add and maintain the material.

AskEnter a question in Ask. CorpusKit searches the collection and returns an answer with citations, sources and a confidence rating. Deep research is available when a broad question needs to be broken into smaller ones.

Field notes Illustrative portal

What affected seagrass recovery after the 2022 floods?

Question entered in Ask · whole collection

Seagrass recovered more slowly at sites where winter turbidity remained above the long-term median.

At those sites, light at the canopy fell below the minimum required by Zostera muelleri on 63 per cent of monitored days.

High confidenceBoth claims are directly supported by the cited reports
No direct evidence found
The collection does not compare the cost of restoration methods across estuaries.

Check the answer against the research

CorpusKit links claims in an answer to the source passages that support them. Quality scores show how relevant the retrieved material is, how closely the answer follows it and whether enough context was found.

  1. 1Choose a claim to check
  2. 2Open its numbered citation
  3. 3Read the highlighted passage in the resource
  4. 4Review the answer quality

Seagrass recovered more slowly at sites where winter turbidity remained above the long-term median. At those sites, light at the canopy fell below the minimum required by Zostera muelleri on 63 per cent of monitored days.2

Turbidity and light limitation in flood-affected estuaries

Report · 2023 · Water quality · 148 pages

Sites where mean winter turbidity remained above the long-term median showed significantly slower recovery of seagrass extent over the two years following the floods. At these sites, light at the canopy fell below the minimum requirement for Zostera muelleri on 63 per cent of monitored days.

Matched passage · page 41

Run CorpusKit with your collection

CorpusKit’s application code is published under the Apache 2.0 licence. Clone the repository, connect your research collection and run the portal on infrastructure you manage.

The repository includes instructions for local and container-based setup, along with the tests, build tasks and deployment configuration used by the project.

Content storage, retrieval and generation require an account with a connected knowledge service. The Apache 2.0 licence covers the CorpusKit application. Your infrastructure, connected services and research material have their own terms.

TerminalLocal setup

How changes are checked

Changes are submitted through pull requests. Before a pull request can merge, it must pass typechecking, linting, formatting, tests and a full build. These checks apply to everyone.

Before you deploy

  • A deployment needs a connected knowledge service for content storage, retrieval and generation
  • Production administration currently supports Microsoft sign-in
  • Application state is stored in SQLite-backed durable storage. Check that this suits the size and needs of your deployment
  • Review the issue tracker for known gaps and unfinished work

Be a part of CorpusKit3

Use a portal

Search, browse and ask questions in a CorpusKit portal maintained by your organisation.

See the portal example

Run CorpusKit

Connect your organisation’s research collection and maintain the deployment on infrastructure you manage.

View the repository