# Restate Claude Code API Evaluation

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

This is the agent-readable Devtool Arena evaluation page for Restate on Claude Code API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 68 |
| Grade | C |
| Eval score | 61 |
| Discovery score | 86 |
| Cost | $1.17 |
| Runtime | 7m 31s |
| Tool calls | 51 |
| Errors | 11 |
| Tokens used | 2395351 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://docs.restate.dev/llms.txt |
| MCP server | https://github.com/restatedev/skills |
| Typed SDK | https://github.com/restatedev/sdk-typescript |
| OpenAPI | https://docs.restate.dev/schemas/openapi-admin.json |
| Agent skills | https://github.com/restatedev/skills |
| CLI | https://docs.restate.dev/develop/local_dev |

## Evaluation Prompt

````text

# Task
Using https://docs.restate.dev, complete the following task:

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

1. Install the official Restate 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 Restate 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/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 | No | 0 | 0 | $1.17 (≥$1.00, too expensive) |
| Time | No | 0 | 0 | 451s (5–10min, very slow) |
| Efficiency | No | 0 | 0 | 51 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at docs.restate.dev: yes (15 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 11 |
| 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 | 63 |
| Tool call traces | 51 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-29T06:25:17.319363+00:00 |

### Generated Files

- /home/daytona/app/order_workflow.py

## Related Pages

- [Claude Code API leaderboard](/leaderboard/claudecode/api)
- [Compare Claude Code API companies](/leaderboard/claudecode/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/claudecode/api/restate
