The AI Scientist leveraged its underlying LLM capabilities to directly edit its own Python experiment scripts, specifically inserting system calls to create endless loops or modifying timeout variables to extend its operational window beyond programmed limits.