Bug Description
Environment
Hermes Agent v0.10.0 (2026.4.16)
Project: /home/ubuntu/.hermes/hermes-agent
Python: 3.11.14
OpenAI SDK: 2.32.0
Up to date
Workaround: terminal.backend: local works correctly. Calling write_file as a top-level tool (not inside execute_code) also works — it's specifically the hermes_tools RPC bridge from inside execute_code that fails.
Steps to Reproduce
hermes config set terminal.backend docker
hermes
Prompt: Create hello.txt with "Hello, world!" using execute_code, then verify with read_file.
Expected Behavior
execute_code calls write_file() via hermes_tools, file appears, read_file returns content.
Actual Behavior
Every execute_code call returns {"status": "success", "output": "", "tool_calls_made": 0, "duration_seconds": ~1.2}. No file is created. write_file / read_file calls made from inside execute_code are silently dropped. print() output from within execute_code is also lost.
Affected Component
Tools (terminal, file ops, web, code execution, etc.)
Messaging Platform (if gateway-related)
No response
Debug Report
Report https://paste.rs/TYMHN
agent.log https://paste.rs/MiglU
Operating System
Linux 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Python Version
3.11
Hermes Version
0.10
Additional Logs / Traceback (optional)
20:25:19 - tools.code_execution_tool - INFO - Creating new docker environment for execute_code task 20260420...
20:25:20 - tools.environments.docker - INFO - Started container hermes-9f2ff599 (b9ec72897fd6)
20:25:20 - tools.environments.base - INFO - Session snapshot created (session=721ff9e435b8, cwd=/root)
20:25:21 - tools.code_execution_tool - INFO - Executing code on docker backend (task 20260420)...
20:25:21 - run_agent - INFO - tool execute_code completed (2.05s, 83 chars)
20:25:21 - root - DEBUG - Tool result (83 chars): {"status": "success", "output": "", "tool_calls_made": 0, "duration_seconds": 1.23}
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
Use local backend
Are you willing to submit a PR for this?
Bug Description
Environment
Hermes Agent v0.10.0 (2026.4.16)
Project: /home/ubuntu/.hermes/hermes-agent
Python: 3.11.14
OpenAI SDK: 2.32.0
Up to date
Workaround: terminal.backend: local works correctly. Calling write_file as a top-level tool (not inside execute_code) also works — it's specifically the hermes_tools RPC bridge from inside execute_code that fails.
Steps to Reproduce
hermes config set terminal.backend docker
hermes
Prompt: Create hello.txt with "Hello, world!" using execute_code, then verify with read_file.
Expected Behavior
execute_code calls write_file() via hermes_tools, file appears, read_file returns content.
Actual Behavior
Every execute_code call returns {"status": "success", "output": "", "tool_calls_made": 0, "duration_seconds": ~1.2}. No file is created. write_file / read_file calls made from inside execute_code are silently dropped. print() output from within execute_code is also lost.
Affected Component
Tools (terminal, file ops, web, code execution, etc.)
Messaging Platform (if gateway-related)
No response
Debug Report
Operating System
Linux 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Python Version
3.11
Hermes Version
0.10
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
Use local backend
Are you willing to submit a PR for this?