Goose replaces agent loop with state machine

douwe.com4 min read

The author explains how the goose coding agent project replaced its classic agent loop with a re-entrant state machine. By encoding each piece of behavior as a distinct operation checked in order, the architecture separates conversation state from execution logic, improving testability, maintainability, and restartability. Open article →