An End-to-end Planning Framework with Agentic LLMs and PDDL