# Naive Grok API Evaluation

**Category:** Unified API
**Score:** 71 (C)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 71 |
| Grade | C |
| Eval score | 65 |
| Discovery score | 86 |
| Cost | $2.25 |
| Runtime | 19m 5s |
| Tool calls | 61 |
| Errors | 0 |
| Tokens used | 3178786 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://usenaive.ai/llms.txt |
| MCP server | https://usenaive.ai/docs/capabilities/tools |
| Typed SDK | https://usenaive.ai/docs/sdk/typescript |
| OpenAPI | https://api.vetta.sh/v1/openapi.json |
| Agent skills | https://usenaive.ai/skill.md |
| CLI | https://usenaive.ai/docs/cli/overview |

## Evaluation Prompt

````text

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

Using the documented Naive REST API, build me a Python script that demonstrates one Naive agent primitive:

1. Read the API key from the `NAIVE_API_KEY` environment variable
2. Call the documented `POST https://api.usenaive.ai/v1/search` endpoint with the query "AI agent infrastructure trends 2026" and `count` set to 3
3. Print JSON with fields:
   - `query`
   - `results` (array of objects with `title`, `url`, and `snippet` when available)
   - `credits_used` when returned by the API
   - `provider` when returned by the API
4. Handle non-2xx responses by printing the response status and body before exiting non-zero

Naive does not provide an official Python SDK for this task. Use the documented REST API with Python `requests`; do not use the Node SDK, CLI, MCP server, or fake/static results. 

## 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 | $2.25 (≥$1.00, too expensive) |
| Time | No | 0 | 0 | 1145s (≥10min, too slow) |
| Efficiency | No | 0 | 0 | 61 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched [REDACTED:TENANT] at usenaive.ai: yes (40 matching tool calls) |
| Zero Errors | Yes | 0 | — | No errors in tool outputs |
| 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 | 62 |
| Tool call traces | 61 |
| Generated files | 2 |
| Exit code | 0 |
| Completed at | 2026-10-19T17:35:01.672731+00:00 |

### Generated Files

- /home/daytona/app/search.py
- /home/daytona/app/naive_search.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/naive
