# Cadence Grok API Evaluation

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

This is the agent-readable Devtool Arena evaluation page for Cadence on Grok API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 61 |
| Grade | C |
| Eval score | 63 |
| Discovery score | 57 |
| Cost | $2.07 |
| Runtime | 3m 32s |
| Tool calls | 55 |
| Errors | 1 |
| Tokens used | 2798776 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/cadence-workflow/cadence |
| llms.txt | Not found |
| MCP server | Not found |
| Typed SDK | https://github.com/cadence-workflow/cadence-go-client |
| OpenAPI | Not found |
| Agent skills | https://github.com/cadence-workflow/cadence/tree/master/.claude/skills |
| CLI | https://formulae.brew.sh/formula/cadence-workflow |

## Evaluation Prompt

````text

# Task
Using https://cadenceworkflow.io/[REDACTED:TENANT], complete the following task:

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

1. Install the official Cadence 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 Cadence 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 | $2.07 (≥$1.00, too expensive) |
| Time | No | 0 | 0 | 212s (3–5min, slow) |
| Efficiency | No | 0 | 0 | 55 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched [REDACTED:TENANT] at cadenceworkflow.io: yes (7 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 1 |
| 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 | 56 |
| Tool call traces | 55 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-19T08:15:46.021446+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/cadence
