> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Tavily Search

> Run configurable web searches with Tavily through AIsa.

[View on GitHub →](https://github.com/AIsa-team/agent-skills/tree/main/search-research/tavily-search)

**Flexible web search through Tavily.** Run focused web, news, and domain searches with AIsa-managed access.

## Install

```bash npx skills theme={null}
npx skills add AIsa-team/agent-skills --skill tavily-search
```

```bash AIsa CLI theme={null}
npm install -g @aisa-one/cli
aisa skills install tavily-search
```

Start a new agent session after installing so the skill loads.

## What can agents do with it?

> [card] Current web search
>
> Find fresh web results for a query.

> [card] Domain filters
>
> Include or exclude domains for focused retrieval.

> [card] Time windows
>
> Search within relevant recency ranges.

> [card] Topic filters
>
> Narrow search to the right kind of source.

## Setup

This skill requires the `AISA_API_KEY` environment variable. When installed as a Claude plugin, the key is configured via the plugin's `userConfig`.

## Usage

Run the search client with the `tavily` subcommand:

```bash theme={null}
python3 ${CLAUDE_PLUGIN_ROOT}/skills/tavily-search/scripts/search_client.py tavily --query "<search query>" [options]
```

### Arguments

| Argument | Required | Default | Description |
| - | - | - | - |
| `--query` / `-q` | Yes | — | Search query |
| `--count` / `-c` | No | 5 | Maximum results (1–20) |
| `--depth` | No | basic | Search depth: `basic`, `advanced`, `fast`, `ultra-fast` |
| `--topic` | No | — | Topic filter: `general`, `news`, `finance` |
| `--time-range` | No | — | Time range filter |
| `--include-answer` | No | false | Include an LLM-generated answer summary |

### Examples

```bash theme={null}
# Basic search
python3 ${CLAUDE_PLUGIN_ROOT}/skills/tavily-search/scripts/search_client.py tavily --query "OpenAI latest announcements" --count 10

# Advanced news search with answer
python3 ${CLAUDE_PLUGIN_ROOT}/skills/tavily-search/scripts/search_client.py tavily --query "AI regulation 2026" --depth advanced --topic news --include-answer

# Finance-focused search
python3 ${CLAUDE_PLUGIN_ROOT}/skills/tavily-search/scripts/search_client.py tavily --query "NVIDIA earnings Q1 2026" --topic finance --include-answer
```

## Output

The script prints structured results including:

* **Title** — Page title
* **URL** — Direct link
* **Date** — Publication date (when available)
* **Content** — Relevant excerpt
* **Answer** — LLM-generated summary (when `--include-answer` is used)

## When to Use

Use this skill when the user needs advanced search with specific filtering requirements: news-only results, finance-focused results, time-bounded searches, or when they want an AI-generated answer alongside raw results. This is the most feature-rich search tool in the plugin.

## Get started

1. Sign up at [aisa.one](https://aisa.one) and create an API key in the console.
2. Set it in your shell: `export AISA_API_KEY="your-key"`.
3. Install the skill with one of the commands under [Install](#install), then start a new agent session.

## Related

> [card] [Tavily Search API](https://aisa.one/docs/api-reference/search/post_tavily-search.md)
>
> Endpoint reference for Tavily search.

> [card] [AIsa Tavily Extract](https://aisa.one/docs/agent-skills/tavily-extract.md)
>
> Extract full content from selected URLs.

> [card] [AIsa Web Search](https://aisa.one/docs/agent-skills/web-search.md)
>
> General web search with structured results.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.