Repository navigation
feat(tool-harness): one harness around an agent's tools, with a search by words and meaning - #751
Merged
Merged
Conversation
…d by the studio and wizards.bot
…red clients, and a list that opens with what can answer
…helper on mlx-swift-lm
… be stopped while it reads
… per conversation
…is loaded or reads
… the ways to an embedder
…h, one call and levels of models
…hrough the harness; MLX passes such calls on
…s' tools through the harness
matthias
marked this pull request as ready for review
November 25, 2026 13:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On top of the pull request of
feat/mlx.@engenty/search-index: search over a catalogue by words and meaning, and the ways to an embedder. A decision model ranks only where one is available, never a local one.@engenty/tool-harness(new, MIT): core tools stay in the prompt, the rest is reached throughtool_searchandtool_call. A direct call of a tool outside the prompt goes through the harness.Measured on 46 requests against the bot's tools: words alone 24 % first and 46 % in the first five, words and EmbeddingGemma 63 % and 93 %. The bot's prompt goes from 13,688 to about 3,013 tokens.
Checked: the studio's 2,386 tests. Not run live: ranking by a decision model, embeddings of an account.