Five settings and four built-in commands to stop Hermes Agent from burning tokens

alexcovo_eth · x · 2026-10-25

A practical token-optimization guide for Hermes Agent (v0.22.2), targeting wasted tokens from old outputs carried into every long-chat request. Five suggested settings: trim old results past 48,000 tokens (no extra AI call), cap terminal output at 20,000 chars, cap file reads at 40,000 chars, use a cheaper model to summarize old messages (check its context capacity first), and disable unused toolsets via hermes tools. The author also highlights four built-in diagnostics: hermes prompt-size (offline breakdown of system prompt/skills/memory/tool schemas), hermes insights (token and cost accounting), hermes approvals suggest (proposes allowlist entries from past approvals), and hermes security audit (checks installed components against known vulnerabilities). Caveats: these are suggested limits, not tested savings—change one setting at a time and verify answers stay useful.

Original post →

More from coding & agent

coding & agent channel →