give it a filesystem, like you can with Claude computer use, and you can have it make and forget memories to adapt for a limited context window size