# Exa Claude Code API Evaluation

**Category:** Search
**Score:** 74 (C)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 74 |
| Grade | C |
| Eval score | 76 |
| Discovery score | 71 |
| Cost | $0.30 |
| Runtime | 1m 59s |
| Tool calls | 15 |
| Errors | 2 |
| Tokens used | 439576 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://exa.ai/docs/llms.txt |
| MCP server | https://github.com/exa-labs/exa-mcp-server |
| Typed SDK | https://github.com/exa-labs/exa-js |
| OpenAPI | https://api.exa.ai/openapi.json |
| Agent skills | https://github.com/exa-labs/agent-skills |
| CLI | Not found |

## Evaluation Prompt

````text

# Task
Using https://docs.exa.ai, complete the following task:

Using Exa, build me a script that runs a small web research workflow:

1. Run TWO related searches:
   a. A broad query: "grid-scale battery storage advances"
   b. A more specific, recency-focused query: "grid-scale battery storage breakthroughs 2025"
2. Merge the results from both searches, deduplicate by URL, and select the top 5 most relevant results
3. If Exa supports fetching/extracting page content, retrieve the full content of the single most relevant result and write a 2-3 sentence summary grounded in that fetched content (not just the snippet)
4. Print the output as JSON with two keys:
   - "results": the top 5 deduplicated results, each with title, url, and snippet (or description)
   - "summary": your grounded 2-3 sentence summary of the top result (include the source url) 

## 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.30 ($0.20–0.40, good) |
| Time | Yes | 0 | 1 | 119s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 15 tool calls (≤15, good) |
| Found Docs | Yes | 0 | — | Touched docs at docs.exa.ai: yes (2 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 2 |
| 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 | 23 |
| Tool call traces | 15 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-23T04:15:00.65076+00:00 |

### Generated Files

- /home/daytona/app/exa_research.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/exa
