Add agent based AI tool recommendation#21661
Merged
guerler merged 4 commits intogalaxyproject:devfrom Jan 27, 2026
Merged
Conversation
New agent that helps users find appropriate Galaxy tools for their tasks. Uses Galaxy's toolbox search to find installed tools and provides recommendations with confidence levels and reasoning. Features: - Searches Galaxy toolbox for matching tools - Fast path for exact tool name matches (bypasses LLM) - Structured output for models that support it - Text parsing fallback for DeepSeek and similar models - Tool existence verification before suggesting actions
The router now delegates tool discovery questions to the ToolRecommendationAgent, which searches the actual Galaxy toolbox to find installed tools rather than relying on the LLM's training data.
Added two new tools the LLM can call: - get_galaxy_tool_details(tool_id) - fetches inputs, outputs, version, requirements - get_galaxy_tool_categories() - lists available tool panel sections Also removed unused category parameter from search_tools().
9b1beec to
f47f63a
Compare
guerler
approved these changes
Jan 27, 2026
Member
|
Thanks @dannon. Junhao and I discussed to improve the tool recommendations. Currently, I have been working to extract help text information for each tool, transforming these text into dense embeddings (using sentence transformers). Computing similarity of tools based on embedded help text can provide alternative tools / recommendations in addition to those procured from GTN tutorials. https://github.com/anuprulez/galaxy-tool-recommendation-agent-benchmark |
Member
Author
|
@anuprulez Awesome, looking forward to it! |
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.
Add tool recommendation agent for Galaxy tool discovery
Adds a specialized agent that helps users find appropriate Galaxy tools for their bioinformatics tasks. The router now delegates tool discovery queries ("what tool should I use for X?") to this agent.
This is a fairly naive approach that we'd pulled out of the original branch, and I'm putting it back now to build on and improve. @qchiujunhao and @anuprulez have some focused work that can use this as a base to build on.
Features
(it'd be fine to get this into 26.0 if we want, or it can wait)