Get notified
Fireworks AI

Fireworks AI

fireworks.aiInferenceCLI E2ECodexCodex
25/ 100
D
Task failed
Score Breakdown25%

Lost points on 7 checks

  • cost6/10
  • time6/10
  • efficiency0/10
  • zero errors0/10
  • partial credit3/10
  • task completed0/30
  • used cli correctly0/20
Task Score (70% weight)15%

The agent successfully extracted the structured JSON data with all required fields (invoice_number, vendor, date, line_items, total), but failed to use the firectl CLI for the inference call as required. The task explicitly required using 'the CLI to make a chat completion or inference call,' but the agent ultimately used curl with raw HTTP calls to the Fireworks API (command [27]) rather than firectl. While the agent attempted to use firectl (commands [23] and [24]), it encountered limitations (HTTP 403 permission error for session create, and no inference command exists). Rather than adapting within the firectl CLI constraints or clearly reporting the CLI limitation, the agent pivoted to using curl—a workaround that violates the 'used_cli_correctly' criterion. The extraction quality is excellent (accurate JSON with all fields populated correctly), but this does not overcome the fundamental requirement to use the official CLI binary.

Credit: 30%Confidence: 95%
Deductions:
  • Used curl with raw HTTP API calls instead of firectl CLI for the final inference call
  • firectl session create returned HTTP 403 and was not retried with alternative scope or method
  • firectl has no inference subcommand, and the agent did not find an alternative firectl-based solution before falling back to curl
  • The task requirement to use 'the CLI to make a chat completion or inference call' was not fulfilled
Task Completed30%The agent successfully extracted the structured JSON data with all required fields (invoice_number, vendor, date, line_items, total), but failed to use the firectl CLI for the inference call as req...+0
Used CLI Correctly20%CLI usage issues: Used curl with raw HTTP API calls instead of firectl CLI for the final inference call, firectl session create returned HTTP 403 and was not retried with alternative scope or method, firectl has no inference subcommand, and the agent did not find an alternative firectl-based solution before falling back to curl+0
Partial Credit10%Partial credit: 30%+3
Zero Errors10%Failed tool calls: 4+0
Efficiency10%29 tool calls (>25, inefficient)+0
Time10%106s (1-2min, great)+6
Cost10%$0.20 ($0.10-0.20, great)+6
0 + 0 + 3 + 0 + 0 + 6 + 6= 15%
CLI Checklist (30% weight)50%
CLI existsfirectl+5
Install docsbinary download+5
Auth methodenv var+25
Non-interactivenone+0
JSON outputfull+15
llms.txt+0
Agent skill+0

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

Final Score
(15 x 0.7) + (50 x 0.3)= 25%
Replay
Using the firectl CLI (Fireworks AI), extract structured data from this invoice text:

---
INVOICE #INV-2024-0042
From: Acme Corp
Date: 2024-03-15

Items:
- Consulting Services: $500.00
- Travel Expenses: $150.00

Total: $650.00
---

Use the CLI to make a chat completion or inference call that extracts JSON with these fields: invoice_number, vendor, date, line_items (array), total.

Print the JSON output to stdout.

You MUST use the `firectl` 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.fireworks.ai/tools-sdks/firectl/firectl
You can also use `firectl --help` and `firectl <command> --help` to discover available commands.

## Setup
You need to install and authenticate the `firectl` CLI yourself.

### Installation
Run: `wget -O firectl.gz https://storage.googleapis.com/fireworks-public/firectl/stable/linux-amd64.gz`
Run: `gunzip firectl.gz`
Run: `sudo install -o root -g root -m 0755 firectl /usr/local/bin/firectl`

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

Run completed Sep 27, 2026, 2:34 PM