Agentic Modelling: Simulate API Interactions