Yes, you can definitely avoid this restriction! The “Maximum number of model calls reached” error occurs because the AI Agent connector has a default limit of 10 model calls, but this is configurable.
How to Increase the Limit
The Maximum model calls setting can be adjusted in the connector configuration:
Open your BPMN in Web Modeler or Camunda Modeler
Select your AI Agent element (either the AI Agent Sub-process or AI Agent service task)
Go to the Properties panel and find the Limits section
Set “Maximum model calls” to your desired number (e.g., 20, 50, 100, etc.)
Save and redeploy your process
After redeployment, the agent will use your configured value instead of the default 10.
Why This Limit Exists
This limit is a safety mechanism to prevent runaway AI agents from making excessive API calls, which could: