Get notified
Modal

Modal

modal.comSandboxesCLI E2ECodexCodex
66/ 100
C
Score Breakdown66%

Lost points on 4 checks

  • cost6/10
  • time6/10
  • efficiency2/10
  • zero errors0/10
Task Score (70% weight)74%

The agent successfully used the official Modal CLI to complete all required steps. Step 1: Listed existing environments with `modal environment list` (8 environments shown). Step 2: Created a new environment named 'cli-sandbox-20260927-141657' using `modal environment create` with a success response. Step 3: Listed environments again with `modal environment list --json` and verified the newly created environment appears in the output (9 total environments, including the new one). The agent properly installed the CLI via the official install command `pip install modal`, verified authentication with `modal profile current`, and used the correct CLI commands with proper syntax. Output was clearly documented in results.json with proper labeling of each operation.

Credit: 100%Confidence: 95%
Task Completed30%The agent successfully used the official Modal CLI to complete all required steps. Step 1: Listed existing environments with `modal environment list` (8 environments shown). Step 2: Created a new e...+30
Used CLI Correctly20%Agent used CLI commands correctly+20
Partial Credit10%Partial credit: 100%+10
Zero Errors10%Failed tool calls: 1+0
Efficiency10%16 tool calls (<=20, acceptable)+2
Time10%89s (1-2min, great)+6
Cost10%$0.10 ($0.10-0.20, great)+6
30 + 20 + 10 + 0 + 2.0 + 6 + 6= 74%
CLI Checklist (30% weight)50%
CLI existsmodal+5
Install docspip+5
Auth methodenv var+25
Non-interactivenone+0
JSON outputpartial+10
llms.txt+5
Agent skill+0

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

Final Score
(74 x 0.7) + (50 x 0.3)= 66%
Replay
Using the modal CLI (Modal), manage cloud sandboxes:

1. List all existing sandboxes (or environments/instances)
2. Create a new sandbox environment using the CLI
3. List sandboxes again to verify the new one appears
4. Print all output clearly labeled for each step

You MUST use the `modal` 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://modal.com/docs/reference/cli/shell
You can also use `modal --help` and `modal <command> --help` to discover available commands.

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

### Installation
Run: `pip install modal`

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

Run completed Sep 27, 2026, 2:17 PM