Problem
When running long-running tools like Nikto, the terminal tool times out with:
terminal tool failed: timeout value is too low, use greater value if you need so: context deadline exceeded
Environment
-
PentAGI version: latest (image created 2026-03-23, revision 3ce09b9)
-
Deployment: Docker Compose
-
Deployment: Docker Compose
Expected behavior
A configurable environment variable (e.g. TERMINAL_TOOL_TIMEOUT) in the .env file
to control the terminal tool execution timeout, similar to HTTP_CLIENT_TIMEOUT.
Suggested variable
TERMINAL_TOOL_TIMEOUT=600 # timeout in seconds, 0 = no timeout
Workaround
Currently there is no workaround via configuration — the timeout appears to be hardcoded.
Problem
When running long-running tools like Nikto, the terminal tool times out with:
terminal tool failed: timeout value is too low, use greater value if you need so: context deadline exceeded
Environment
PentAGI version: latest (image created 2026-03-23, revision 3ce09b9)
Deployment: Docker Compose
Deployment: Docker Compose
Expected behavior
A configurable environment variable (e.g. TERMINAL_TOOL_TIMEOUT) in the .env file
to control the terminal tool execution timeout, similar to HTTP_CLIENT_TIMEOUT.
Suggested variable
TERMINAL_TOOL_TIMEOUT=600 # timeout in seconds, 0 = no timeout
Workaround
Currently there is no workaround via configuration — the timeout appears to be hardcoded.