New Tool Radar

AI Agents & Automation

How to Add Knowledge Files to a Make AI Agent

Add knowledge files to a Make AI agent so it can look up reference material when it answers.

Schematic with three steps: Upload the files as knowledge; Point the instructions at the knowledge; Ask the test question and check the.

A Make AI agent can carry knowledge: files you upload that the agent searches when it needs specific information, instead of loading the whole file into memory. Add the files that hold the facts the agent must get right, such as a price list or a FAQ, and keep the instructions short by moving big reference material into knowledge. If the agent must process the full content of a file, map the file in the File field instead.

What you need

  • A Make AI agent already built in a scenario
  • One or two reference files, such as a FAQ or price list
  • A test question whose answer is only in those files

Step 1: Upload the files as knowledge

In the Make AI Agent module, click Add knowledge, upload a file from your computer, and repeat for each reference file. The agent searches these files when it needs specific information.

Step 2: Point the instructions at the knowledge

Add one line to the instructions telling the agent to look in its knowledge files for the facts in question, and to say when the files do not cover a question.

Step 3: Ask the test question and check the answer

Ask the test question and confirm the answer matches the file. If the agent answers from general knowledge instead, the file was not searched or the instruction does not point at it.

Worked example: synthetic knowledge check

The table below is a synthetic example. It shows the expected result of knowledge files; no file was uploaded.

Question Answered from file? Result
Price from the price list Yes Pass
Policy from the FAQ Yes Pass
Question outside the files No – agent says so Pass

Expected result (UNTESTED). two questions are answered from the uploaded files, and the third is refused as not covered. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • The agent searches knowledge files when it needs specific information; it does not load the complete content into memory.
  • To process a full file, map it in the File field instead of adding it as knowledge.
  • Keep long reference material in knowledge, not in the instructions, because long instructions can hit token limits.

Sources

See all