Skip to content

[Bug]: Inconsistent MCP tool availability with Ollama custom provider (tools discovered but not consistently available during chat) #71736

Description

@toddwmurray

Bug Description

Bug Description
Environment
Hermes Agent: 0.19.0
OS: Ubuntu 24.04
Provider: custom
Endpoint: http://localhost:11434/v1
Model: qwen3:14b (Ollama)
Home Assistant MCP

Configuration is valid.

hermes mcp test homeassistant

passes successfully.

hermes tools list

shows:

Built-in toolsets:
...
homeassistant enabled

MCP servers:
homeassistant all tools enabled

The Hermes startup log reports:

MCP server 'homeassistant' (HTTP): registered 25 tool(s)

including tools such as

mcp__homeassistant__GetDateTime
mcp__homeassistant__GetLiveContext
HassTurnOn
...
Problem

The LLM never receives the MCP tools.

Example prompt:

Call the tool mcp__homeassistant__GetDateTime.
Do not use the terminal.

The model reasons:

Looking at the list of functions provided, I don't see a tool named mcp__homeassistant__GetDateTime.

It then replies:

The tool mcp__homeassistant__GetDateTime is not available in the provided list of functions.

Likewise, asking:

what time is it

causes the model to say:

Looking at the list of tools provided...

and it only sees:

terminal
browser
web search
weather

It never mentions any MCP functions and executes:

date

through the terminal instead.

Expected behavior

The registered MCP tools should be included in the tool/function list sent to the model so the model can invoke them.

Actual behavior

Hermes registers the MCP server successfully but the model reports that the MCP functions are not present in the available function list.

Image

Steps to Reproduce

  1. hermes
  2. Call the tool mcp__homeassistant__GetDateTime. Do not use the terminal.

Expected Behavior

local time on HA.

Actual Behavior

From hermes, I want to query Home Assistant, but it's not working.

Inconsistent MCP tool availability

With no configuration changes, the same installation produces different model behavior:

hermes mcp test homeassistant consistently discovers 21 tools, including GetDateTime and GetLiveContext.
During chat, the model alternately reports:
the tool does not exist,
the tool exists but has unexpected required parameters (entity_id, attribute),
or that no Home Assistant integration tools are available.

This suggests the runtime tool list presented to the model is inconsistent with the tools discovered by the MCP subsystem.

Affected Component

Other, CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Debug Report

murrayto@ubuntu-ai-server:~/.hermes/hermes-agent$ hermes debug share --local
Collecting debug report...
[hermes debug share: log content redacted at upload time. run with --no-redact to disable]
--- hermes dump ---
version:          0.19.0 [6c971815] (2026-07-26)
os:               Linux 7.0.0-28-generic x86_64
python:           3.11.15
openai_sdk:       2.24.0
profile:          default
hermes_home:      ~/.hermes
model:            qwen3:14b
provider:         custom
terminal:         local

api_keys:
  openrouter           not set
  openai               not set
  anthropic            not set
  anthropic_token      not set
  nous                 not set
  google/gemini        not set
  gemini               not set
  glm/zai              not set
  zai                  not set
  kimi                 not set
  minimax              not set
  deepseek             not set
  dashscope            not set
  huggingface          not set
  nvidia               not set
  opencode_zen         not set
  opencode_go          not set
  kilocode             not set
  firecrawl            not set
  tavily               not set
  browserbase          not set
  fal                  not set
  elevenlabs           not set
  github               not set

features:
  toolsets:           hermes-cli
  mcp_servers:        0
  memory_provider:    built-in
  gateway:            stopped (docker (foreground))
  platforms:          none
  cron_jobs:          0
  skills:             77

config_overrides:
  agent.max_turns: 150
  display.streaming: True
--- end dump ---


--- agent.log (last 200 lines) ---
2026-07-26 03:18:08,471 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-8 (_call):127315494295232 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:18:08,471 INFO [20260726_031740_57d938] agent.conversation_loop: API call #1: model=qwen3:14b provider=custom in=22233 out=336 total=22569 latency=17.0s
2026-07-26 03:18:08,489 INFO [20260726_031740_57d938] tools.terminal_tool: Creating new local environment for task default...
2026-07-26 03:18:08,516 INFO [20260726_031740_57d938] tools.environments.base: Session snapshot created (session=09a31bad746c, cwd=/home/murrayto/.hermes/hermes-agent)
2026-07-26 03:18:08,516 INFO [20260726_031740_57d938] tools.terminal_tool: local environment ready for task default
2026-07-26 03:18:08,574 INFO [20260726_031740_57d938] agent.tool_executor: tool terminal completed (0.09s, 76 chars)
2026-07-26 03:18:08,598 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-12 (_call):127315471218368 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:18:12,884 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-12 (_call):127315471218368 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:18:12,885 INFO [20260726_031740_57d938] agent.conversation_loop: API call #2: model=qwen3:14b provider=custom in=22310 out=231 total=22541 latency=4.3s
2026-07-26 03:18:12,893 INFO [20260726_031740_57d938] agent.conversation_loop: Turn ended: reason=text_response(finish_reason=stop) model=qwen3:14b api_calls=2/150 budget=2/150 tool_turns=1 last_msg_role=assistant response_len=65 session=20260726_031740_57d938
2026-07-26 03:18:13,092 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (qwen3:14b)
2026-07-26 03:18:13,093 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (qwen3:14b) at http://localhost:11434/v1/
2026-07-26 03:23:08,550 INFO tools.terminal_tool: Cleaned up inactive environment for task: default
2026-07-26 03:31:41,450 INFO cli: CLI cleanup calling memory shutdown for session 20260726_031740_57d938 with 4 message(s)
2026-07-26 03:32:06,948 INFO hermes_cli.plugins: Plugin 'browser-browser-use' registered browser provider: browser-use
2026-07-26 03:32:06,948 INFO hermes_cli.plugins: Plugin 'browser-browserbase' registered browser provider: browserbase
2026-07-26 03:32:06,949 INFO hermes_cli.plugins: Plugin 'browser-firecrawl' registered browser provider: firecrawl
2026-07-26 03:32:07,025 INFO hermes_cli.plugins: Plugin 'deepinfra' registered image_gen provider: deepinfra
2026-07-26 03:32:07,025 INFO hermes_cli.plugins: Plugin 'fal' registered image_gen provider: fal
2026-07-26 03:32:07,025 INFO hermes_cli.plugins: Plugin 'krea' registered image_gen provider: krea
2026-07-26 03:32:07,026 INFO hermes_cli.plugins: Plugin 'openai' registered image_gen provider: openai
2026-07-26 03:32:07,026 INFO hermes_cli.plugins: Plugin 'openai-codex' registered image_gen provider: openai-codex
2026-07-26 03:32:07,027 INFO hermes_cli.plugins: Plugin 'openrouter' registered image_gen provider: openrouter
2026-07-26 03:32:07,027 INFO hermes_cli.plugins: Plugin 'openrouter' registered image_gen provider: nous
2026-07-26 03:32:07,027 INFO hermes_cli.plugins: Plugin 'xai' registered image_gen provider: xai
2026-07-26 03:32:07,032 INFO hermes_cli.plugins: Plugin 'deepinfra' registered video_gen provider: deepinfra
2026-07-26 03:32:07,033 INFO hermes_cli.plugins: Plugin 'fal' registered video_gen provider: fal
2026-07-26 03:32:07,033 INFO hermes_cli.plugins: Plugin 'xai' registered video_gen provider: xai
2026-07-26 03:32:07,034 INFO hermes_cli.plugins: Plugin 'web-brave-free' registered web provider: brave-free
2026-07-26 03:32:07,035 INFO hermes_cli.plugins: Plugin 'web-ddgs' registered web provider: ddgs
2026-07-26 03:32:07,035 INFO hermes_cli.plugins: Plugin 'web-exa' registered web provider: exa
2026-07-26 03:32:07,037 INFO hermes_cli.plugins: Plugin 'web-firecrawl' registered web provider: firecrawl
2026-07-26 03:32:07,038 INFO hermes_cli.plugins: Plugin 'web-parallel' registered web provider: parallel
2026-07-26 03:32:07,038 INFO hermes_cli.plugins: Plugin 'web-searxng' registered web provider: searxng
2026-07-26 03:32:07,039 INFO hermes_cli.plugins: Plugin 'web-tavily' registered web provider: tavily
2026-07-26 03:32:07,039 INFO hermes_cli.plugins: Plugin 'web-xai' registered web provider: xai
2026-07-26 03:32:07,055 INFO hermes_cli.plugins: Plugin discovery complete: 53 found, 46 enabled
2026-07-26 03:32:07,191 INFO hermes_cli.auth: Nous inference auth: using NAS invoke JWT
2026-07-26 03:32:07,487 INFO mcp.client.streamable_http: Negotiated protocol version: 2025-11-25
2026-07-26 03:32:07,505 INFO tools.mcp_tool: MCP server 'homeassistant' (HTTP): registered 25 tool(s): mcp__homeassistant__HassTurnOn, mcp__homeassistant__HassTurnOff, mcp__homeassistant__HassCancelAllTimers, mcp__homeassistant__HassMediaUnpause, mcp__homeassistant__HassMediaPause, mcp__homeassistant__HassMediaNext, mcp__homeassistant__HassMediaPrevious, mcp__homeassistant__HassSetVolume, mcp__homeassistant__HassSetVolumeRelative, mcp__homeassistant__HassMediaPlayerMute, mcp__homeassistant__HassMediaPlayerUnmute, mcp__homeassistant__HassMediaSearchAndPlay, mcp__homeassistant__HassFanSetSpeed, mcp__homeassistant__HassBroadcast, mcp__homeassistant__HassLightSet, mcp__homeassistant__HassListAddItem, mcp__homeassistant__HassListCompleteItem, mcp__homeassistant__HassListRemoveItem, mcp__homeassistant__GetDateTime, mcp__homeassistant__todo_get_items, mcp__homeassistant__GetLiveContext, mcp__homeassistant__list_resources, mcp__homeassistant__read_resource, mcp__homeassistant__list_prompts, mcp__homeassistant__get_prompt
2026-07-26 03:32:07,506 INFO tools.mcp_tool: MCP: registered 25 tool(s) from 1 server(s)
2026-07-26 03:32:07,506 INFO tools.mcp_tool:   MCP: 25 tool(s) from 1 server(s)
2026-07-26 03:32:08,310 WARNING tools.registry: check_fn _browser_cdp_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:08,311 WARNING tools.registry: check_fn _browser_dialog_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:08,332 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:33:08.
2026-07-26 03:32:09,023 WARNING tools.registry: check_fn check_close_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,025 WARNING tools.registry: check_fn check_computer_use_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,025 WARNING tools.registry: check_fn check_focus_pane_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,025 WARNING tools.registry: check_fn _check_ha_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,042 WARNING tools.registry: check_fn _check_kanban_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,043 WARNING tools.registry: check_fn _check_kanban_orchestrator_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,043 WARNING tools.registry: check_fn check_open_preview_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,043 WARNING tools.registry: check_fn check_read_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,096 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:33:09.
2026-07-26 03:32:09,123 WARNING tools.registry: check_fn check_discord_tool_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,123 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,123 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,135 WARNING tools.registry: check_fn _check_yuanbao returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,136 WARNING tools.registry: check_fn _check_spotify_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,137 INFO agent.credential_pool: credential pool: no available entries (all exhausted or empty)
2026-07-26 03:32:09,137 WARNING tools.registry: check_fn check_x_search_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:32:09,412 INFO run_agent: Loaded environment variables from /home/murrayto/.hermes/.env
2026-07-26 03:32:09,456 INFO hermes_cli.auth: Nous inference auth: using NAS invoke JWT
2026-07-26 03:32:12,921 INFO run_agent: OpenAI client created (agent_init, shared=True) thread=Thread-5 (process_loop):133544672224960 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:32:12,938 INFO [20260726_033207_59e439] agent.turn_context: conversation turn: session=20260726_033207_59e439 model=qwen3:14b provider=custom platform=cli history=0 msg='Call the tool mcp__homeassistant__GetDateTime. Do not use the terminal.'
2026-07-26 03:32:13,003 WARNING [20260726_033207_59e439] agent.prompt_builder: ⚠️  Context file AGENTS.md TRUNCATED: 74568 chars exceeds limit of 20000 — trim the file, pin a larger context_file_max_chars, or use a larger-context model!
2026-07-26 03:32:13,041 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-8 (_call):133544840001216 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:32:31,050 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-8 (_call):133544840001216 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:32:31,050 INFO [20260726_033207_59e439] agent.conversation_loop: API call #1: model=qwen3:14b provider=custom in=22247 out=217 total=22464 latency=18.0s
2026-07-26 03:32:31,065 INFO [20260726_033207_59e439] agent.conversation_loop: Turn ended: reason=text_response(finish_reason=stop) model=qwen3:14b api_calls=1/150 budget=1/150 tool_turns=0 last_msg_role=assistant response_len=332 session=20260726_033207_59e439
2026-07-26 03:32:31,245 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (qwen3:14b)
2026-07-26 03:32:31,246 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (qwen3:14b) at http://localhost:11434/v1/
2026-07-26 03:36:59,439 INFO cli: CLI cleanup calling memory shutdown for session 20260726_033207_59e439 with 2 message(s)
2026-07-26 03:37:05,819 INFO hermes_cli.debug: hermes debug share: applied force-mode redaction to log snapshots before upload
2026-07-26 03:40:33,359 INFO hermes_cli.debug: hermes debug share: applied force-mode redaction to log snapshots before upload
2026-07-26 03:40:39,440 INFO hermes_cli.plugins: Plugin 'browser-browser-use' registered browser provider: browser-use
2026-07-26 03:40:39,441 INFO hermes_cli.plugins: Plugin 'browser-browserbase' registered browser provider: browserbase
2026-07-26 03:40:39,441 INFO hermes_cli.plugins: Plugin 'browser-firecrawl' registered browser provider: firecrawl
2026-07-26 03:40:39,516 INFO hermes_cli.plugins: Plugin 'deepinfra' registered image_gen provider: deepinfra
2026-07-26 03:40:39,516 INFO hermes_cli.plugins: Plugin 'fal' registered image_gen provider: fal
2026-07-26 03:40:39,517 INFO hermes_cli.plugins: Plugin 'krea' registered image_gen provider: krea
2026-07-26 03:40:39,517 INFO hermes_cli.plugins: Plugin 'openai' registered image_gen provider: openai
2026-07-26 03:40:39,517 INFO hermes_cli.plugins: Plugin 'openai-codex' registered image_gen provider: openai-codex
2026-07-26 03:40:39,518 INFO hermes_cli.plugins: Plugin 'openrouter' registered image_gen provider: openrouter
2026-07-26 03:40:39,518 INFO hermes_cli.plugins: Plugin 'openrouter' registered image_gen provider: nous
2026-07-26 03:40:39,518 INFO hermes_cli.plugins: Plugin 'xai' registered image_gen provider: xai
2026-07-26 03:40:39,523 INFO hermes_cli.plugins: Plugin 'deepinfra' registered video_gen provider: deepinfra
2026-07-26 03:40:39,524 INFO hermes_cli.plugins: Plugin 'fal' registered video_gen provider: fal
2026-07-26 03:40:39,524 INFO hermes_cli.plugins: Plugin 'xai' registered video_gen provider: xai
2026-07-26 03:40:39,525 INFO hermes_cli.plugins: Plugin 'web-brave-free' registered web provider: brave-free
2026-07-26 03:40:39,526 INFO hermes_cli.plugins: Plugin 'web-ddgs' registered web provider: ddgs
2026-07-26 03:40:39,526 INFO hermes_cli.plugins: Plugin 'web-exa' registered web provider: exa
2026-07-26 03:40:39,528 INFO hermes_cli.plugins: Plugin 'web-firecrawl' registered web provider: firecrawl
2026-07-26 03:40:39,529 INFO hermes_cli.plugins: Plugin 'web-parallel' registered web provider: parallel
2026-07-26 03:40:39,529 INFO hermes_cli.plugins: Plugin 'web-searxng' registered web provider: searxng
2026-07-26 03:40:39,530 INFO hermes_cli.plugins: Plugin 'web-tavily' registered web provider: tavily
2026-07-26 03:40:39,531 INFO hermes_cli.plugins: Plugin 'web-xai' registered web provider: xai
2026-07-26 03:40:39,546 INFO hermes_cli.plugins: Plugin discovery complete: 53 found, 46 enabled
2026-07-26 03:40:39,683 INFO hermes_cli.auth: Nous inference auth: using NAS invoke JWT
2026-07-26 03:40:39,976 INFO mcp.client.streamable_http: Negotiated protocol version: 2025-11-25
2026-07-26 03:40:39,993 INFO tools.mcp_tool: MCP server 'homeassistant' (HTTP): registered 25 tool(s): mcp__homeassistant__HassTurnOn, mcp__homeassistant__HassTurnOff, mcp__homeassistant__HassCancelAllTimers, mcp__homeassistant__HassMediaUnpause, mcp__homeassistant__HassMediaPause, mcp__homeassistant__HassMediaNext, mcp__homeassistant__HassMediaPrevious, mcp__homeassistant__HassSetVolume, mcp__homeassistant__HassSetVolumeRelative, mcp__homeassistant__HassMediaPlayerMute, mcp__homeassistant__HassMediaPlayerUnmute, mcp__homeassistant__HassMediaSearchAndPlay, mcp__homeassistant__HassFanSetSpeed, mcp__homeassistant__HassBroadcast, mcp__homeassistant__HassLightSet, mcp__homeassistant__HassListAddItem, mcp__homeassistant__HassListCompleteItem, mcp__homeassistant__HassListRemoveItem, mcp__homeassistant__GetDateTime, mcp__homeassistant__todo_get_items, mcp__homeassistant__GetLiveContext, mcp__homeassistant__list_resources, mcp__homeassistant__read_resource, mcp__homeassistant__list_prompts, mcp__homeassistant__get_prompt
2026-07-26 03:40:39,993 INFO tools.mcp_tool: MCP: registered 25 tool(s) from 1 server(s)
2026-07-26 03:40:39,993 INFO tools.mcp_tool:   MCP: 25 tool(s) from 1 server(s)
2026-07-26 03:40:40,797 WARNING tools.registry: check_fn _browser_cdp_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:40,798 WARNING tools.registry: check_fn _browser_dialog_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:40,819 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:41:40.
2026-07-26 03:40:41,530 WARNING tools.registry: check_fn check_close_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,532 WARNING tools.registry: check_fn check_computer_use_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,533 WARNING tools.registry: check_fn check_focus_pane_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,533 WARNING tools.registry: check_fn _check_ha_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,551 WARNING tools.registry: check_fn _check_kanban_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,551 WARNING tools.registry: check_fn _check_kanban_orchestrator_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,551 WARNING tools.registry: check_fn check_open_preview_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,552 WARNING tools.registry: check_fn check_read_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,607 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:41:41.
2026-07-26 03:40:41,633 WARNING tools.registry: check_fn check_discord_tool_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,634 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,634 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,647 WARNING tools.registry: check_fn _check_yuanbao returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,648 WARNING tools.registry: check_fn _check_spotify_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,649 INFO agent.credential_pool: credential pool: no available entries (all exhausted or empty)
2026-07-26 03:40:41,650 WARNING tools.registry: check_fn check_x_search_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:40:41,808 INFO run_agent: Loaded environment variables from /home/murrayto/.hermes/.env
2026-07-26 03:40:42,479 INFO hermes_cli.auth: Nous inference auth: using NAS invoke JWT
2026-07-26 03:41:10,536 INFO run_agent: OpenAI client created (agent_init, shared=True) thread=Thread-5 (process_loop):135877732857536 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:41:10,552 INFO [20260726_034040_18c55a] agent.turn_context: conversation turn: session=20260726_034040_18c55a model=qwen3:14b provider=custom platform=cli history=0 msg='Call the tool mcp__homeassistant__GetDateTime. Do not use the terminal.'
2026-07-26 03:41:10,617 WARNING [20260726_034040_18c55a] agent.prompt_builder: ⚠️  Context file AGENTS.md TRUNCATED: 74568 chars exceeds limit of 20000 — trim the file, pin a larger context_file_max_chars, or use a larger-context model!
2026-07-26 03:41:10,654 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-8 (_call):135877697197760 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:41:28,778 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-8 (_call):135877697197760 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:41:28,778 INFO [20260726_034040_18c55a] agent.conversation_loop: API call #1: model=qwen3:14b provider=custom in=22247 out=221 total=22468 latency=18.1s
2026-07-26 03:42:50,408 INFO [20260726_034040_18c55a] agent.tool_executor: tool clarify completed (81.61s, 171 chars)
2026-07-26 03:42:50,457 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-9 (_call):135877464422080 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:42:54,866 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-9 (_call):135877464422080 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:42:54,867 INFO [20260726_034040_18c55a] agent.conversation_loop: API call #2: model=qwen3:14b provider=custom in=22341 out=234 total=22575 latency=4.4s
2026-07-26 03:42:54,879 INFO [20260726_034040_18c55a] agent.conversation_loop: Turn ended: reason=text_response(finish_reason=stop) model=qwen3:14b api_calls=2/150 budget=2/150 tool_turns=1 last_msg_role=assistant response_len=108 session=20260726_034040_18c55a
2026-07-26 03:42:55,086 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (qwen3:14b)
2026-07-26 03:42:55,087 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (qwen3:14b) at http://localhost:11434/v1/
2026-07-26 03:42:56,496 INFO cli: CLI cleanup calling memory shutdown for session 20260726_034040_18c55a with 4 message(s)
2026-07-26 03:44:04,300 INFO mcp.client.streamable_http: Negotiated protocol version: 2025-11-25
2026-07-26 03:44:43,265 INFO hermes_cli.plugins: Plugin 'browser-browser-use' registered browser provider: browser-use
2026-07-26 03:44:43,266 INFO hermes_cli.plugins: Plugin 'browser-browserbase' registered browser provider: browserbase
2026-07-26 03:44:43,267 INFO hermes_cli.plugins: Plugin 'browser-firecrawl' registered browser provider: firecrawl
2026-07-26 03:44:43,343 INFO hermes_cli.plugins: Plugin 'deepinfra' registered image_gen provider: deepinfra
2026-07-26 03:44:43,344 INFO hermes_cli.plugins: Plugin 'fal' registered image_gen provider: fal
2026-07-26 03:44:43,344 INFO hermes_cli.plugins: Plugin 'krea' registered image_gen provider: krea
2026-07-26 03:44:43,345 INFO hermes_cli.plugins: Plugin 'openai' registered image_gen provider: openai
2026-07-26 03:44:43,345 INFO hermes_cli.plugins: Plugin 'openai-codex' registered image_gen provider: openai-codex
2026-07-26 03:44:43,346 INFO hermes_cli.plugins: Plugin 'openrouter' registered image_gen provider: openrouter
2026-07-26 03:44:43,346 INFO hermes_cli.plugins: Plugin 'openrouter' registered image_gen provider: nous
2026-07-26 03:44:43,346 INFO hermes_cli.plugins: Plugin 'xai' registered image_gen provider: xai
2026-07-26 03:44:43,351 INFO hermes_cli.plugins: Plugin 'deepinfra' registered video_gen provider: deepinfra
2026-07-26 03:44:43,352 INFO hermes_cli.plugins: Plugin 'fal' registered video_gen provider: fal
2026-07-26 03:44:43,352 INFO hermes_cli.plugins: Plugin 'xai' registered video_gen provider: xai
2026-07-26 03:44:43,353 INFO hermes_cli.plugins: Plugin 'web-brave-free' registered web provider: brave-free
2026-07-26 03:44:43,354 INFO hermes_cli.plugins: Plugin 'web-ddgs' registered web provider: ddgs
2026-07-26 03:44:43,355 INFO hermes_cli.plugins: Plugin 'web-exa' registered web provider: exa
2026-07-26 03:44:43,357 INFO hermes_cli.plugins: Plugin 'web-firecrawl' registered web provider: firecrawl
2026-07-26 03:44:43,357 INFO hermes_cli.plugins: Plugin 'web-parallel' registered web provider: parallel
2026-07-26 03:44:43,358 INFO hermes_cli.plugins: Plugin 'web-searxng' registered web provider: searxng
2026-07-26 03:44:43,358 INFO hermes_cli.plugins: Plugin 'web-tavily' registered web provider: tavily
2026-07-26 03:44:43,359 INFO hermes_cli.plugins: Plugin 'web-xai' registered web provider: xai
2026-07-26 03:44:43,375 INFO hermes_cli.plugins: Plugin discovery complete: 53 found, 46 enabled
2026-07-26 03:44:43,512 INFO hermes_cli.auth: Nous inference auth: using NAS invoke JWT
2026-07-26 03:44:43,795 INFO mcp.client.streamable_http: Negotiated protocol version: 2025-11-25
2026-07-26 03:44:43,813 INFO tools.mcp_tool: MCP server 'homeassistant' (HTTP): registered 25 tool(s): mcp__homeassistant__HassTurnOn, mcp__homeassistant__HassTurnOff, mcp__homeassistant__HassCancelAllTimers, mcp__homeassistant__HassMediaUnpause, mcp__homeassistant__HassMediaPause, mcp__homeassistant__HassMediaNext, mcp__homeassistant__HassMediaPrevious, mcp__homeassistant__HassSetVolume, mcp__homeassistant__HassSetVolumeRelative, mcp__homeassistant__HassMediaPlayerMute, mcp__homeassistant__HassMediaPlayerUnmute, mcp__homeassistant__HassMediaSearchAndPlay, mcp__homeassistant__HassFanSetSpeed, mcp__homeassistant__HassBroadcast, mcp__homeassistant__HassLightSet, mcp__homeassistant__HassListAddItem, mcp__homeassistant__HassListCompleteItem, mcp__homeassistant__HassListRemoveItem, mcp__homeassistant__GetDateTime, mcp__homeassistant__todo_get_items, mcp__homeassistant__GetLiveContext, mcp__homeassistant__list_resources, mcp__homeassistant__read_resource, mcp__homeassistant__list_prompts, mcp__homeassistant__get_prompt
2026-07-26 03:44:43,814 INFO tools.mcp_tool: MCP: registered 25 tool(s) from 1 server(s)
2026-07-26 03:44:43,814 INFO tools.mcp_tool:   MCP: 25 tool(s) from 1 server(s)
2026-07-26 03:44:44,610 WARNING tools.registry: check_fn _browser_cdp_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:44,611 WARNING tools.registry: check_fn _browser_dialog_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:44,632 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:45:44.
2026-07-26 03:44:45,142 INFO hermes_cli.auth: Nous inference auth: using NAS invoke JWT
2026-07-26 03:44:45,798 WARNING tools.registry: check_fn check_close_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,799 WARNING tools.registry: check_fn check_computer_use_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,800 WARNING tools.registry: check_fn check_focus_pane_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,800 WARNING tools.registry: check_fn _check_ha_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,817 WARNING tools.registry: check_fn _check_kanban_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,817 WARNING tools.registry: check_fn _check_kanban_orchestrator_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,817 WARNING tools.registry: check_fn check_open_preview_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,817 WARNING tools.registry: check_fn check_read_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,870 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:45:45.
2026-07-26 03:44:45,896 WARNING tools.registry: check_fn check_discord_tool_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,897 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,897 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,909 WARNING tools.registry: check_fn _check_yuanbao returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,909 WARNING tools.registry: check_fn _check_spotify_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:45,911 INFO agent.credential_pool: credential pool: no available entries (all exhausted or empty)
2026-07-26 03:44:45,911 WARNING tools.registry: check_fn check_x_search_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:44:46,195 INFO run_agent: Loaded environment variables from /home/murrayto/.hermes/.env
2026-07-26 03:44:46,241 INFO hermes_cli.auth: Nous inference auth: using NAS invoke JWT
2026-07-26 03:44:50,140 INFO run_agent: OpenAI client created (agent_init, shared=True) thread=Thread-5 (process_loop):131778366924480 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:44:50,160 INFO [20260726_034444_5d34cf] agent.turn_context: conversation turn: session=20260726_034444_5d34cf model=qwen3:14b provider=custom platform=cli history=0 msg='What is the current date and time? Use Home Assistant instead of the terminal.'
2026-07-26 03:44:50,225 WARNING [20260726_034444_5d34cf] agent.prompt_builder: ⚠️  Context file AGENTS.md TRUNCATED: 74568 chars exceeds limit of 20000 — trim the file, pin a larger context_file_max_chars, or use a larger-context model!
2026-07-26 03:44:50,264 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-8 (_call):131778345944768 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:45:00,858 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-8 (_call):131778345944768 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:45:00,859 INFO [20260726_034444_5d34cf] agent.conversation_loop: API call #1: model=qwen3:14b provider=custom in=22245 out=565 total=22810 latency=10.6s
2026-07-26 03:45:00,874 INFO [20260726_034444_5d34cf] agent.conversation_loop: Turn ended: reason=text_response(finish_reason=stop) model=qwen3:14b api_calls=1/150 budget=1/150 tool_turns=0 last_msg_role=assistant response_len=169 session=20260726_034444_5d34cf
2026-07-26 03:45:01,145 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (qwen3:14b)
2026-07-26 03:45:01,146 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (qwen3:14b) at http://localhost:11434/v1/
2026-07-26 03:46:56,930 INFO cli: CLI cleanup calling memory shutdown for session 20260726_034444_5d34cf with 2 message(s)
2026-07-26 03:49:18,810 INFO hermes_cli.debug: hermes debug share: applied force-mode redaction to log snapshots before upload

--- errors.log (last 100 lines) ---
2026-07-26 03:10:43,356 WARNING tools.registry: check_fn check_discord_tool_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:10:43,356 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:10:43,357 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:10:43,369 WARNING tools.registry: check_fn _check_yuanbao returned False; dependent tools will be unavailable this turn
2026-07-26 03:10:43,369 WARNING tools.registry: check_fn _check_spotify_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:10:43,371 WARNING tools.registry: check_fn check_x_search_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,262 WARNING tools.registry: check_fn _browser_cdp_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,263 WARNING tools.registry: check_fn _browser_dialog_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,285 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:14:37.
2026-07-26 03:13:37,969 WARNING tools.registry: check_fn check_close_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,971 WARNING tools.registry: check_fn check_computer_use_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,972 WARNING tools.registry: check_fn check_focus_pane_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,972 WARNING tools.registry: check_fn _check_ha_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,989 WARNING tools.registry: check_fn _check_kanban_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,990 WARNING tools.registry: check_fn _check_kanban_orchestrator_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,990 WARNING tools.registry: check_fn check_open_preview_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:37,990 WARNING tools.registry: check_fn check_read_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:38,043 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:14:38.
2026-07-26 03:13:38,069 WARNING tools.registry: check_fn check_discord_tool_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:38,070 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:38,070 WARNING tools.registry: check_fn _check_feishu returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:38,082 WARNING tools.registry: check_fn _check_yuanbao returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:38,083 WARNING tools.registry: check_fn _check_spotify_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:13:38,084 WARNING tools.registry: check_fn check_x_search_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,044 WARNING tools.registry: check_fn _browser_cdp_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,045 WARNING tools.registry: check_fn _browser_dialog_check returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,065 WARNING agent.auxiliary_client: Auxiliary: marking openrouter unhealthy for 60s (payment / credit error). Subsequent auxiliary calls will skip it until 03:18:41.
2026-07-26 03:17:41,726 WARNING tools.registry: check_fn check_close_terminal_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,728 WARNING tools.registry: check_fn check_computer_use_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,729 WARNING tools.registry: check_fn check_focus_pane_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,729 WARNING tools.registry: check_fn _check_ha_available returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,746 WARNING tools.registry: check_fn _check_kanban_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,746 WARNING tools.registry: check_fn _check_kanban_orchestrator_mode returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,746 WARNING tools.registry: check_fn check_open_preview_requirements returned False; dependent tools will be unavailable this turn
2026-07-26 03:17:41,746 WARNING tools.registry: check_fn check_read_terminal_requirements returned False; dependent tools will be unavailable this turn

Operating System

Ubuntu 24.04

Python Version

3.11.9

Hermes Version

Hermes Agent v0.19.0 (2026.7.20) · upstream 6c97181 Install directory: /home/murrayto/.hermes/hermes-agent Install method: git Python: 3.11.15 OpenAI SDK: 2.24.0 Up to date

Additional Logs / Traceback (optional)

murrayto@ubuntu-ai-server:~/.hermes/hermes-agent$ hermes debug share --local
Collecting debug report...
[hermes debug share: log content redacted at upload time. run with --no-redact to disable]
--- hermes dump ---
version:          0.19.0 [6c971815] (2026-07-26)
os:               Linux 7.0.0-28-generic x86_64
python:           3.11.15
openai_sdk:       2.24.0
profile:          default
hermes_home:      ~/.hermes
model:            qwen3:14b
provider:         custom
terminal:         local

api_keys:
  openrouter           not set
  openai               not set
  anthropic            not set
  anthropic_token      not set
  nous                 not set
  google/gemini        not set
  gemini               not set
  glm/zai              not set
  zai                  not set
  kimi                 not set
  minimax              not set
  deepseek             not set
  dashscope            not set
  huggingface          not set
  nvidia               not set
  opencode_zen         not set
  opencode_go          not set
  kilocode             not set
  firecrawl            not set
  tavily               not set
  browserbase          not set
  fal                  not set
  elevenlabs           not set
  github               not set

features:
  toolsets:           hermes-cli
  mcp_servers:        0
  memory_provider:    built-in
  gateway:            stopped (docker (foreground))
  platforms:          none
  cron_jobs:          0
  skills:             77

config_overrides:
  agent.max_turns: 150
  display.streaming: True
--- end dump ---


--- agent.log (last 200 lines) ---
2026-07-26 03:18:08,471 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-8 (_call):127315494295232 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:18:08,471 INFO [20260726_031740_57d938] agent.conversation_loop: API call #1: model=qwen3:14b provider=custom in=22233 out=336 total=22569 latency=17.0s
2026-07-26 03:18:08,489 INFO [20260726_031740_57d938] tools.terminal_tool: Creating new local environment for task default...
2026-07-26 03:18:08,516 INFO [20260726_031740_57d938] tools.environments.base: Session snapshot created (session=09a31bad746c, cwd=/home/murrayto/.hermes/hermes-agent)
2026-07-26 03:18:08,516 INFO [20260726_031740_57d938] tools.terminal_tool: local environment ready for task default
2026-07-26 03:18:08,574 INFO [20260726_031740_57d938] agent.tool_executor: tool terminal completed (0.09s, 76 chars)
2026-07-26 03:18:08,598 INFO run_agent: OpenAI client created (chat_completion_stream_request, shared=False) thread=Thread-12 (_call):127315471218368 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:18:12,884 INFO run_agent: OpenAI client closed (stream_request_complete, shared=False, tcp_force_closed=0) thread=Thread-12 (_call):127315471218368 provider=custom base_url=http://localhost:11434/v1 model=qwen3:14b
2026-07-26 03:18:12,885 INFO [20260726_031740_57d938] agent.conversation_loop: API call #2: model=qwen3:14b provider=custom in=22310 out=231 total=22541 latency=4.3s
2026-07-26 03:18:12,893 INFO [20260726_031740_57d938] agent.conversation_loop: Turn ended: reason=text_response(finish_reason=stop) model=qwen3:14b api_calls=2/150 budget=2/150 tool_turns=1 last_msg_role=assistant response_len=65 session=20260726_031740_57d938
2026-07-26 03:18:13,092 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (qwen3:14b)
2026-07-26 03:18:13,093 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (qwen3:14b) at http://localhost:11434/v1/

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsbugcomp/agentCore agent runtime: loop, agent_init, prompt builder, context-compression, responses endpointneeds-reproBug needs reproduction stepsprovider/ollamaOllama / local modelstool/mcpMCP client and OAuthtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions