Skip to content

Receipts

Every report from a research agent ends with a receipt block: one line for each source the report cites. The agent pack page says which agents write the block, and the example brief shows real ones.

This is one line from the example brief, cut into five parts so it fits the page. In the report it is a single line:

bytedance/deer-flow@35656d6a9fe2ac76ddcf40335ede7361504ddf5b
| backend/packages/harness/deerflow/utils/retry_after.py:1-27
| class P (MIT)
| copied with notice
| notice: Copyright (c) 2025 Bytedance Ltd. and/or its affiliates; Copyright (c) 2025-2026 DeerFlow Authors; MIT License

The five parts are:

  • The source is written owner/repo@<40-character commit>: the repo and the commit the engine indexed. The commit is the 40 characters after /blob/ in the hit’s permalink.
  • The location is written path:first-last: the file’s path in the repo, then the first and the last line the report cites.
  • The license is written class P (MIT): the class the engine gave the file and its SPDX name. A class U file has no name, so the field says none. The license policy explains the six classes.
  • The use is either pattern only or copied with notice. It says what you do with the source.
  • The notice is written notice: <copyright line and license name>. It appears only on a copied with notice line. It holds the copyright line and the license name to keep, read from the repo’s license file.

A report that cites no source ends with No sources cited. The last line of every block is Licence classes are automated verdicts, not legal advice.

You do not have to trust a receipt. The line holds everything you need to check it.

  1. Build the permalink: https://github.com/<owner>/<repo>/blob/<commit>/<path>#L<first>-L<last>. The engine builds its own permalinks the same way. For the deer-flow line it is https://github.com/bytedance/deer-flow/blob/35656d6a9fe2ac76ddcf40335ede7361504ddf5b/backend/packages/harness/deerflow/utils/retry_after.py#L1-L27.

  2. Open it. GitHub shows the file as it was at that commit, so you see the lines the agent saw. Compare them with what the report says they show. In a terminal, the same check reads the raw file at the same commit:

    Terminal window
    $ curl -s https://raw.githubusercontent.com/bytedance/deer-flow/35656d6a9fe2ac76ddcf40335ede7361504ddf5b/backend/packages/harness/deerflow/utils/retry_after.py -o retry_after.py
    $ wc -l retry_after.py
    27 retry_after.py
    $ sed -n '1,3p' retry_after.py
    """Bounds for provider-supplied model retry delays."""
    import math

    The receipt cites lines 1 to 27, which is the whole file. If the repo is in your index, corpus_read returns the same lines at the indexed commit; the tools reference lists its arguments.

  3. On a copied with notice line, read the repo’s license file at the same commit and compare it with the notice: field:

    Terminal window
    $ curl -s https://raw.githubusercontent.com/bytedance/deer-flow/35656d6a9fe2ac76ddcf40335ede7361504ddf5b/LICENSE | sed -n '1,4p'
    MIT License
    Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
    Copyright (c) 2025-2026 DeerFlow Authors

    The two copyright lines and the license name are what the notice field holds.

  4. Read the class as an automated verdict. When a decision matters, read the license file yourself at the permalink the hit gives you.

The commands ran on 13 November 2026. The output is shown as it came, cut to the first lines.

The last field is the one that tells you what to do.

  • pattern only: your code takes the idea or the structure and writes its own text. An agent writes this unless it tells you to paste lines or you already did.
  • copied with notice: lines of the source are in your code, or are about to be. It is only for classes P, B, W and C. The line adds the notice to keep. For W and C it also says that the license’s terms reach your code.
  • A source of class R or U is always pattern only. The server returns the location of those files and no code text, so there is nothing to copy.

The provenance-guard agent writes one line for the match it found. The line is copied with notice when your snippet is identical to the source or adapted from it, and pattern only when the two are similar in idea only. With no match it writes No sources cited.

Keep the text in the notice: field. It is the copyright line and the license name the agent read in the repo’s license file, so check it against that file as in step 3. What copying asks of you depends on the class. These are the sentences the server sends with each class:

  • P: you may reuse the code if you keep its copyright and license notice.
  • B: reuse the code with its notice. Leave the names and logos out.
  • W: keep the notice. Changes to these files stay under the same license.
  • C: keep the notice. Reuse puts your derived work under the same license.
  • R and U: location only. Reuse the pattern.

A verdict names the family a license belongs to. It does not read your project, your use or your jurisdiction, and it can be wrong, because license texts are written in prose and repos mix licenses. Verdicts are automated and are not legal advice.