Proposal: Keenable as an opt-in OfficeQA search_mode beside Parallel
#324 added env.search_mode=parallel to the OfficeQA controller search loop. I'd like to propose a second opt-in web mode in the same shape, env.search_mode=keenable, backed by Keenable's search API. Two things it covers that the shipped modes don't:
- Narrower data boundary. Only the model's generated
<search_queries>leave the machine, one HTTPS request per query, with anX-Keenable-Title: SkillOptheader. The task question is not sent. Parallel mode sends the full question as the MCPobjective. - A keyed path for sustained runs. It works with no key on the keyless endpoint (10 requests/s and 1,000/hour per IP). An optional
KEENABLE_API_KEYswitches to the keyed endpoint with higher limits. The config reference advises "use a keyed provider for large sweeps", but today the only keyed option is the token-authenticatedcustom_searchservice.
It needs no new extra: it's plain JSON over the core httpx dependency, so there's no mcp and no lazy import. Otherwise it follows #324's rules. It's never auto-selected, the default and auto stay offline, it's openai_chat/qwen_chat only, service errors fail the rollout with no fallback, and one search_timeout_seconds deadline covers each round. It comes with a data-boundary section in docs/reference/config.md, a changelog entry, and the same comparability caveat about the paper's Google-backed setting.
I have it built and tested locally: a new tests/test_officeqa_keenable_search.py (29 tests), the full suite on Python 3.10 and 3.12, and a live keyless rollout round. I can open the PR if this is welcome.
Disclosure: I work at Keenable, which runs this API.
Thanks for the proposal and for disclosing your affiliation. We're open to a PR in the same shape as #324. To keep it a neutral, optional integration:
- opt-in only, never selected by default or by
auto; - no bundled API key, credentials or account. Users who enable it use the service under Keenable's own terms;
- no new required dependency;
- service errors fail the rollout, with no fallback;
- a data-boundary section in the docs that states exactly what leaves the machine (the generated queries and the
X-Keenable-Titleheader), plus the comparability caveat about the paper's search setting; - neutral, factual wording in the docs and changelog, with no performance or quality claims;
- tests against an inert HTTP boundary rather than the live service.
Please keep it to one focused PR. A live keyless round is a fine sanity check, but it isn't evidence of benchmark quality, so please don't present it as such.