Add Keenable as an optional search.Provider

Open
#2,060 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
49/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Read the search.Provider contract in acceleration/internal/search and compare the Tavily and Exa providers, their tests, and searchrouter.DefaultRegistry. Then inspect the Keenable search API documentation linked in the issue and determine how its request and response map to the existing provider pattern. Done means a tested optional provider is registered without changing default routing or required keys.

Written by the indexing model from the issue text.

Description

Proposal

Add Keenable as an optional search.Provider in acceleration/internal/search, registered in searchrouter.DefaultRegistry next to Tavily, Exa and Perplexity.

I work with the Keenable team. This would be opt-in only: nothing in the current router defaults or required keys would change. A deployment would choose Keenable the same way it already chooses tavily, exa or perplexity.

Why it's a fit

The contract in search.Provider is a question in, a short answer and source documents out. Keenable's search API returns structured results with a title, URL and snippet, which maps cleanly onto search.Document and the existing Tavily-style HTTP provider.

  • Keyed: POST https://api.keenable.ai/v1/search with X-API-Key (KEENABLE_API_KEY, same key-pool pattern as TAVILY_API_KEY)
  • Keyless also exists (POST /v1/search/public plus X-Keenable-Title), which is useful for local and eval setups. I'd follow whatever the other providers do for missing keys (Tavily fails at New when no key is set) unless you'd rather expose the public endpoint as an explicit model or option.

Docs: https://docs.keenable.ai/api-reference/search

Scope

A small package under acceleration/internal/search/keenable, tests in the same style as tavily / exa (request shape, fixtures, no live calls in unit tests), and a registry entry. No change to default routing or billing unless you want Keenable listed in the price table later.

Happy to open a PR if this looks useful. Written with AI assistance.

Dominant language
Go
Stars
8.2k
Forks
703
Avg merge
6h 36m
Merged PRs (30d)
828

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/Agents

All issues in GetStream/Agents

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.