Skip to content

feat: add search_mixedbread built-in skill (Mixedbread Basic Web Search) - #140

Open
samsja wants to merge 1 commit into
mainfrom
feat/search-mixedbread
Open

feat: add search_mixedbread built-in skill (Mixedbread Basic Web Search)#140
samsja wants to merge 1 commit into
mainfrom
feat/search-mixedbread

Conversation

@samsja

@samsja samsja commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

Adds a search_mixedbread built-in skill to nano-rlm (alongside edit and search), enabled per run via RLM_SKILLS and pre-imported into the IPython kernel as await search_mixedbread(query=..., num_results=5).

It performs Mixedbread Basic Web SearchPOST https://api.mixedbread.com/v1/stores/search with store_identifiers: ["mixedbread/web"] — and returns each result as title, URL, relevance score, and the page-content chunk text (a large chunk of the page, often the whole page for short pages).

Changes

  • src/rlm/skills/search_mixedbread.py — new skill module (search, run, format_results), needs MIXEDBREAD_API_KEY
  • src/rlm/skills/__init__.py — registered in _BUILTIN_SKILLS
  • src/rlm/prompt.pySEARCH_MIXEDBREAD_SKILL_PROMPT addendum when enabled
  • README.md — docs: intro, env-var table (MIXEDBREAD_API_KEY), Skills section
  • tests/test_builtin_skills.py — 5 new tests (enable stub, missing-key error, formatting)

Enable

RLM_SKILLS=search_mixedbread   # + MIXEDBREAD_API_KEY in the env

Verified

  • 13/13 test_builtin_skills.py tests pass (the 4 full-suite failures are pre-existing on a clean tree — they require the example say skill CLI)
  • Live-tested against the real API: returns full page-content chunks (~5.6K chars for a Wikipedia page)

Note

Cursor Bugbot is generating a summary for commit b63db81. Configure here.

Add a `search_mixedbread` built-in skill alongside `edit`/`search`, enabled
via RLM_SKILLS and pre-imported into the IPython kernel as
`await search_mixedbread(query=..., num_results=5)`.

It performs Mixedbread Basic Web Search (POST /v1/stores/search with
store_identifiers=["mixedbread/web"]) and returns each result as title, URL,
relevance score, and the page-content chunk text (a large chunk of the page,
often the whole page for short pages). Needs MIXEDBREAD_API_KEY; returns a
friendly error when the key is missing.

Includes: new skill module, _BUILTIN_SKILLS registration, system-prompt
addendum in prompt.py, README updates, and unit tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant