Extend.ai
Lost points on 3 checks
- cost6/10
- time6/10
- efficiency3/10
The agent successfully completed all required steps: (1) installed the official Extend CLI via npm, (2) downloaded the IRS W-9 PDF from the provided URL, (3) used the extend CLI to parse the PDF into structured output in both JSON and Markdown formats, and (4) printed the parsed output showing extracted text content including form headers, instructions, fields, and certification information. The agent used only the official extend CLI binary, not the SDK or raw API calls. The parse command successfully processed all 6 pages of the PDF and output structured content in the requested formats.
env_var auth + non-interactive + JSON output = best, browser-only auth = poor
Using the extend CLI (Extend.ai), parse a document:
1. Download this sample PDF: https://www.irs.gov/pub/irs-pdf/fw9.pdf
2. Use the extend 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 extend CLI for all operations. Do NOT use the Python SDK or raw API calls.
You MUST use the `extend` 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://docs.extend.ai/cli
You can also use `extend --help` and `extend <command> --help` to discover available commands.
## Setup
You need to install and authenticate the `extend` CLI yourself.
### Installation
Run: `npm install -g @extend-ai/cli`
### Authentication
The following environment variables are already set in this environment: `EXTEND_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 Extend.ai's score trend, layer rankings, and competitive position.
Run completed Oct 3, 2026, 4:04 AM