How a weekend experiment with the OpenAI API turned into a multi-agent desktop assistant with four-layer memory, browser automation, and an iOS companion app.