Building a Lightweight Debugging Agent: Python, Perl, and Awk