The region of the brain that includes the thalamus, metathalamus, hypothalamus, epithalamus, prethalamus or subthalamus and pretectum. The secondary brain vesicles diencephalon and the telencephalon are both derived from the primary brain vesicle prosencephalon (forebrain).