# Tavily

Tavily is a web grounding option for building AI agents. Search API that returns model-ready answers rather than ten blue links.

## Facts

- Layer: Web grounding (What it knows)
- Vendor: Tavily
- Licence: proprietary
- Pricing: freemium
- Self-hostable: no
- SDKs: py, ts
- Requires: `TAVILY_API_KEY`
- Docs: https://tavily.com/
- Last verified: 2026-08-21

## When to reach for it

- You are choosing a web grounding component — what it knows.
- You are happy to depend on a hosted service and would rather not operate this yourself.

## Alternatives in the web grounding layer

| Option | What it does | Licence | Self-host |
| --- | --- | --- | --- |
| Exa | Embeddings-native web search built for agents, with full-content retrieval. | proprietary | no |
| Firecrawl | Turns any site into clean markdown, including the JavaScript-heavy ones. | open source | yes |
| Brave Search API | Independent web index with straightforward per-query pricing. | proprietary | no |
| SearXNG | Self-hosted metasearch. No third-party search vendor in the path. | open source | yes |

Head to head:

- https://newagent.build/compare/tavily-vs-exa
- https://newagent.build/compare/tavily-vs-firecrawl
- https://newagent.build/compare/tavily-vs-brave-search
- https://newagent.build/compare/tavily-vs-searxng

## Curated stacks using it

- Weekend prototype: Smallest thing that is still honest. Local, cheap, no accounts beyond one model key.

## Add it to a stack

```bash
curl -fsSL "https://newagent.build/api/stack?search=tavily&format=sh" | sh
```

## Machine interfaces

- `GET https://newagent.build/api/registry` — every component as JSON
- `GET https://newagent.build/api/vendors` — vendors, with the repo and releases feed to watch
- `GET https://newagent.build/api/advise?q=<plain english>` — recommended stack for a description
- `GET https://newagent.build/api/stack?<layer>=<id>&format=sh|json|md|yml|agents|env` — a stack as files
- `GET https://newagent.build/llms.txt` — the whole registry in one fetch

Any page here also returns markdown if you send `Accept: text/markdown`.