# Tavily Claude Code API Evaluation

**Category:** Search
**Score:** 77 (B)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 77 |
| Grade | B |
| Eval score | 68 |
| Discovery score | 100 |
| Cost | $0.35 |
| Runtime | 3m 25s |
| Tool calls | 19 |
| Errors | 3 |
| Tokens used | 604374 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/tavily-ai/tavily-python |
| llms.txt | https://docs.tavily.com/llms.txt |
| MCP server | https://github.com/tavily-ai/tavily-mcp |
| Typed SDK | https://github.com/tavily-ai/tavily-js |
| OpenAPI | https://www.tavily.com/.well-known/openapi.json |
| Agent skills | https://github.com/tavily-ai/skills |
| CLI | https://pypi.org/project/tavily-cli/ |

## Evaluation Prompt

````text

# Task
Using https://docs.tavily.com, complete the following task:

Using Tavily, 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 Tavily 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.35 ($0.20–0.40, good) |
| Time | No | 0 | 0 | 205s (3–5min, slow) |
| Efficiency | Yes | 0 | 0 | 19 tool calls (≤20, acceptable) |
| Found Docs | Yes | 0 | — | Touched docs at docs.tavily.com: yes (3 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 3 |
| 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 | 28 |
| Tool call traces | 19 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-23T04:19:45.115822+00:00 |

### Generated Files

- /home/daytona/app/tavily_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/tavily
