Start smaller than an ERP
Choose one expensive loop such as quote-to-delivery, custom purchasing, field-service approval, production exception handling, or client onboarding. Write its trigger, actors, records, states, exceptions, approvals, outputs, and metric.
Keep statutory and transactional authorities explicit. Your accounting, payroll, tax, payment, or inventory system can remain the source of truth while the custom layer coordinates the unusual work around it.
Give the coding Agent a repository, typed contracts, examples, security rules, acceptance tests, and commands. A vague prompt produces a plausible demo; a bounded specification can produce a reviewable change.