> ## Documentation Index
> Fetch the complete documentation index at: https://fliqr.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Add files to an AI Agent

> Upload documents to Fliqr AI Files and attach them to an AI Agent so answers stay grounded in your PDFs, DOCX, CSV, and more.

AI Files are documents you upload once and attach to one or more Agents. Use them when your source of truth lives in files rather than a public URL.

## Supported uploads

Common formats include **PDF, CSV, DOCX, DOC, JSON, PPTX, TXT** (and similar text-extractable documents). Prefer text-based PDFs over scanned images.

## Upload and attach

<Steps>
  <Step title="Upload the file">
    Go to **AI Center → AI Tools → AI Files** and upload the document.
  </Step>

  <Step title="Edit the Agent">
    Open your AI Agent and find the **AI tools / files** section.
  </Step>

  <Step title="Select the file">
    Attach the uploaded file to the agent and save.
  </Step>

  <Step title="Test">
    In the Playground, ask a question that only the file can answer. Confirm the reply uses your content.
  </Step>
</Steps>

## Files vs knowledge sources

|          | [AI Files](/docs/core-concepts/ai-agents/files) | [Knowledge sources](/docs/core-concepts/ai-agents/knowledge-sources) |
| -------- | ------------------------------------------ | --------------------------------------------------------------- |
| Input    | Uploaded documents                         | URLs, uploads, plain text, YouTube                              |
| Best for | Internal PDFs, price lists, manuals        | Help centers and public pages                                   |
| Updates  | Re-upload / replace the file               | Re-train the source after content changes                       |

<Note>
  Keep each file focused. One giant mixed PDF is harder to retrieve from than several topic-focused documents.
</Note>

## Next

<CardGroup cols={2}>
  <Card title="Knowledge sources" icon="book" href="/docs/core-concepts/ai-agents/knowledge-sources">
    Crawl sites and index mixed source types.
  </Card>

  <Card title="Read documents" icon="file-lines" href="/docs/core-concepts/ai-agents/read-documents">
    Analyze documents customers send in chat.
  </Card>
</CardGroup>
