# Exa Codex API Evaluation

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

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 73 |
| Grade | C |
| Eval score | 75 |
| Discovery score | 71 |
| Cost | $0.04 |
| Runtime | 2m 6s |
| Tool calls | 27 |
| Errors | 2 |
| Tokens used | 0 |
| 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 | 1 | $0.04 (<$0.10, excellent) |
| Time | Yes | 0 | 0 | 126s (2–3min, good) |
| Efficiency | No | 0 | 0 | 27 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at docs.exa.ai: yes (5 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: 2 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 32 |
| Tool call traces | 27 |
| Generated files | 2 |
| Exit code | 0 |
| Completed at | 2026-09-26T17:44:03.122746+00:00 |

### Generated Files

- /home/daytona/app/requirements.txt
- /home/daytona/app/battery_research.py

## Related Pages

- [Codex API leaderboard](/leaderboard/codex/api)
- [Compare Codex API companies](/leaderboard/codex/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/codex/api/exa
