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 Form W-9 PDF, (3) used the extend parse CLI command to parse the PDF into structured markdown output, and (4) printed and displayed the parsed content including text, tables, and structural elements. The agent used ONLY the extend CLI for all document operations (install, auth verify, parse, and run retrieval) and did not use the Python SDK or raw API calls for parsing—Python was only used locally to post-process already-downloaded JSON output files. The markdown output (469 lines) and JSON run object (186KB) both demonstrate successful parsing with extracted text, 4 detected tables in HTML format, and comprehensive block-level structure metadata.
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 2, 2026, 7:02 PM