GenPark Watchdog Timer
Enforces hard millisecond deadlines on agent code execution using a cooperative thread watchdog timer to prevent infinite loops and ensure stability.
This critical skill acts as a safeguard for AI agents, implementing a cooperative thread execution watchdog timer. It enforces strict millisecond deadlines on agent code, effectively preventing common issues such as infinite loops and hanging I/O operations. By integrating seamlessly, it ensures the reliability and stability of agent performance without introducing external dependencies, relying purely on Python's standard library for its robust timeout mechanisms.
主な機能
01Deterministic Hard Timeout: Protects against runaway while-loops and hanging I/O operations.
02Zero External Dependencies: Pure Python standard library `threading` and `time`.
038 GitHub stars
ユースケース
01Ensuring reliable and stable execution of GenPark AI agent skills.
02Preventing infinite loops in AI agent code execution.
03Safeguarding against hanging I/O operations in agent tasks.