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 Agent
agent or simply search for it in the Search tab, then click theRemix
button.

- Allow the template to initialize and configure.
PDF to Text Component Setup
- In the builder, find the
PDF to Text
component. 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
Save
to 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 File
to upload the file you want to analyze, then clickStep
.

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

- Hover over
reply
on the LLM component to view the outputs.
