GitHub Repo
Headlong Implements a Persistent Agent With an Infinite Bash Loop, Thinking and Acting Even When No One Is Asking
Laude Institute and MIT have open-sourced Headlong, a Bash-based system with fewer than 10,000 lines of code that treats messages as asynchronous observations within a continuous stream of thought rather than as new sessions. The design enables research into long-term memory and autonomous action, but it also turns token costs, permission isolation, and cross-user data boundaries into persistent risks.