Tutorial: File Analysis Agent
This agent is designed to manage document file uploads in .txt or .pdf formats.
PDFCrowd API Key
- Go to https://pdfcrowd.com/ and create an account if you don’t have one yet.
- Navigate to the left side bar and click “API v2 License”. Copy your API Key and store in a secure location, or you can add them to your SmythOS vault. Click here to learn more about adding your keys to the vault.

Base64 Conversion
- Go to https://www.base64encode.org/
- Enter your PDFCrowd username and API key in the following format:
username:apikey

- Next, click
Encode, then copy the converted code and store it in a secure location.

Agent Setup
- In SmythOS, navigate to the templates tab.

- You can scroll down to find the
File Analysis Agentagent or simply search for it in the Search tab, then click theRemixbutton.

- Allow the template to initialize and configure.
PDF to Text Component Setup
- In the builder, find the
PDF to Textcomponent. Click the gear icon to open the settings, then click the key icon.

- Scroll down to the bottom and click
Add Key.

- Name your API key for easy identification, enter the Base64 key of your PDFCrowd credentials, and click
Saveto continue.

Click here to learn more about adding your keys to the vault.
- Remember to click the check icon to save your configuration.

- You’re all set!
Agent Test
- In the builder, enable debug mode.

- Navigate to the APIEndpoint component and click the bug icon.

- Click
Choose Fileto upload the file you want to analyze, then clickStep.

- The module will turn green when completed. Click
Stepin the top right corner of the builder for a step-by-step process of the modules, or clickRunto execute the entire process.

- Hover over
replyon the LLM component to view the outputs.
