Skip to content

Hydra 0.3.0: measured uses, quieter replies

Choose a tag to compare

@rahul05ranjan rahul05ranjan released this 21 Oct 16:14

Hydra now points agents only at the jobs where real use shows it saves tokens, and it is quieter when it saves nothing. The published model is unchanged (Hydra Nano v2).

Install

npx hydra-nano

Changed

  • The skill names the measured uses: test and build runs, git history, and machine inspections (ports, processes, disk). Agents now read and search source files themselves; hydra search, read, smell, refactor and design stay available when you ask for them.
  • No footer when nothing was saved. The [hydra ... returned ...] line appears only when the reply is smaller than what Hydra read, so a short test run comes back as its output alone. This applies to every head and the MCP server.
  • The test hook lets through runs the agent already cut short with | tail -n (40 lines or fewer), | head, | grep -c or | wc. Its message now says that | grep ... | head -40 passes.

New

  • Refactoring tools, local and read-only, based on Refactoring.Guru: hydra smell scans files, trees or a diff for code smells; hydra refactor gives step-by-step recipes for a function or line range; hydra design looks up the 22 GoF patterns. MCP tools hydra_smell, hydra_refactor and hydra_design.
  • Antigravity IDE is a separate install target (~/.gemini/config), and its calls are recorded as antigravity.
  • Real-use savings in the README, refreshed from the local ledger with npm run stats:readme. It counts only calls made inside an agent session and shows totals only: no commands, project names or session ids.