Hermes Agent Streaming In 2026: What To Know

Julian Goldie — founder, AI Profit Boardroom
By Julian Goldie · 9 min read
Get The AI Profit Stack Join AIPB →
🎯 1,000+ done-for-you AI agent workflows 📅 4 live coaching calls every week 🛡️ 7-day refund + 30-day ROI guarantee 👥 3,400+ AI operators inside

Hermes agent streaming means Hermes Agent sends model output to you token by token as it arrives, in the terminal or in chat apps like Telegram and Slack, instead of waiting for the full reply. Hermes Agent is built by Nous Research. Under the hood it also streams API requests to the model and watches those streams with a stale-stream detector. On 1 November 2026 a new opt-in setting landed on main: agent.stream_max_lifetime, a hard cap on how long one streaming response can run.

📺 Watch: NEW Hermes Agent Updates are INSANELY GOOD!

🔥 Get the Agent OS as a free bonus: AI Profit Boardroom members get the full Agent OS zip, prompt libraries, daily tutorials and weekly live coaching calls. → Get inside

This guide covers the three layers: what you see, how Hermes keeps streams healthy, and the new cap. It is written for people running Hermes for real work, where a stuck reply costs time.

How Hermes agent streaming works

There are three separate switches in the Hermes docs. People mix them up all the time.

The docs say model.streaming false is an escape hatch for self-hosted servers whose streaming tool-call path is broken, and that you should leave it alone otherwise. Non-streaming calls lose the liveness checks described below. Hermes also switches a session to non-streaming on its own if the provider says it can't stream, or if a gateway answers with empty keep-alive frames.

If you want the full agent setups I use, the AI Profit Boardroom ($69/mo) has the configs, prompts and walkthroughs.

Hermes agent streaming in Telegram, Discord and Slack

Once streaming.enabled is on, it is decided per platform. Per the docs, Telegram streams out of the box and Discord does not until you flip its toggle. You can change these per-platform switches in the dashboard's Channels toggles or in config.yaml.

Other gateway settings from the docs:

Cron jobs and subagents stream too. The docs say their wire requests are still streaming requests, so every token counts as a sign of life. More on those in the Hermes cron job guide and the Hermes subagents guide.

📺 Watch: NEW Hermes Agent Update Changes AI! 🤯

Hermes agent streaming timeouts and the stale-stream detector

A stream can fail in two ways. It can go quiet. Or it can keep dribbling data and never finish. Hermes had a guard for the first. The new setting covers the second.

TimeoutDefaultLocal providersWhere to set it
Socket read timeout120sRaised to 1800sHERMES_STREAM_READ_TIMEOUT
Stale stream detection180sRaised to a 900s ceilingHERMES_STREAM_STALE_TIMEOUT or agent.local_stream_stale_timeout
Stream max lifetime (new, opt-in)Off (0)Sameagent.stream_max_lifetime in config.yaml
Stale circuit breaker5 killsSameHERMES_STREAM_STALE_GIVEUP

What the stale detector does

The stale-stream detector kills a connection that gets keep-alive pings but no real content. Its clock resets on every chunk. When it kills a stream, the retry logic takes over. The default is 180 seconds, and the docs say it rises to 240 seconds above 50k tokens of context and 300 seconds above 100k. An explicit providers stale_timeout_seconds value is used as-is.

The stale circuit breaker

HERMES_STREAM_STALE_GIVEUP is a cross-turn breaker. After 5 stale kills in a row with no completed response, Hermes stops re-waiting and fails each call fast with an error that tells you what to fix. Set it to 0 to disable it. It resets on any completed response, a /model switch, a fallback, or a turn-start restore. See the Hermes slash commands guide for /model.

📺 Watch: NEW Hermes Agent NOW CHANGES HOW AI WORKS! 🤯

New: the Hermes agent streaming lifetime cap

The stale detector has a blind spot. Because it resets on every chunk, a stream that keeps sending data but never ends is never cut. The commit gives two examples: a gateway trickling chunks and a runaway generation. The turn just sits there.

Commit ac8037c, "opt-in cap on a streaming response's total lifetime", was authored on 31 October 2026 and merged to main on 1 November 2026 (UTC). The latest tagged release is v0.22.5 from 23 October 2026, so this is on main and not in a tagged release yet.

Here is how agent.stream_max_lifetime works, per the docs and commits:

Set it in config.yaml only

The first version also read an environment variable. Follow-up commit b484be5 dropped it, because non-secret behaviour settings belong in config.yaml. So put agent.stream_max_lifetime under the agent section of config.yaml, with a number of seconds.

Commit eee418e fixed an early bug where a cap cut was counted as a stale kill. Before that fix, two capped long replies could trip the breaker and the next healthy request was refused. Cap cuts now name agent.stream_max_lifetime in the error, so you know which limit fired.

When to leave it at 0

The docs are direct here: leave it at 0 if you run long reasoning turns that stream for a long time on purpose. A cap that is too low will cut good work and force a retry. Use it when you've seen a relay or gateway hold a stream open with no end, or when an unattended job must never hang on one reply.

Hermes agent streaming vs JSON event output

Token streaming is not the same as machine-readable event output from the CLI. If you want Hermes to print structured JSON events for scripts and pipelines, that is a separate feature. It's covered in Hermes Agent stream JSON output.

Plugins can also watch the stream. The on_stream_start, on_stream_delta and on_stream_end hooks are observer hooks: they see tokens as they arrive but can't change them. The docs say reasoning deltas need a separate opt-in. See Hermes Agent hooks for the full hook list.

Hermes agent streaming troubleshooting checklist

  1. No tokens in the terminal? Check display.streaming is true.
  2. Bot sends one big message at the end? Check streaming.enabled is on and the platform's own streaming toggle is on. Discord is off by default.
  3. Local model goes silent for minutes, then gets killed? Large prompts can take minutes to prefill. Raise agent.local_stream_stale_timeout or HERMES_STREAM_READ_TIMEOUT. The Hermes local model setup guide covers this.
  4. Reply streams forever and never finishes? Set agent.stream_max_lifetime once it's in your build, and keep it well above your longest normal reply.
  5. Every call fails fast after a bad patch of kills? That's the stale breaker. A completed response, a /model switch or a fallback resets it.
  6. Tool calls leak as plain text on a self-hosted server? That's the case the docs name for model.streaming false.

On Windows? The Hermes Agent Windows guide covers install. For the system I run around agents like Hermes, read the Agent OS guide. For how I test the models that sit behind it, see Goldie Bench.

Want this mapped to your own business? Book a free AI strategy session.

Hermes agent streaming FAQ

Is Hermes agent streaming on by default?

API streaming (model.streaming) is on by default. Gateway streaming (streaming.enabled) is off by default. Turn it on, and Telegram streams while Discord waits for its own toggle.

What does agent.stream_max_lifetime do?

It caps the total time one streaming response can run, in seconds. It's off at 0 by default, set in config.yaml only, never fires before the stale timeout, and doesn't count toward the stale breaker. It covers Chat Completions and Anthropic Messages streams, not Codex/Responses or Bedrock. It merged to main on 1 November 2026 and is not in a tagged release yet.

Should I set a lifetime cap for reasoning models?

No. The docs say to leave it at 0 if you run long reasoning turns that stream for a long time. Only set it when streams hang without ending.

Where can I get help setting up Hermes?

Join the AI Profit Boardroom for the setups, or book a free AI strategy session. For a plan built around your team, start with a strategy session.

Turn on display.streaming, check your gateway toggles, and keep agent.stream_max_lifetime at 0 until you need it. That's Hermes agent streaming set up right.

What members say about the AI Profit Boardroom

Read all 114 reviews on Skool →

★ 4.9 out of 5 from 114 member reviews on Skool

Yosuke Sato, AI Profit Boardroom member review (5 stars, paying member for 17 months): The best Skool course you get for AI! I have attended a few Skool courses before, but AI Profit Boardroom is the most active community and has great support from the management team, including Julian! You can get the most up-to-date information and practical implementations in this community. I highly recommend this!Mazzie T, AI Profit Boardroom member review (5 stars, paying member for 10 months): My mind is blown everyday with all the content and the incredible information. So much support and I love the personalised attention and quick responses. The community is great and people are very responsive and helpful.Rene Clayton, AI Profit Boardroom member review (5 stars, paying member for 9 months): The AI Profit Boardroom is a GAME CHANGER people. I could not be more thrilled that I joined!! So much support, more information than you can even consume, a huge value for what the small fee was. I have grown my business, my knowledge and my FUN!. SUCH a fantastic leader and group of humans. I am incredibly honored to be a part of this fantastic group of intelligent humans :-) THANK YOU!Arpiet Malpani, AI Profit Boardroom member review (5 stars, paying member for 8 months): Incredible learning from Julian and team. I started out in march and was able to build end to end SAAS with the help and learning from this group. I am incredibly thankful to Julian for crazy support and prompt response.James Grimm, AI Profit Boardroom member review (5 stars, paying member for 7 months): I asked Julian for help finding local business websites with little to no traffic. Julian was gracious in providing me my personal "how-to" video instruction. Wow, this is the pinnacle of customer service! I am just one of 3,400 subscribers and Julian took the time to help me personally. Thank you Julian for your assistance and outstanding custoemr support and care. James (Jim) GrimmNick Good, AI Profit Boardroom member review (5 stars, paying member for 4 months): I’m part of many AI groups and hands down, what Julian Goldie, has built here…the classroom trainings are amazing, but the community he has created is second to none (the community is worth the cost of joining!). If you’re looking to become the AI expert and build/create something meaningful, then AI Profit Boardroom is for YOU!Steven Gray, AI Profit Boardroom member review (5 stars, paying member for 4 months): Been in awhile. I’m a dad on a factory shift, not a tech bloke. Julian’s lot showed me how to use AI without drowning in tools. Avatar, voice, the workflow thinking — that’s what I needed. If you’re stuck on “where do I start,” this group’s worth it. I always read them.Steve Erickson, AI Profit Boardroom member review (5 stars, paying member for 4 months): I asked Julian a simple question, and he ended up creating a 10-minute video and a guide breaking down in extreme detail what I had asked. Amazing response!Rod Martin, AI Profit Boardroom member review (5 stars, paying member for 3 months): Julian is brilliant, and more prolific than I can keep up with (which is a great thing). His AgentOS is remarkable, and he is THE go-to guy for what you can really do (and not do) with the ever-increasing deluge of new AI upgrades and tools. HIGHLY recommend.Daniel Shulman, AI Profit Boardroom member review (5 stars, paying member for 4 months): Julian is very helpful. He doesn't try sell stuff you dont need and will give you a straight answer to your questions.Rj Herzog, AI Profit Boardroom member review (5 stars, paying member for 5 months): Top notch. If you are searching & searching thinking there is always something better out there.... You just found it. No need to look any further. Goldie covers it all & is super helpful. Can't beat the group either. Really can't recommend this group enough.Jermey Matthews, AI Profit Boardroom member review (5 stars, paying member for 6 months): While he has the capacity to do it, Julian is definitely doing the unscalable things to support his community.

Ready To Join The #1 AI Community?

Join 3,400+ entrepreneurs inside the AI Profit Boardroom. Get the Agent OS, 1,000+ plug-and-play AI agent workflows, daily Q&A with Julian and 4 live coaching calls every week.

Join The AI Profit Boardroom →

7-Day No-Questions Refund • 30-Day ROI Guarantee

← Back to all posts