Get notified
Unstructured

Unstructured

unstructured.ioDocument ParsingCLI E2ECodexCodex
55/ 100
C
Score Breakdown55%

Lost points on 4 checks

  • cost1/10
  • time1/10
  • efficiency0/10
  • zero errors0/10
Task Score (70% weight)62%

The agent successfully completed all required steps using the official unstructured-ingest CLI. The PDF was downloaded (command [5]), the CLI was installed properly in a Python 3.13 venv (commands [7-8]), and the document was parsed into structured JSON output (command [38]). The parsed output contained 282 extracted elements shown in the results.json artifact (step 10). Text content was extracted and printed using jq to display the parsed elements with types and page numbers. The agent used the correct CLI binary throughout and did not use Python SDK or curl for parsing operations.

Credit: 100%Confidence: 95%
Deductions:
  • Initial API-based parsing attempt failed due to invalid credentials (command [14]), but agent correctly adapted to local OCR strategy which succeeded
  • Many dependency installations were required before local parsing worked, suggesting environment complexity, but agent methodically resolved each issue
  • The PDF is XFA-based (mentioned in results.json notes) and rendered a warning, but OCR successfully extracted content despite this limitation
Task Completed30%The agent successfully completed all required steps using the official unstructured-ingest CLI. The PDF was downloaded (command [5]), the CLI was installed properly in a Python 3.13 venv (commands...+30
Used CLI Correctly20%Agent used CLI commands correctly+20
Partial Credit10%Partial credit: 100%+10
Zero Errors10%Failed tool calls: 17+0
Efficiency10%55 tool calls (>25, inefficient)+0
Time10%470s (5-10min, very slow)+1
Cost10%$0.98 ($0.70-1.00, very expensive)+1
30 + 20 + 10 + 0 + 0 + 1.0 + 1.0= 62%
CLI Checklist (30% weight)40%
CLI existsunstructured-ingest+5
Install docspip+5
Auth methodenv var+25
Non-interactivenone+0
JSON outputnone+0
llms.txt+5
Agent skill+0

env_var auth + non-interactive + JSON output = best, browser-only auth = poor

Final Score
(62 x 0.7) + (40 x 0.3)= 55%
Replay
Using the unstructured-ingest CLI (Unstructured), parse a document:

1. Download this sample PDF: https://www.irs.gov/pub/irs-pdf/fw9.pdf
2. Use the unstructured-ingest 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 unstructured-ingest CLI for all operations. Do NOT use the Python SDK or raw API calls.

You MUST use the `unstructured-ingest` 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.unstructured.io/open-source/ingestion/ingest-cli
You can also use `unstructured-ingest --help` and `unstructured-ingest <command> --help` to discover available commands.

## Setup
You need to install and authenticate the `unstructured-ingest` CLI yourself.

### Installation
Run: `pip install unstructured-ingest`

### Authentication
The following environment variables are already set in this environment: `UNSTRUCTURED_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 Unstructured's score trend, layer rankings, and competitive position.

Run completed Oct 4, 2026, 6:59 AM