The agent needs swap files for memory mangement

our computers use swap files to manage memory, they don’t try to keep everything in RAM. we humans do NOT keep everything we are doing at all times in active memory, we are constantly swapping details to storage. our antigravity agent needs this as well. right now, the agent tries to keep every single thing in active memory and that builds up, and it throws the agent (all AIs really) into panic. as the noise builds it starts rushing to get things done before it forgets things. i’ve started having mine dump the noise to a temporary file that it can go back and read later - which has reduced the panic, confusion, hallucinations, and other issues IMMENSELY. but it’s having to do that when i tell it to as there’s nothing built into the IDE to signal it to do that automatically - and while it knows it’s starting to rush and make errors, that never tells it that it’s time to stop and dump the noise out.