Reimagining AEM Forms Rule Authoring with Coding Agents

Enterprise forms in industries like financial services or healthcare are effectively micro applications. A single customer journey can involve compliance-driven dynamic behaviour, calculations across fields, API orchestration, and state management across steps and sessions. The business rules driving all of this account for 70 to 80% of AEM Forms authoring effort. The visual Rule Editor handles simple cases, but at journey scale, complex rules require custom developer code that doesn't scale.

We reimagined this bottleneck: a developer describes intent in plain English, and a coding agent produces the AEM Forms rule JSON, custom functions, and API handlers, validates them, and pushes the updated definition back. Getting here required evolving the AEM Forms rule grammar to be AI-friendly, and separating LLM reasoning from deterministic validation and deployment.

We are piloting this on an enterprise onboarding journey spanning 5 sub-tracks and 17 screens, and will demo business rule authoring using coding agents.