# AWS Step Functions Grok API Evaluation

**Category:** Durable Workflow
**Score:** 59 (C)

This is the agent-readable Devtool Arena evaluation page for AWS Step Functions on Grok API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 59 |
| Grade | C |
| Eval score | 61 |
| Discovery score | 57 |
| Cost | $4.03 |
| Runtime | 7m 55s |
| Tool calls | 65 |
| Errors | 8 |
| Tokens used | 5094705 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/aws/aws-sdk-js-v3 |
| llms.txt | https://docs.aws.amazon.com/step-functions/latest/dg/llms.txt |
| MCP server | Not found |
| Typed SDK | https://raw.githubusercontent.com/aws/aws-sdk-js-v3/main/clients/client-sfn/package.json |
| OpenAPI | Not found |
| Agent skills | Not found |
| CLI | https://docs.aws.amazon.com/cli/latest/reference/stepfunctions/index.html |

## Evaluation Prompt

````text

# Task
Using https://[REDACTED:TENANT].aws.amazon.com/step-functions, complete the following task:

Using the AWS Step Functions Python SDK, build me a script that defines and executes a simple 3-step workflow:

1. Install the official AWS Step Functions Python SDK (pip install)
2. Define a workflow with 3 steps using the SDK's workflow primitives:
   - Step 1: Generate a random order ID
   - Step 2: "Process" the order (simulate with a 1 second sleep)
   - Step 3: Return the order status as "completed"
3. Execute the workflow and print the result as JSON with fields: order_id, status, steps_completed

You MUST use the official AWS Step Functions Python SDK and its workflow/activity decorators or primitives — do not just write a plain Python script with sleep() calls. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/[REDACTED:TENANT] && 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 | No | 0 | 0 | $4.03 (≥$1.00, too expensive) |
| Time | No | 0 | 0 | 475s (5–10min, very slow) |
| Efficiency | No | 0 | 0 | 65 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched [REDACTED:TENANT] at [REDACTED:TENANT].aws.amazon.com: yes (15 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 8 |
| 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 | 66 |
| Tool call traces | 65 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-19T07:58:42.483059+00:00 |

### Generated Files

- /home/daytona/app/order_workflow.py

## Related Pages

- [Grok API leaderboard](/grok/api)
- [Compare Grok API companies](/grok/api/compare)
- [Agent Landscape](/discoverability)

Canonical URL: https://devtoolarena.com/grok/api/aws-step-functions
