RAPID: Robot Agentic Programming from Demonstrations — ThinkLLM