Model-based Agentic Systems