Analysis updated 2026-05-18
Reduce API costs for a Hermes Agent setup by only loading relevant memories into each prompt.
Track how an AI agent's reasoning and source attribution evolved across a task.
Let an agent route simple and complex sub-tasks to different LLM models automatically.
| rednicv/hermes-improvements | 100/awesome-machine-learning | adam-s/car-diagnosis | |
|---|---|---|---|
| Stars | 8 | 8 | 8 |
| Language | Python | Python | Python |
| Last pushed | — | 2024-08-07 | — |
| Maintenance | — | Stale | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 1/5 | 3/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Needs Hermes Agent already installed, embedding search needs extra RAM.
Hermes Improvements Package is an add-on for Hermes Agent, a project by Nous Research. It does not replace Hermes Agent, instead it plugs into it and changes how memory and reasoning work under the hood. The main problem it solves is cost. Normally, Hermes Agent loads your entire memory file, meaning every past preference, rule, and detail you have taught it, into the system prompt on every single message. As that memory file grows, the prompt grows with it, and you end up paying for the same tokens over and over. This package changes that by adding a vector memory store. It uses embeddings, or a simpler TF-IDF method if you do not install the extra embedding library, to search your memories and pull out only the one to three that are relevant to what you just said. So if you mention a TV setup, it only injects your TV related memory, not your entire history. Because most memories stay out of the prompt, the system prompt itself stays stable, which lets providers like Google Gemini or Anthropic Claude reuse their prompt cache. In practice this can cut token costs by 50 to 80 percent on repeated turns. Beyond memory, the package adds a few other pieces. AdaptiveSoul learns your style preferences and corrections over time and keeps a log of the rules it has picked up. AdaptiveWorkflow looks at how complex a task is and decides whether to send it to a lightweight model or a more capable one. ReasoningTracer records the steps an answer took and where each piece of information came from. Installation involves copying the package files into your Hermes configuration folder and running an injector script that hooks into Hermes Agent's startup code without modifying it destructively. The injector checks whether the hook already exists before making changes, so it is safe to rerun after upgrades. It works fully on Linux and macOS, and falls back gracefully on Windows when file locking is not available. It requires Python 3.10 or newer, and at least 2 GB of RAM if you use the embedding based search. It is released under the MIT License, so it is free to use, modify, and share.
An add-on for Hermes Agent that uses vector search to inject only relevant memories into each prompt, cutting token costs by reusing prompt caching.
Mainly Python. The stack also includes Python, sentence-transformers, NumPy.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.