Skip to content

How Shastra keeps AI-drafted citations tied to your sources

Shastra team · · 2 min read

Short answer: Shastra's assistant never writes citations itself. It marks which of your evidence passages each sentence relies on, and Shastra's server turns those marks into citations. A citation to a source you did not adopt cannot reach your document.

The problem: fluent text, invented references

A language model predicts plausible text. Asked for a literature review, it can produce a reference that looks right — authors, year, journal — but does not exist, or exists and says something else. In research writing that is not a style issue; it is an integrity issue that the author answers for.

How the assistant works in Shastra

  1. You choose the evidence. The assistant works only with references you adopted into the topic you are writing in. Today it grounds its answers in the abstracts of those works and tells you when that is all it had.
  2. Passages get one-time tokens. For each request, the relevant passages are labelled with random tokens. The model is asked to mark every sentence that comes from a source with the token of that passage. It is never shown a list of citations it could copy.
  3. The server resolves citations. When the answer returns, Shastra replaces each token with a citation to the adopted reference behind it. Tokens that were not issued for that request are deleted, and author–year or numbered citations typed by the model are stripped.
  4. Unsupported text is flagged. A sentence that states facts without a token is marked uncited. A cited sentence that shares few words with its passage is marked needs review.
  5. You decide. You accept, edit or reject every suggestion. Those decisions are recorded in a tamper-evident authorship trail, which pre-fills the AI-use declaration when you export.

What this guarantees — and what it does not

It guarantees that every citation the assistant inserts points to a reference you adopted in that topic.

It does not guarantee that the cited passage fully supports the sentence. The needs review flag is a simple word-overlap check — a signal, not proof — and abstracts carry less evidence than full papers. Read the passage behind each citation before you keep a sentence; Shastra shows it to you when you click the citation.

Why the author stays responsible

Shastra is a writing workspace, not a ghost-writer. The tools are designed to make your evidence visible and your decisions traceable, so that the paper you submit is one you can stand behind.

See how the assistant works or compare plans.