Self-Taught Agentic Long Context Understanding