updated the AgentState protocol to support status 404.