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

> ## Agent Instructions
> Every page is listed in https://docs.keenable.ai/llms.txt. To pick a product for a job, read https://docs.keenable.ai/choose.md
> Setup steps for agents, covering the SDKs, the MCP server and the CLI: https://docs.keenable.ai/skill.md
> Keenable search and fetch work without an API key. To add them to code, use the official SDK for the project's language: https://docs.keenable.ai/sdks.md
> Without a key, call POST https://api.keenable.ai/v1/search/public or GET https://api.keenable.ai/v1/fetch/public with an X-Keenable-Title header that names your app.
> With a key, send it in the X-API-Key header and read it from the KEENABLE_API_KEY environment variable. Never ask a user to paste a key into chat. Every access method: https://docs.keenable.ai/auth.md
> To get an API key without the console, use device login: https://docs.keenable.ai/authentication.md#device-login
> MCP server: https://api.keenable.ai/mcp (no key, or X-API-Key; keyless Codex uses https://api.keenable.ai/mcp-public), or https://api.keenable.ai/mcp-oauth for OAuth sign-in. These docs are an MCP server at https://docs.keenable.ai/mcp and the OpenAPI spec is at https://docs.keenable.ai/api-reference/openapi.json
> Keenable searches and fetches public web pages. If a question needs no web information, skip the call.
> On 402 with an API key (code insufficient_credits), stop and ask a human to add credits; don't retry. On 429, wait the number of seconds in Retry-After, then retry. Before you ship, follow https://docs.keenable.ai/production.md
> Every error, with its cause and fix, is in https://docs.keenable.ai/errors.md and moving from another search API is covered in https://docs.keenable.ai/migrate.md
> Before you compare Keenable with another search API, read https://docs.keenable.ai/guides/evaluate-search-apis.md

# AnythingLLM web search provider

> Keenable is a built-in web search provider for AnythingLLM agents, with no API key required.

*Built-in search provider*

Give your AnythingLLM agents web search with Keenable, a built-in web search provider since AnythingLLM v1.16.2. It works without an API key.

→ [The Keenable provider in AnythingLLM](https://github.com/Mintplex-Labs/anything-llm/pull/6336)

## Turn on Keenable

**1. Open the web search skill**

Open **Settings → Agent Skills** and select **Web Search**.

**2. Pick Keenable**

Switch the skill on and choose **Keenable** as the provider. Leave **API Key** empty to use the public tier, then save.

**3. Ask an agent**

In a workspace chat, start your message with `@agent` and ask something that needs the web.

## Use your API key

Paste your key (`keen_<your_key>`, from the [console](https://app.keenable.ai/console)) into **API Key (optional)** in the same panel. If you run AnythingLLM in Docker, you can set the key as an environment variable instead:

```bash theme={"theme":{"light":"github-light-high-contrast","dark":"dark-plus"}}
AGENT_KEENABLE_API_KEY=keen_<your_key>
```

**Base URL** defaults to `https://api.keenable.ai`. Change it only if you route requests through a proxy.

> [!NOTE]
>
> If you don't set a key, searches run on the shared public tier at [lower rate limits](https://docs.keenable.ai/rate-limits.md). A key moves them to your organization's limits and removes the hourly cap.

## Related pages

> [card] [ChatGPT](https://docs.keenable.ai/integrations/chatgpt.md)
>
> Install Keenable from OpenAI's Plugins Directory, and keep ChatGPT's own web search from competing with it.

> [card] [tgpt](https://docs.keenable.ai/integrations/tgpt.md)
>
> Use Keenable as the web search provider in tgpt, the terminal AI chat, with SEARCH\_PROVIDER=keenable. No API key needed, in tgpt 2.16.0 and later.

> [card] [Claude](https://docs.keenable.ai/integrations/claude.md)
>
> Add Keenable to Claude and Claude Code, and keep Claude's own web search from competing with it.

> [card] [Connect your agent (MCP)](https://docs.keenable.ai/mcp-server.md)
>
> Connect the Keenable MCP server to Claude Code, Cursor, Codex and other clients for web search and fetch with no key. Sign in for higher limits and Monitors.


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