Skip to main content

LlamaIndex Tools Integration: Keenable

Keenable is a web search and page-fetch API built for AI agents. This package provides KeenableToolSpec, a LlamaIndex tool spec with two tools, search and fetch, usable from any LlamaIndex agent.

Keyless by default: with no API key the keyless public endpoints are used. Provide a key to use the authenticated endpoints (for higher rate limits).

Install

pip install llama-index-tools-keenable

Usage

from llama_index.tools.keenable import KeenableToolSpec
from llama_index.agent.openai import OpenAIAgent

# No api_key -> keyless public endpoints. Pass api_key=... or set
# KEENABLE_API_KEY to use the authenticated endpoints.
keenable_tool = KeenableToolSpec()

agent = OpenAIAgent.from_tools(keenable_tool.to_tool_list())
agent.chat("Find recent TypeScript best practices and summarize the top result")

Call the tools directly:

docs = keenable_tool.search("typescript best practices", site="github.com")
page = keenable_tool.fetch(docs[0].metadata["url"])
print(page[0].text)

search accepts optional per-query filters (site, published_after/before, acquired_after/before, mode) and returns one Document per result. fetch returns the page's main content as markdown. There is no max_results argument: the API returns a fixed-size result set as-is.

Configuration

  • API key (optional). Constructor api_key=... or the KEENABLE_API_KEY environment variable. Blank → keyless public endpoints.
  • Endpoint (optional). KEENABLE_API_URL overrides the base URL (HTTPS enforced; plain http only for loopback). The endpoint is never a tool argument the model can set, so it cannot be used to redirect requests.

The fetch tool rejects non-http(s) schemes and private/internal hosts client-side before sending.

License

MIT © Keenable

Metadata

Release files for llama-index-tools-keenable 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-tools-keenable 0.1.3
File Size Uploaded
llama_index_tools_keenable-0.1.3.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-keenable 0.1.3
File Interpreter ABI Platform
llama_index_tools_keenable-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / llama_index_tools_keenable-0.1.3.tar.gz

Download URL llama_index_tools_keenable-0.1.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c66516a6702565b947c33e702474902fb4957348e84b977d646026dc885a33b
BLAKE2b-256 checksum
How to use checksums
83f7081b2545124a412188e840b907456422e43b8a30b396528f83074cda0ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 15, 2026.

Transparency log

Release files / llama_index_tools_keenable-0.1.3-py3-none-any.whl

Download URL llama_index_tools_keenable-0.1.3-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7f73c2aeb6d1ddf28f45f1f34958f6a28a2d8756d55b5edb9955342ecf80ad1
BLAKE2b-256 checksum
How to use checksums
055de10a607d91fdd0eb30fe457d38be6c983c5f527fecf7702255d10cbdf27d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page