Work State-Centric AI Agents: Design, Implementation, and Management of Cognitive Work Threads