LlamaParse
Lost points on 4 checks
- cost6/10
- time3/10
- efficiency3/10
- zero errors0/10
The agent successfully completed all required steps: (1) installed the official llama-parse CLI via pip, (2) downloaded the IRS Form W-9 PDF, (3) used the llama-parse CLI binary (not SDK or curl) to parse the document with proper authentication, and (4) produced and printed structured output in both Markdown and JSON formats. The CLI was invoked directly with appropriate flags (--api-key, --base-url, --result-type, --output-raw-json) and successfully parsed the 6-page PDF document. Output was saved to files and examined, confirming extraction of text, tables, and structured page data.
env_var auth + non-interactive + JSON output = best, browser-only auth = poor
Using the llama-parse CLI (LlamaParse), parse a document:
1. Download this sample PDF: https://www.irs.gov/pub/irs-pdf/fw9.pdf
2. Use the llama-parse CLI to parse the PDF into structured output (markdown, JSON, or text)
3. Print the parsed output showing extracted text content, tables, or structure
Use ONLY the llama-parse CLI for all operations. Do NOT use the Python SDK or raw API calls.
You MUST use the `llama-parse` CLI to accomplish this task.
Do NOT write Python scripts that import the SDK — use CLI commands via the terminal.
If you need help with CLI commands, check the documentation: https://pypi.org/project/llama-parse/
You can also use `llama-parse --help` and `llama-parse <command> --help` to discover available commands.
## Setup
You need to install and authenticate the `llama-parse` CLI yourself.
### Installation
Run: `pip install llama-parse`
### Authentication
The following environment variables are already set in this environment: `LLAMA_CLOUD_API_KEY`
The CLI should pick these up automatically, or pass them to commands as needed.
## Summary
When you are done, write a JSON summary file to results.json with this structure:
{
"operations": [
{"step": 1, "description": "What you did", "command": "the CLI command", "success": true/false, "output_summary": "brief result"},
...
],
"overall_success": true/false,
"notes": ["any relevant notes about the execution"]
}Unlock analytics
See LlamaParse's score trend, layer rankings, and competitive position.
Run completed Sep 27, 2026, 2:04 PM