KeenableSearch gives LazyLLM apps and agents Keenable web search. It sits next to LazyLLM’s other search tools, such as TavilySearch and BingSearch, returns results in the same shape, and works without an API key.
→ KeenableSearch in the LazyLLM repository
Install
KeenableSearch was merged into LazyLLM’s main branch on 2026-11-18. LazyLLM 1.5.2, the latest release on PyPI, does not include it yet, so install from GitHub:
b1458ec is the commit that added KeenableSearch. LazyLLM builds a C++ extension when you install from source, so you need a C++ compiler, such as Xcode Command Line Tools on macOS or build-essential on Debian and Ubuntu. The build fetches CMake and pybind11 itself. The wheels on PyPI are prebuilt and need no compiler.
Once a later LazyLLM release includes it, pip install -U lazyllm works too.
Search the web
Create the tool and call it with a query:title, url, snippet and source. source is "keenable". Results without a URL are dropped.
Calling the tool runs keenable.search(...). If the request fails, the call logs the error and returns an empty list. Pass raise_on_error=True to get the exception instead:
Give it to an agent
search is registered as a function-calling tool, so an agent can call it with a query and an optional max_results. The tool also inherits get_content and get_contents from LazyLLM’s SearchBase. Those read a result’s page with a direct HTTP request from your machine, not through the Keenable Fetch API.
Options
Each
snippet is Keenable’s snippet field, cut to 700 characters by LazyLLM. Long snippets get extra.truncated set to True.
Without a key, calls run on the shared public tier at lower rate limits. Pass
KeenableSearch(api_key=...) to use your organization’s limits and remove the hourly cap. See API keys.Related pages
LlamaIndex
Give LlamaIndex agents web search and page reading with the Keenable ToolSpec.
LangChain
Give LangChain agents web search and page fetch with langchain-keenable: the KeenableSearch and KeenableFetch tools.
Mastra
Give Mastra agents web search and page fetch with the @keenable/mastra package: the keenable-search and keenable-fetch tools.
Overview
Install the official Keenable SDK for Python, TypeScript, Go or Rust with one command, search with no key, then add fetch, tool calling and Monitors.