📋 Prerequisites
📝 Feature Summary
Agents on kagent can execute shell commands via the built-in bash tool command, the timeout is currently hardcoded
❓ Problem Statement / Motivation
Agents deployed on kagent can execute shell commands via the built-in bash skill tool, the timeout is currently hardcoded:
30 seconds for general commands
60 seconds for commands containing python
If an agent runs a longer task, the command is killed with a timeout error.
There is currently no way to configure this timeout without modifying the kagent source code.
💡 Proposed Solution
Support an environment variable:
KAGENT_COMMAND_TIMEOUT=<seconds>
When unset or invalid, keep existing defaults (30s / 60s for python)
🔄 Alternatives Considered
No response
🎯 Affected Service(s)
Not Sure
📚 Additional Context
No response
🙋 Are you willing to contribute?
📋 Prerequisites
📝 Feature Summary
Agents on kagent can execute shell commands via the built-in
bashtool command, the timeout is currently hardcoded❓ Problem Statement / Motivation
Agents deployed on kagent can execute shell commands via the built-in
bashskill tool, the timeout is currently hardcoded:30 seconds for general commands
60 seconds for commands containing
pythonIf an agent runs a longer task, the command is killed with a timeout error.
There is currently no way to configure this timeout without modifying the kagent source code.
💡 Proposed Solution
Support an environment variable:
When unset or invalid, keep existing defaults (30s / 60s for python)
🔄 Alternatives Considered
No response
🎯 Affected Service(s)
Not Sure
📚 Additional Context
No response
🙋 Are you willing to contribute?