AtlasOmnia / hermes-tool-router
PublicConditional tool-schema loading for Hermes Agent to reduce first-turn token bloat by loading only the tools a prompt actually needs, with safe full-surface fallback for long or ambiguous requests.
Hermes Tool Router is a smart assistant plugin that helps AI agents work faster and cheaper. When you send a message to your AI assistant, instead of loading every possible tool (file editing, web search, terminal commands, etc.), the router first predicts which tools you actually need based on your specific question. It then loads only those tools, keeping your message shorter and saving you money. If the router isn't sure what you need, it safely loads all tools to make sure nothing is missed. The system also watches for mistakes - if the AI needs a tool that wasn't loaded, it automatically adds that toolset and tries again. This happens invisibly, so you get smooth help without interruption. The project includes tracking tools so you can see how much you've saved, and it works with both cloud AI services and local AI models.
How It Works
You type a message like 'What's the weather today?' or 'Help me check this file' and send it to your AI assistant.
Before your message reaches the main AI, a smart classifier quickly reads it and figures out which tools you'll probably need - like web search, file reading, or terminal commands.
When confident, it loads just the tools you need - keeping your message short and saving money.
When uncertain, it loads everything to make sure nothing is missed - safety first!
The AI receives your message along with only the tools it needs, so it can help you faster and more accurately.
If the AI tries to use a tool that wasn't loaded, the system quietly adds that toolset behind the scenes and tries again - you never notice the hiccup.
Your questions get answered quickly, the AI has the right tools ready, and you save tokens on every single message.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.