Building an AI Agent from ScratchJanuary 23, 2026What I learned building a daily planning agent with Python, the OpenAI API, and a state machine—no frameworks6 min read•aiagentspythonbuilding