Knowledge files let you attach documents to a hosted agent so it can reference them during a run — without you needing to pass the content in the prompt each time.
Attached files are injected into the agent's context window at the start of each run. The agent can reference them directly in its reasoning.
Only files you have toggled on for a specific agent are included. Uploading a file to Resources does not automatically attach it to all agents.
Large files consume a significant number of tokens. As a guide:
Tips:
context.overflow events if the agent seems to be ignoring the file| Format | Notes |
|---|---|
.txt | Plain text, most token-efficient |
.md | Markdown — headings and structure are preserved |
.pdf | Text is extracted; scanned/image PDFs are not supported |
.csv | Tabular data — best for small reference tables |
Toggle the file off in the agent's Knowledge tab to detach it. The file remains in Resources and can be reattached later. To permanently delete a file, go to Resources and delete it from there — this removes it from all agents.