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.
Read a receipt line
Section titled “Read a receipt line”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 LicenseThe 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 classUfile has no name, so the field saysnone. The license policy explains the six classes. - The use is either
pattern onlyorcopied with notice. It says what you do with the source. - The notice is written
notice: <copyright line and license name>. It appears only on acopied with noticeline. 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.
Check a source yourself
Section titled “Check a source yourself”You do not have to trust a receipt. The line holds everything you need to check it.
-
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 ishttps://github.com/bytedance/deer-flow/blob/35656d6a9fe2ac76ddcf40335ede7361504ddf5b/backend/packages/harness/deerflow/utils/retry_after.py#L1-L27. -
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.py27 retry_after.py$ sed -n '1,3p' retry_after.py"""Bounds for provider-supplied model retry delays."""import mathThe receipt cites lines 1 to 27, which is the whole file. If the repo is in your index,
corpus_readreturns the same lines at the indexed commit; the tools reference lists its arguments. -
On a
copied with noticeline, read the repo’s license file at the same commit and compare it with thenotice:field:Terminal window $ curl -s https://raw.githubusercontent.com/bytedance/deer-flow/35656d6a9fe2ac76ddcf40335ede7361504ddf5b/LICENSE | sed -n '1,4p'MIT LicenseCopyright (c) 2025 Bytedance Ltd. and/or its affiliatesCopyright (c) 2025-2026 DeerFlow AuthorsThe two copyright lines and the license name are what the notice field holds.
-
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.
Pattern only or copied with notice
Section titled “Pattern only or copied with notice”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.
Which notice to keep when you copy
Section titled “Which notice to keep when you copy”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.RandU: location only. Reuse the pattern.
What a receipt does not tell you
Section titled “What a receipt does not tell you”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.