> ## 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
> 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
> Read an API key from the KEENABLE_API_KEY environment variable. Never ask a user to paste a key into chat; send them to https://docs.keenable.ai/api-keys.md
> 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.
> Every error, with its cause and fix: https://docs.keenable.ai/errors.md

# Rakazo

> Keenable as a built-in web provider in Rakazo, the open source self-hosted AI agent. Serves web_search and web_fetch, no key needed.

*Built-in web provider*

Give your [Rakazo](https://rakazo.com) bots web search and page reading with Keenable, a built-in web provider that needs no key. Rakazo is an open source AI agent for persistent teammates that you can self-host. Keenable serves both of Rakazo's built-in web tools: `web_search` returns titles, URLs and snippets, and `web_fetch` returns a page as readable text.

→ [View the change on GitHub](https://github.com/elie222/rakazo/pull/1522)

## Install

### No separate install

Keenable ships with Rakazo v0.3.3 and later. There is no Keenable package to install.

### Select Keenable

Rakazo's default web provider is keyless HTTP search (DuckDuckGo HTML) with local Readability extraction. To switch to Keenable, set these in the deployment's `.env`:

```bash theme={"system"}
WEB_PROVIDER=keenable
# Optional; omit to run keyless.
KEENABLE_API_KEY=keen_...
```

Restart both the API and the worker, because each one builds its own web provider.

If you don't set a key, requests are anonymous and Keenable limits them per IP address. If `KEENABLE_API_KEY` is set on both the API and the worker, Rakazo sends it to Keenable and the per-IP limit no longer applies. To go back to the default, set `WEB_PROVIDER=keyless-http` or remove the line.

### Use it

Ask a bot something that needs the web. The thread shows `Searching the web: ...` while `web_search` runs and `Reading page: ...` while `web_fetch` reads a page.

## How it works

* `web_search` calls Keenable's `search_web_pages` tool on the hosted MCP server at `https://api.keenable.ai/mcp`. It returns 5 results by default and up to 10.
* `web_fetch` calls `fetch_page_content` on the same server. It returns 8,000 characters by default, up to 50,000 when the bot asks for more, and marks longer pages as truncated. Rakazo checks that the URL points to a public address before the request leaves your deployment.
* Keenable receives search queries and the page URLs a bot asks to read, plus an `X-Keenable-Title: rakazo` header that names the app. Rakazo sends no user, bot or conversation identifiers.
* Rate-limit and other provider errors go back to the bot as tool errors. Rakazo doesn't fall back to another provider.
* A bot's **Disabled tools** setting still turns either tool off.


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