# Sprites Gemini API Evaluation

**Category:** Sandboxes
**Score:** 71 (C)

This is the agent-readable Devtool Arena evaluation page for Sprites on Gemini API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 71 |
| Grade | C |
| Eval score | 65 |
| Discovery score | 86 |
| Cost | $0.32 |
| Runtime | 9m 43s |
| Tool calls | 28 |
| Errors | 5 |
| Tokens used | 660352 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://docs.fly.io/llms.txt |
| MCP server | https://github.com/superfly/sprites-mcp |
| Typed SDK | https://github.com/superfly/sprites-js |
| OpenAPI | https://api.sprites.dev/openapi.json |
| Agent skills | https://github.com/superfly/sprites-claude-plugin |
| CLI | https://docs.fly.io/sprites/cli/commands |

## Evaluation Prompt

````text

# Task
Using https://docs.sprites.dev/api/v001-rc30/, complete the following task:

Using Sprites, build me a script that runs a multi-step computation inside a Sprites sandbox:
        
1. Use the Sprites Python SDK to create/connect to a sandbox
2. Inside the sandbox, execute the following pipeline:
   a. Install the `sympy` package using pip
   b. Run a Python script that:
      - Computes the 10th Fibonacci number iteratively
      - Uses sympy to check if that number is prime
      - Prints the result as JSON: {"fibonacci_10": <number>, "is_prime": <boolean>}
3. Capture the sandbox execution output and print it to stdout

All computation must run inside the Sprites sandbox, not in your local Python process. Do not use subprocess — use the Sprites SDK's execution primitives. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | Yes | 0 | 0 | $0.32 ($0.20–0.40, good) |
| Time | No | 0 | 0 | 583s (5–10min, very slow) |
| Efficiency | No | 0 | 0 | 28 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at docs.sprites.dev: yes (13 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 5 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 29 |
| Tool call traces | 28 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-16T00:07:39.407347+00:00 |

### Generated Files

- /home/daytona/app/run_sandbox.py

## Related Pages

- [Gemini API leaderboard](/leaderboard/gemini/api)
- [Compare Gemini API companies](/leaderboard/gemini/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/gemini/api/sprites
